Downloads · 30 days
22
4% of all-time downloads
sarthakrastogi/narasimha-b-0.6b
narasimha-b-0.6b is a machine learning model from sarthakrastogi. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This model is a fine-tuned version of Qwen/Qwen3-0.6B on the Narasimha dataset.
Downloads · 30 days
22
4% of all-time downloads
All-time downloads
559
Public
Parameters
596M
4.8 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors1.2 GB · 99%
From the Hugging Face model README
This model is a fine-tuned version of Qwen/Qwen3-0.6B on the Narasimha dataset.
from transformers import AutoTokenizer, AutoModelForCausalLM
model_name = "sarthakrastogi/narasimha-b-0.6b"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="auto", device_map="auto")
# Generate response
content = "your question here"
messages = [{"role": "user", "content": content}]
prompt_text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, enable_thinking=False)
inputs = tokenizer(prompt_text, return_tensors="pt").to(model.device)
output_ids = model.generate(**inputs, max_new_tokens=100)
response = tokenizer.decode(output_ids[0][inputs['input_ids'].shape[1]:], skip_special_tokens=True)
print(response)