Downloads · 30 days
3
7% of all-time downloads
NidhalFerjani/Llama-3.2-3b-Coffria-Stage-1
Llama-3.2-3b-Coffria-Stage-1 is a text generation model from NidhalFerjani. Use it when you need the model to write or continue text. The card lists the license as llama3.2.
This model is a fine-tuned version of unsloth/Llama-3.2-3B-Instruct.(https://huggingface.co/unsloth/Llama-3.2-3B-Instruct).
Downloads · 30 days
3
7% of all-time downloads
All-time downloads
43
Public
Parameters
3.2B
6.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.4 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of unsloth/Llama-3.2-3B-Instruct.(https://huggingface.co/unsloth/Llama-3.2-3B-Instruct).
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "NidhalFerjani/Llama-3.2-3b-Coffria-Stage-1"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.bfloat16,
device_map="auto"
)
prompt = "Votre prompt ici"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_length=200)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
This model is designed for natural dialogue to assist in document search. It can help users efficiently find the most relevant documents based on natural language queries, making it ideal for applications like document retrieval, research assistance, and knowledge discovery.
This model is subject to the same licensing terms as the base Llama 3.2 model.