/ Модель

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

Контекст
2 048 токенов
Параметры
124 млн
Лицензия
Apache 2.0
Архитектура
nanoi1 · dense
Базовая модель
NanoI1-155M
Библиотека
pytorch
Опубликована
21 окт 2026

NanoI1-155M-Instruct

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

Компактная инструктивная языковая модель KiteFish AI для извлечения данных, классификации и коротких ответов по документам при локальном развертывании.

2 864скачиваний за 30 дней4лайкавеса обновлены15 ноя 2026

Бенчмарки

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

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

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

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

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

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

NanoI1-155M-Instruct — небольшая инструктивная языковая модель компании KiteFish AI, дообученная на базе NanoI1-155M. Это плотный декодерный Transformer с архитектурой Multi-Head Latent Attention, SwiGLU, RMSNorm и RoPE; в README указано 155,3 млн параметров, а в метаданных — 123,6 млн. Модель принимает текст и предназначена для недорогого локального развертывания, особенно в регулируемых отраслях Индии, где важны контроль над данными и стоимость инференса.

Основные сценарии — извлечение структурированных данных, классификация, маршрутизация запросов и короткие ответы по предоставленным документам. Модель также может служить черновым ассистентом на устройстве или исследовательской базой. Контекст обучения составляет 2048 токенов. README описывает обучение с нуля базовой модели примерно на 998 млрд токенов с последующей инструктивной настройкой; заявлена поддержка английского и индийских языков, хотя качество на индийских языках существенно ниже английского. Лицензия — Apache-2.0.

Модель склонна выдумывать факты и добавлять сведения при извлечении JSON, поэтому результаты следует проверять, а для структурированного вывода применять ограничение схемой. Не рекомендуется полагаться на неё в открытых фактических вопросах без контекста, сложных рассуждениях и высокорисковых решениях. Безопасностная настройка не проводилась; качество за пределами контекста 2048 токенов не проверено.

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

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

Ограничения

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

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

NanoI1-155M-Instruct

NanoI1 is a 155M-parameter decoder-only language model trained from scratch by KiteFish AI on ~1.0T tokens. It is built for low-cost, on-premise deployment in Indian regulated industries (banking, insurance, financial services). Its main uses are structured extraction, classification and grounded Q&A, where data residency and inference cost matter more than open-ended general knowledge.

This repository holds the instruction-tuned model. The base model is KiteFishAI/NanoI1-155M.

Parameters155.3M total: 78.0M transformer layers, 38.6M input embedding, 38.7M output projection
ArchitectureDecoder-only Transformer, Multi-Head Latent Attention (MLA), SwiGLU, RMSNorm, RoPE
Training tokens~998B (pretraining 629B + extension 319B + anneal 50B), then SFT
Context length2,048 tokens (trained)
TokenizerByte-level BPE, 50,304 tokens, trained on our own mixture
LanguagesEnglish; Hindi and 8 other Indian languages (limited)
Chat formatChatML (<|im_start|>role ... <|im_end|>)
LicenceApache-2.0

Quick start

The model uses a custom architecture, so loading needs the Python files in this repository (no transformers class yet).

pip install torch safetensors tokenizers huggingface_hub
import sys
from huggingface_hub import snapshot_download

path = snapshot_download("KiteFishAI/NanoI1-155M-Instruct")
sys.path.insert(0, path)
from modeling_nanoi1 import from_pretrained, chat

model, tok = from_pretrained(path)           # GPU if available, bf16 on GPU
print(chat(model, tok, [
    {"role": "system", "content": "You are a concise assistant for a bank's operations team."},
    {"role": "user", "content": "Explain what a bank's KYC process is in two sentences."},
], temperature=0))

Architecture

Hyper-parameterValue
Layers12
Hidden size768
Attention heads12 (head dim 64)
KV latent dimension (MLA)256
FFNSwiGLU, 2,048 hidden
NormalisationPre-norm RMSNorm (ε = 1e-6), QK-norm
Position encodingRoPE, θ = 5,000,000
EmbeddingsUntied input / output
Vocabulary50,304 (byte-level BPE, 32 special tokens)

Multi-Head Latent Attention caches one 256-d latent vector per token per layer instead of full keys and values (2 × 768), so the KV cache is 6× smaller than standard multi-head attention at the same width.

Training

StageTokensDataLR schedule
1. Pretraining629B (steps 0–600k)Our 798B-token corpus, each token at most once: English web, code, peS2o papers, multilingual web, Project Gutenberg, Proof-Pile math, English Wikipedialinear warmup, then constant 6e-4
2. Extension319B (600k–904k)Unseen remainder of the stage-1 corpus (169B) + FineWeb-Edu (60B), The Stack v2 code (50B), Institutional Books 1.0 English (25B), FineMath (15B)constant 6e-4
3. Anneal50B (904k–952k)High-quality mix: FineWeb-Edu, Cosmopedia, FineMath, Dolmino math & FLAN, OpenCoder annealing corpus, StackExchange, FineWeb-2 Indic, plus ~35% replay of stage-1 sourceslinear decay 6e-4 → 0
4. SFT2 epochssmol-smoltalk + Aya (English and 9 Indian languages)1e-4, cosine to 1e-5
  • Benchmark decontamination: every document added in stages 2–3 that shares a 13-word sequence with the test set of any benchmark below was removed.
  • Optimiser: AdamW (β = 0.9/0.95, weight decay 0.1, gradient clip 1.0), bf16 mixed precision.
  • Batch: global batch of 1,048,576 tokens (512 × 2,048).
  • Hardware: 8× NVIDIA H100 NVL, ~1.45M tokens/s.
  • Data loading: a deterministic exactly-once sampler, so every training window is used once per pass and restarts resume to the exact sample.

Evaluation (base model)

Base checkpoint (stage 3), evaluated with lm-evaluation-harness 0.4.13 at 2,048 context. All models used the same prompts, shots and greedy decoding. Scores in %, Pile in bits per byte (lower is better).

BenchmarkShotsNanoI1-155MGemma-3-270MQwen3-0.6B-Base
WinoGrande552.654.059.9
ARC-Easy2558.959.074.9
ARC-Challenge2528.130.045.1
OpenBookQA032.230.634.6
RACE-High533.131.437.3
NaturalQuestions53.24.17.6
MMLU-Redux527.828.232.1
MMLU-Pro57.88.525.5
GPQA526.625.929.9
BBH318.422.739.4
GSM8K84.01.848.9
MATH42.22.429.9
HumanEval09.12.429.3
EvalPlus04.31.213.0
INCLUDE (44 languages)–26.025.536.3
MMMLU523.625.638.7
Pile test (BPB ↓)–0.8700.8680.716

Reading the table:

  • Against Gemma-3-270M: NanoI1 is ahead on code (HumanEval ~4×), grade-school maths, reading comprehension and OpenBookQA. It is behind on commonsense benchmarks (HellaSwag, PIQA) and factual recall (TriviaQA). It has fewer parameters in its transformer layers (78M vs ~100M) and saw roughly 1/6 of Gemma's training tokens.
  • Against Qwen3-0.6B-Base: Qwen3-0.6B, with about 4× the parameters and ~36T tokens, is stronger everywhere.
  • Near chance: many knowledge benchmarks (MMLU-Pro, GPQA, SuperGPQA, MMMLU) sit close to random guessing for all models under 300M parameters, so their differences are small.

Instruct model

BenchmarkNanoI1-155M-InstructSmolLM2-135M-InstructSmolLM2-360M-InstructQwen2.5-0.5B-Instruct
IFEval (prompt-level loose)[fill after run_sft.sh eval]

Intended use

  • Good for: structured extraction, classification, routing and short grounded Q&A over provided documents, especially after fine-tuning on your own task data. Also a fast draft model, on-device assistant or research baseline.
  • Not for: open-ended factual questions without context, maths and multi-step reasoning, legal, medical or financial advice, or any decision about a person without human review.

Limitations

  • It invents content. At 155M parameters the model makes up facts and can add fields that are not in the source text when extracting JSON. For production extraction, use schema-constrained decoding (e.g. llguidance, Outlines or XGrammar) and validate outputs.
  • Short context. It was trained at 2,048 tokens; the RoPE base supports longer contexts but quality beyond 2k is untested.
  • Limited Indian-language ability. Indian languages are a small share of training, so quality there is well below English.
  • Bias. The model reflects biases present in web, book and code data.
  • No safety training. No preference or safety tuning has been applied yet. Add your own guardrails.

Training data and licences

All third-party datasets were used under their published terms:

  • ODC-By: FineWeb-Edu, FineMath, FineWeb-2, smollm-corpus (Cosmopedia v2), OpenCoder annealing corpus, Dolmino mix.
  • Apache-2.0: smol-smoltalk, Aya.
  • The Stack v2: per-file licences.
  • Institutional Books 1.0: Institutional Data Initiative terms.

See each dataset card for details. Some anneal data (Cosmopedia, parts of FLAN and Dolmino math) was generated by other language models.

Citation

@techreport{kitefish2026nanoi1,
  title       = {NanoI1: A 155M-Parameter Language Model Trained on One Trillion Tokens for Indian Regulated Industries},
  author      = {Anuj and {KiteFish AI}},
  institution = {KiteFish AI},
  year        = {2026}
}

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Класс архитектуры
NanoI1ForCausalLM
Ревизия весов
feea2d5

0 моделей