Downloads · 30 days
11
11% of all-time downloads
Saif658/Saif-1.1
Saif-1.1 is a machine learning model from Saif658. 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.
An improved conversational assistant fine-tuned from Saif-1.0.
Downloads · 30 days
11
11% of all-time downloads
All-time downloads
96
Public
Parameters
3.2B
6.4 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors6.4 GB · 100%
From the Hugging Face model README
An improved conversational assistant fine-tuned from Saif-1.0.
| Task | Saif-1.0 | Saif-1.1 |
|---|---|---|
| Prime check (Python) | ✓ slower | ✓ faster, better algo |
| Derivative (Math) | ✓ 9.64s | ✓ 3.87s |
| Factorial (JavaScript) | ✓ 15.51s | ✓ 7.72s |
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
tokenizer = AutoTokenizer.from_pretrained("Saif658/Saif-1.1")
model = AutoModelForCausalLM.from_pretrained(
"Saif658/Saif-1.1",
torch_dtype=torch.float16,
device_map="auto"
)
messages = [{"role": "user", "content": "your message here"}]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt").to("cuda")
outputs = model.generate(inputs, max_new_tokens=200)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Small 3B model — may struggle with very complex reasoning or long context tasks.