Downloads · 30 days
15
19% of all-time downloads
jokernifty/Krix1-0.2b
Krix1-0.2b is a text generation model from jokernifty. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A ~122M-parameter (≈0.2B) Llama-style decoder, pretrained from scratch on Hindi text. Every weight was trained from random initialization — this is not a fine-tune of an existing model.
Downloads · 30 days
15
19% of all-time downloads
All-time downloads
79
Public
Parameters
122M
977 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors487 MB · 100%
From the Hugging Face model README
A ~122M-parameter (≈0.2B) Llama-style decoder, pretrained from scratch on Hindi text. Every weight was trained from random initialization — this is not a fine-tune of an existing model.
verified + unverified), ~3B tokens seen during training out of ~19.6B available.This is a base completion model and a small one:
Tokenize with sentencepiece (the bundled hin_sp_48k.model) and run the model with transformers:
import torch, sentencepiece as spm
from huggingface_hub import hf_hub_download
from transformers import AutoModelForCausalLM
repo = "jokernifty/Krix1-0.2b"
sp = spm.SentencePieceProcessor(model_file=hf_hub_download(repo, "hin_sp_48k.model"))
model = AutoModelForCausalLM.from_pretrained(repo).eval()
prompt = "भारत एक विशाल देश"
ids = torch.tensor([sp.encode(prompt)])
out = model.generate(ids, max_new_tokens=150, do_sample=True,
temperature=0.8, top_k=200, eos_token_id=2, pad_token_id=3)
print(sp.decode(out[0].tolist()))
Note: tokenization uses SentencePiece directly (not
AutoTokenizer), because the tokenizer is a SentencePiece BPE model with byte fallback. This guarantees encoding identical to training.
Released for research and educational use. Trained on AI4Bharat Sangraha — review that dataset's terms before redistributing derivatives.