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="cobrokerai/llama-3-1-8b",
	filename="unsloth.Q8_0.gguf",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

Uploaded model

  • Developed by: cobrokerai
  • License: apache-2.0
  • Finetuned from model : unsloth/Meta-Llama-3.1-8B-bnb-4bit

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

Downloads last month
16
Safetensors
Model size
8B params
Tensor type
BF16
Β·
Inference Providers NEW
Input a message to start chatting with cobrokerai/llama-3-1-8b.

Model tree for cobrokerai/llama-3-1-8b

Quantized
(237)
this model
Quantizations
1 model

Spaces using cobrokerai/llama-3-1-8b 8