/ Модель

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

Контекст
32 768 токенов
Параметры
646 млн
Лицензия
Своя лицензия
Архитектура
dhee · dense
Базовая модель
dhee-pravega-og-atom
Библиотека
transformers
Опубликована
13 окт 2026

dhee-pravega-atom-it-rp

Генерация текстаТекст → текст3 профессии
113скачиваний за 30 дней1лайквеса обновлены31 окт 2026

Описание модели

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

Компактная многоязычная инструкционная модель DheeYantra для диалогов и вызова инструментов, ориентированная прежде всего на индийские языки.

Dhee-Pravega-Atom-IT — ранняя инструкционно дообученная языковая модель компании DheeYantra, созданная с нуля на основе Dhee-Pravega-OG Atom. Это плотный авторегрессионный трансформер с 645,5 млн параметров, который принимает текст и генерирует ответы, ведёт диалоги из нескольких ходов и формирует структурированные вызовы инструментов. Модель рассчитана прежде всего на индийские языки и также обучена работать с английским, арабским, испанским, французским, немецким и русским. Контекст — до 32 768 токенов.

Модель использует собственные архитектуру, токенизатор SentencePiece на 128 000 элементов, корпус предобучения и веса. Среди архитектурных особенностей — нормализация QK по головам внимания, SwiGLU и grouped-query attention. Авторы приводят результаты оценки вызова инструментов на наборах для индийских языков и многоязычных сценариев; качество на незнакомых инструментах и переносе имён из индийских письменностей в латиницу ниже. При 645 млн параметров у модели ограничены фактические знания, ответы могут быть неточными; пробелы и переносы строк нормализуются, а настройка безопасности не выполнялась. Это исследовательский предварительный выпуск, не предназначенный авторами для production. Лицензия указана как other; условия лицензии в доступных данных не раскрыты.

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

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

Ограничения

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

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

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

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

Открыть на Hugging Face

Dhee-Pravega-Atom-IT: Research Preview (645M)

Research preview. This is an early instruction-tuned checkpoint of a model built entirely from scratch. We are releasing it to share the architecture, tokenizer and training recipe, and to give the community a fully open, Indic-first small model to study and build on. It is not intended for production use. See Limitations.

An instruction-tuned, tool-calling language model for Indian languages, built entirely from scratch.

Dhee-Pravega-Atom-IT is the instruction-tuned version of Dhee-Pravega-OG Atom, a 645M-parameter decoder-only model whose architecture, tokenizer, pretraining corpus and weights are all our own: no pretrained weights of any kind were used at any stage. It is trained to hold multi-turn conversations, decide when a request needs a tool, and emit structured JSON function calls, across 13 Indian languages plus English, Arabic, Spanish, French, German and Russian.

Highlights

  • Built from scratch. The architecture, tokenizer, pretraining corpus and weights are all our own. No third-party model weights or upstream model terms are involved.
  • Indic-first tokenizer. A custom 128,000-piece SentencePiece vocabulary trained for these languages: 0.270 tokens per character on our Indic text versus 0.372 for Gemma-4's tokenizer, with a per-language spread of 1.19× versus 2.8× (measured on our corpus). Fewer tokens per sentence means more usable context and lower latency, and every language pays roughly the same price.
  • Small enough for the edge. 645M parameters; ~1.3 GB in bf16. On an Apple M1 CPU (no GPU) it decodes at ~25 tokens/s in 1.3 GB of RAM.
  • Native tool-calling format. Roles and tool calls are first-class control tokens, not text conventions, so the model never has to disambiguate an English-looking role marker from the surrounding Indic text.

Architecture

DheeForCausalLM is a decoder-only transformer that combines three published, permissively licensed stabilisation and efficiency techniques that no single upstream project ships together:

ComponentOriginWhat it does here
Reordered sublayer normsOLMo-2The norm is applied to the output of each sublayer inside the residual (h = h + norm(attn(h)), h = h + norm(mlp(h))) rather than to its input. This controls activation-norm growth through depth.
Per-head QK-normQwen3Each attention head's queries and keys are RMS-normalised independently over head_dim, rather than one norm shared across the whole projection. This bounds every head's attention logits individually; the max attention logit stayed at ~14 for the whole pretraining run.
Local:global attention interleaveGemma-3 (5:1)Built into the layer plumbing (layer_types, global_every, sliding_window) for efficient long-context inference. In this release every layer runs full attention; the interleave is a config switch, not a code change.

The rest is a modern standard stack: grouped-query attention (10 query heads, 2 KV heads), SwiGLU MLP, RoPE (θ = 1,000,000), RMSNorm and tied input/output embeddings. The implementation is verified bit-identical to stock Olmo2ForCausalLM in the degenerate configuration (joint QK-norm, all-full attention), so every line not deliberately changed behaves exactly as upstream.

Parameters645,617,408 (embeddings 163.8M, 25%)
Layers28
Hidden size1,280
Attention10 query / 2 KV heads (GQA), head dim 128, per-head QK-norm
MLPSwiGLU, 3,456
Vocabulary128,006 (128,000 SentencePiece + 6 control tokens)
Position encodingRoPE, θ = 1e6
Training sequence length8,192
Embeddingstied

Control tokens

TokenIDRole
<|sys|>128000tool schemas / system prompt
<|user|>128001user turn
<|assistant|>128002assistant turn
<|tool_call|>128003start of a JSON list of function calls
<|tool_result|>128004tool output fed back to the model
<|end|>128005end of turn (= eos_token_id)

Training

Stage 0: pretraining from random initialisation (dhee-pravega-og-atom)

  • 30.006B tokens, 18 languages balanced at ~1.667B tokens each (Assamese, Bengali, Gujarati, Hindi, Kannada, Malayalam, Marathi, Odia, Punjabi, Sanskrit, Tamil, Telugu, English, Arabic, Spanish, French, German, Russian).
  • Muon for the 2-D hidden matrices (481.7M params) and AdamW for embeddings and norms (163.9M); Warmup-Stable-Decay schedule at a peak LR of 6e-4; z-loss on output logits; 57,231 steps of 524,288 tokens.
  • Continued pretraining, new in this release: a further 36,000 steps and 18.9B tokens over the same corpus as a fresh Warmup-Stable-Decay segment (peak LR 3e-4 decayed to 3e-5), to 93,231 steps and 48.9B tokens seen. Held-out perplexity improved in all 18 languages by 2.6%-5.6% (mean 13.58 -> 13.10). This instruction tuning starts from that checkpoint, not the earlier one.

Stage 1: instruction and tool-calling fine-tuning (this model)

  • Data: 1.26M multi-turn conversations (559M tokens, 285M of them supervised assistant tokens):
    • Glaive-style function-calling dialogues translated into 13 Indian languages (Assamese, Bengali, Gujarati, Hindi, Kannada, Malayalam, Marathi, Odia, Punjabi, Sanskrit, Sindhi, Tamil, Telugu).
    • ToolACE (Apache-2.0; 16,134 distinct tool schemas), translated into 17 languages plus the English source. Indic translation used Sarvam-Translate, and European translation used MADLAD-400. The translator never saw JSON, and identifiers in prose were masked and restored.
    • Rows damaged by translation (placeholder leakage) were removed.
  • Objective: loss on assistant turns only, covering both prose replies and tool calls.
  • Packing: whole conversations packed into 8,192-token blocks, never split.
  • Optimiser: the same Muon + AdamW split as pretraining, with both learning rates at 1/6 of their pretraining peaks, 3% warmup, cosine decay to 1e-5, z-loss 1e-4.
  • Schedule: 3 epochs, 12,843 steps of 131,072 tokens (1.683B tokens seen). Held-out loss bottomed at step 4,200 and rose through epochs 2 and 3, but the dev split is contaminated by construction -- every evaluation dialogue has trained siblings in other languages -- so the checkpoint was chosen on the tool-calling scores below, not on dev loss.
  • Hardware: a single NVIDIA RTX Pro 6000 Blackwell (24 GB slice), ~31 hours.
  • Held-out split by dialogue: every translation of an evaluation dialogue was withheld from training, so the scores below measure dialogues the model never saw in any language.

Evaluation

Each assistant turn of a held-out conversation is posed with everything before it, and the model generates freely (it is not forced into a tool call):

  • Decision: the model calls a tool when the reference does, and replies in prose when it does not.
  • Valid call: the call parses as the specified JSON list.
  • Right tool: the function name matches the reference.
  • Exact args: every argument matches after type normalisation, as a share of all tool-call turns.
  • Args F1: per-argument F1 over calls with the right tool.

Indic function calling (13 languages)

Held-out dialogues from the Indic function-calling corpus. The corpus is built around a compact set of ~1,000 tool schemas, so many evaluation dialogues use tools of a kind the model saw during training: this suite measures in-domain tool use.

LanguageDecisionValid callRight toolExact argsArgs F1
Assamese0.970.930.930.900.97
Bengali0.980.950.950.820.92
Gujarati0.990.980.980.890.92
Hindi0.970.950.950.900.96
Kannada0.990.980.980.880.93
Malayalam0.991.001.000.850.92
Marathi0.980.980.980.920.95
Odia0.980.950.950.900.97
Punjabi0.970.970.970.890.98
Sanskrit0.990.970.970.890.94
Sindhi0.970.950.950.860.95
Tamil0.990.970.970.940.95
Telugu0.980.950.950.900.98
Mean0.980.960.960.890.95

ToolACE multilingual (18 languages, broad tool coverage)

ToolACE draws on 16,134 distinct API schemas, so evaluation dialogues involve tools the model has rarely or never seen. This is the better guide to behaviour on new tools.

LanguageDecisionValid callRight toolExact argsArgs F1
English0.920.910.820.670.85
Bengali0.980.880.710.410.76
Spanish0.980.950.710.370.67
Tamil0.930.880.700.400.67
Malayalam0.961.000.690.400.69
Telugu0.980.880.670.430.77
Arabic0.980.860.660.320.66
Marathi0.950.860.660.320.67
German0.980.860.650.530.86
Hindi0.940.910.650.350.68
Punjabi0.980.860.640.260.64
Assamese0.940.880.620.430.74
Sanskrit0.940.830.620.330.59
Gujarati0.980.890.610.430.83
Odia0.910.800.600.360.70
Kannada0.960.880.580.330.74
French0.960.710.570.400.69
Russian0.960.910.530.260.71
Mean0.960.880.650.390.72

Each language has up to 40 sampled dialogues (2,840 assistant turns in total across both suites), so differences of under ~0.1 between individual languages are within sampling noise. Raw per-language numbers are in benchmark/tool_calling_eval.json.

Usage

Requires trust_remote_code=True (the architecture ships as modeling_dhee.py) and sentencepiece. dhee_chat.py renders conversations in the trained format and parses replies.

import torch, sentencepiece as spm
from huggingface_hub import snapshot_download
from transformers import AutoModelForCausalLM

path = snapshot_download("dheeyantra/dhee-pravega-atom-it-rp")
import sys; sys.path.insert(0, path)
from dhee_chat import build_prompt, parse_reply, load_specials

model = AutoModelForCausalLM.from_pretrained(path, trust_remote_code=True, dtype=torch.bfloat16).eval()
sp = spm.SentencePieceProcessor(model_file=f"{path}/tokenizer.model")
spec = load_specials(f"{path}/specials.json")

tools = [{"name": "get_weather",
          "description": "Get the current weather for a city",
          "parameters": {"type": "object",
                         "properties": {"city": {"type": "string", "description": "City name"}},
                         "required": ["city"]}}]
messages = [{"role": "user", "content": "What's the weather in Chennai right now?"}]

ids = build_prompt(sp, spec, messages, tools)
out = model.generate(torch.tensor([ids]), max_new_tokens=128, do_sample=False,
                     eos_token_id=spec["<|end|>"], pad_token_id=spec["<|end|>"])
reply = parse_reply(sp, spec, out[0, len(ids):].tolist())
print(reply)   # {'content': '', 'tool_calls': [{'name': 'get_weather', 'arguments': {'city': 'Chennai'}}]}

# Run the tool, append the call and its result, and let the model answer from it:
messages += [{"role": "assistant", "tool_calls": reply["tool_calls"]},
             {"role": "tool", "content": '{"temp_c": 31, "condition": "partly cloudy"}'}]
ids = build_prompt(sp, spec, messages, tools)
out = model.generate(torch.tensor([ids]), max_new_tokens=80, do_sample=False,
                     eos_token_id=spec["<|end|>"], pad_token_id=spec["<|end|>"])
print(parse_reply(sp, spec, out[0, len(ids):].tolist()))
# {'content': 'Chennai, Tamil Nadu, is now in a scorched weather.', 'tool_calls': None}

Tips

  • Use greedy decoding for tool calls. For open-ended prose, sampling (temperature ~0.7) gives more natural text.
  • Offer only the tools relevant to the request; fewer, well-described tools give the most reliable calls.
  • The model is tuned for single-step tool use (choose a tool, fill its arguments, then answer from the result), which is the sweet spot at this size.

Limitations

This is a research preview of a small model trained from scratch, and it behaves like one.

  • New tools and Indic entity names. Accuracy is highest on tools similar to those in training. With unfamiliar tools, or when an argument must be carried from Indic-script text into a Latin-script value (for example a city name written in Devanagari), the model can choose the wrong tool or produce an incorrect argument value. Validate tool calls before executing them.
  • World knowledge. At 645M parameters and 30B pretraining tokens, factual knowledge is limited, and prose answers can be inaccurate. Ground answers in tool results rather than relying on the model's own recall.
  • Whitespace. The tokenizer normalises whitespace, so line breaks in prompts and replies become spaces. Tool-call JSON is unaffected.
  • Not safety-tuned. No preference or safety alignment has been applied.

Continued pretraining of the base model has landed and is the starting point for this release. A broader instruction-tuning mix is under way for the next one: the current corpus is 84% Indic, and English, Arabic and the European languages are each being raised to ~5% of the total.

Licence

Research use only. The model weights, configuration and tokenizer are released under the Dhee Research-Only Licence v1.0. Academic research, evaluation, benchmarking, red-teaming, teaching and personal experimentation are permitted. Commercial use is not. Commercial licences are available from Dheeyantra Research Labs on request (contact@dheeyantra.com).

The model was trained from random initialisation, so no third-party model terms apply. The source files modeling_dhee.py (derived from the Apache-2.0 OLMo-2 and Qwen3 implementations in transformers) and dhee_chat.py remain under Apache-2.0; see NOTICE.

If you redistribute the model or anything derived from it, include the LICENSE and NOTICE files.

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

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

GPU в ailist

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

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

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

Класс архитектуры
DheeForCausalLM
Ревизия весов
3aa9a53

0 моделей