Downloads · 30 days
288
83% of all-time downloads
Emperordzd/Nexara-Nano-100M-Chat
Nexara-Nano-100M-Chat is a text generation model from Emperordzd. Use it when you need the model to write or continue text. The card lists the license as mit.
Nexara-Nano-100M-Chat is a tiny Decoder-Only Transformer pretrained and supervised fine-tuned (SFT) from scratch. It is designed solely for experimental and educational purposes.
Downloads · 30 days
288
83% of all-time downloads
All-time downloads
348
Public
Repo size
441 MB
Likes
0
Public
Click a slice to open those files.
.bin441 MB · 100%
From the Hugging Face model README
Nexara-Nano-100M-Chat is a tiny Decoder-Only Transformer pretrained and supervised fine-tuned (SFT) from scratch. It is designed solely for experimental and educational purposes.
[!WARNING] This model has only ~110,138,880 parameters and is trained on a small corpus. It is not guaranteed to perform well in production environments. Expect frequent hallucinations and limited factual knowledge.
from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("your_username/Nexara-Nano-100M-Chat", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("your_username/Nexara-Nano-100M-Chat", trust_remote_code=True)
# Format SFT prompt template
prompt = "### System:\nYou are Nexara, a helpful and polite AI assistant.\n\n### User:\nWhat is your name?\n\n### Assistant:\n"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=64, temperature=0.1)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))