How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="legionlm/sonnet-llama-3.2-3b",
	filename="sonnet-llama-3.2-3b-Q8_0.gguf",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

Uploaded model

  • Developed by: legionlm
  • License: apache-2.0
  • Finetuned from model : unsloth/llama-3.2-3b-instruct-bnb-4bit

This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.

Downloads last month
93
Safetensors
Model size
3B params
Tensor type
BF16
·
Inference Providers NEW
Input a message to start chatting with legionlm/sonnet-llama-3.2-3b.

Model tree for legionlm/sonnet-llama-3.2-3b

Quantizations
1 model

Dataset used to train legionlm/sonnet-llama-3.2-3b