Downloads · 30 days
174
30% of all-time downloads
eulogik/Bharat-Tiny-LLM-v3-ONNX
Bharat-Tiny-LLM-v3-ONNX is a text generation model from eulogik. Use it when you need the model to write or continue text. It is set up for transformers.js. The card lists the license as apache-2.0.
ONNX weights for eulogik/Bharat-Tiny-LLM-v3, a 1.7B bilingual Hindi/Hinglish/English edge LLM (Qwen3-1.7B-Base + 326 Devanagari tokens, total vocab 151,969), converted for in-browser inference with Transformers.js on…
Downloads · 30 days
174
30% of all-time downloads
All-time downloads
589
Public
Repo size
1.7 GB
Likes
0
Public
Click a slice to open those files.
.onnx1.7 GB · 99%
From the Hugging Face model README
ONNX weights for eulogik/Bharat-Tiny-LLM-v3, a 1.7B bilingual Hindi/Hinglish/English edge LLM (Qwen3-1.7B-Base + 326 Devanagari tokens, total vocab 151,969), converted for in-browser inference with Transformers.js on WebGPU.
optimum-cli export onnx
(text-generation-with-past), validated against PyTorch logits.MatMulNBitsQuantizer), same settings as onnx-community conversions.onnx.checker passes and ONNX Runtime loads the model
(59 inputs / 57 outputs: input_ids, attention_mask, past key/values).Layout follows the onnx-community convention (onnx/model_q4f16.onnx).
// npm i @huggingface/transformers
import { pipeline } from '@huggingface/transformers';
const generator = await pipeline(
'text-generation',
'eulogik/Bharat-Tiny-LLM-v3-ONNX',
{ device: 'webgpu', dtype: 'q4f16' },
);
const out = await generator(
[{ role: 'user', content: 'नमस्ते, आप कैसे हैं?' }],
{ max_new_tokens: 200, temperature: 0.4, top_p: 0.9 },
);
console.log(out[0].generated_text.at(-1).content);
Live demo: eulogik/bharat-tiny-llm-v3-demo
License: Apache-2.0.