Downloads · 30 days
35
2% of all-time downloads
suayptalha/Komodo-Llama-3.2-3B
Komodo-Llama-3.2-3B is a text generation model from suayptalha. 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.
Downloads · 30 days
35
2% of all-time downloads
All-time downloads
1.7K
Public
Parameters
3.3B
2.2 GB on disk
Likes
6
Public
Click a slice to open those files.
.safetensors2.2 GB · 100%
How the weights are stored.
U82.9B · 88%
From the Hugging Face model README

This version of Komodo is a Llama-3.2-3B-Instruct finetuned model on lighteval/MATH-Hard dataset to increase math performance of the base model.
This model is 4bit-quantized. You should import it 8bit if you want to use 3B parameters! Make sure you installed 'bitsandbytes' library before import.
Example Usage:
tokenizer = AutoTokenizer.from_pretrained("suayptalha/Komodo-Llama-3.2-8B")
model = AutoModelForCausalLM.from_pretrained("suayptalha/Komodo-Llama-3.2-8B")
example_prompt = """Below is a math question and its solution:
Question: {}
Solution: {}"""
inputs = tokenizer(
[
example_prompt.format(
"", #Question here
"", #Solution here (for training)
)
], return_tensors = "pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens = 50, use_cache = True)
tokenizer.batch_decode(outputs)
<a href="https://www.buymeacoffee.com/suayptalha" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>