/ Модель

Характеристики

Контекст
4 096 токенов
Параметры
287 млн
Лицензия
Apache 2.0
Архитектура
hobbylm · MoE
Базовая модель
hobbylm-1B
Библиотека
transformers
Опубликована
8 окт 2026

hobbylm-1B-instruct

Генерация текстаТекст → текст3 профессии

Англоязычная модель MoE с настройкой на инструкции для коротких ответов, преобразования текста и одиночных вызовов функций.

189скачиваний за 30 дней4лайкавеса обновлены13 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

HobbyLM-1B Instruct — англоязычная instruction-tuned модель Fuel Labs на архитектуре разреженного MoE. Её разработали Hariharan и Prabhurajhan на основе базовой HobbyLM-1B; карточка указывает 1,037 млрд параметров и около 305 млн активных параметров на токен, тогда как метаданные каталога сообщают 287,4 млн параметров. Модель принимает текст и генерирует текст; контекст настроен и обучен на 4096 токенов. Доступны веса в формате safetensors, лицензия Apache-2.0.

Модель предназначена для простого следования инструкциям, коротких ответов на вопросы, переформулирования и извлечения текста, а также одиночных вызовов функций в формате Python-списка. Она компактна и рассчитана на английский язык, но качество ответов ограничено: результаты часто бывают неверными или повторяющимися, а многоходовой диалог работает слабо. Модель не проходила настройку безопасности или предпочтений, надёжное извлечение информации на всём контекстном окне не подтверждено; вызов функций поддерживается только в обученном формате и слабо отказывает, когда инструмент не подходит.

Сценарии применения

  • получение коротких ответов на простые вопросы на английском языке
  • переформулирование английского текста по инструкции
  • извлечение сведений из короткого текста
  • одиночный вызов функции в обученном формате Python-списка

Ограничения

Ответы часто бывают неверными или повторяющимися, а многоходовой диалог и надёжное извлечение информации на всём контекстном окне не продемонстрированы. Нет настройки безопасности и предпочтений; вызов функций ограничен одиночными вызовами в обученном формате.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Overview

This repository holds the released instruction-tuned HobbyLM-1B at its root, so it loads directly without a subfolder. It is the model behind the online demo.

  • What it does: follows simple instructions, answers short questions, rewrites and extracts text, and makes single function calls in a Python-list format.
  • Lineage: final annealed base (hobbylm-1B) → 2K and 4K context extension → short function-calling stage → instruction tuning (3,450 steps).
  • Context: configured and trained at 4,096 tokens. Reliable retrieval across that window is not demonstrated (see Limitations).
  • Precision: float32 only. Converting the router to bf16 changes which experts are selected.

Quickstart

trust_remote_code=True is required. Tested with transformers 4.46.3 and torch 2.4.1 (CPU); the model code requires 4.44.0 <= transformers < 4.47.0.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "harims95/hobbylm-1B-instruct"
rev = "0506eed260c353a259712705fa2eb11662f1f0ac"   # verified revision
tok = AutoTokenizer.from_pretrained(repo, revision=rev)
model = AutoModelForCausalLM.from_pretrained(repo, revision=rev, trust_remote_code=True, torch_dtype=torch.float32).eval()

messages = [{"role": "user", "content": "What is the capital of France?"}]
text = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
ids = tok(text, return_tensors="pt")
out = model.generate(**ids, max_new_tokens=64, do_sample=False, pad_token_id=50256)
print(tok.decode(out[0][ids["input_ids"].shape[1]:], skip_special_tokens=True))
# The capital of France is Paris.

The output shown is the recorded greedy output at this revision.

Prompt format

The chat template in tokenizer_config.json is plain text. Roles are system, user, assistant and tool. Each message starts with <|role|> on its own line; messages are separated by a newline; the generation prompt is <|assistant|>. Generation ends at <|endoftext|> (50256).

<|user|>
What is the capital of France?
<|assistant|>

Generation defaults (generation_config.json): greedy decoding (do_sample=false), up to 256 new tokens.

More recorded examples (greedy)

User: Extract the name, department, and years of experience from this sentence as JSON:
      "Priya Nair, a senior engineer in the Infrastructure department, has 8 years of experience."
HobbyLM: {"name": "Priya Nair", "department": "Infrastructure", "years": 8}
User: Rewrite this sentence to remove the redundancy: "At this point in time, we are currently
      reviewing the proposal document that was submitted to us."
HobbyLM: We are currently reviewing the proposal document that was submitted to us.

These are single recorded outputs, not averages; overall results are below.

Evaluation (this instruction-tuned model)

All scores are for this instruction-tuned model (HobbyLM-1B Instruct), in percent. The base model's scores are on the base model card, which also shows both models side by side with standard errors and the full evaluation setup.

BenchmarkMetric · shotsInstruct
HellaSwagacc_norm · 0-shot46.64
ARC-Easyacc_norm · 0-shot54.12
ARC-Challengeacc_norm · 0-shot28.41
PIQAacc_norm · 0-shot68.88
WinoGrandeacc · 0-shot50.75
OpenBookQAacc_norm · 0-shot36.20
BoolQacc · 0-shot53.36
SIQAacc · 0-shot40.33
CommonsenseQAacc · 0-shot18.18
SciQacc / acc_norm · 0-shot82.70 / 77.10
MMLUacc · 0-shot24.78
BFCL simple (simple_python)AST accuracy · 0-shot59.00
BFCL multipleAST accuracy · 0-shot56.00
BFCL irrelevanceirrelevance (official rule) · 0-shot2.50
IFEval, prompt-level strict / looseaccuracy · 0-shot22.92 / 24.95
IFEval, instruction-level strict / looseaccuracy · 0-shot37.77 / 40.53
  • Setup: lm-evaluation-harness 0.4.13, float32, all examples of each split. BFCL v4 single-turn with the model's trained tool-calling prompt layout. IFEval: all 541 prompts, official scoring, this chat template, greedy, 2,048-token response budget.
  • Weights evaluated: the same weights as this repository (published at the time as harims95/hobbylm-1b-broad-sft-3450-hf @ ddf46d8f).
  • Near chance: CommonsenseQA (20% baseline) and MMLU (25% baseline).
  • BFCL irrelevance 2.50%: in BFCL's prompt layout, the model almost always calls a tool, even when none fits the request.
  • IFEval: 135 of 541 responses reached the 2,048-token cap, mostly through repetition; 2 prompts overlap the final instruction-tuning mix and are included.

Limitations

  • Small model: answers are often wrong or repetitive, and multi-turn chat is weak. Not a factual reference.
  • No safety tuning and no preference tuning. Outputs can be wrong, biased or harmful.
  • Function calling: single calls in the trained format only; weak at declining when no tool fits.
  • Context: 4,096 tokens is the configured and trained length. Its 4K parent failed a 4K retrieval certification, so long-context recall is not demonstrated.
  • Precision: float32 only. bf16 lowers router top-1 agreement to 62% and full-model output agreement from 97.6% to 61%.
  • Tokenizer: GPT-2 BPE, English-centric.
  • Runtimes: Hugging Face's automatic "Use this model" snippets, vLLM and SGLang are not validated. For CPU use, see the GGUF files, which need the patched runtimes from the v1.0.0 release.

Files

model.safetensors (float32), config.json, generation_config.json, configuration_hobbylm.py, modeling_hobbylm.py, tokenizer.json, vocab.json, merges.txt, special_tokens_map.json, tokenizer_config.json (with the chat template), LICENSE, NOTICE. SHA-256 of every file: SHA256SUMS.txt.

License

Apache License 2.0 (LICENSE) for the weights and the model code, a Hugging Face port of the HobbyLM architecture and original model code by Harish (github.com/harishsg993010/HobbyLM), released with its author's permission. The GPT-2 tokenizer files are MIT (OpenAI). Training data keeps its own terms; attributions and the open training-data licence question are in NOTICE and the base model card.

Credits

Built by Hariharan and Prabhurajhan at Fuel Labs. Architecture based on HobbyLM by Harish.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
HobbyLMForCausalLM
Ревизия весов
8a90f6e

0 моделей