Downloads · 30 days
11
23% of all-time downloads
kerncore/Llama-3.3-70B-ft
Llama-3.3-70B-ft is a text generation model from kerncore. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama3.3.
Starting with transformers = 4.43.0 onward, you can run conversational inference using the Transformers pipeline abstraction or by leveraging the Auto classes with the generate() function.
Downloads · 30 days
11
23% of all-time downloads
All-time downloads
47
Public
Parameters
70.6B
141 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors141 GB · 100%
From the Hugging Face model README
Starting with transformers >= 4.43.0 onward, you can run conversational inference using the Transformers pipeline abstraction or by leveraging the Auto classes with the generate() function.
Make sure to update your transformers installation via pip install --upgrade transformers.
See the snippet below for usage with Transformers:
import transformers
import torch
model_id = "kerncore/Llama-3.3-70B-ft"
pipeline = transformers.pipeline(
"text-generation",
model=model_id,
model_kwargs={"torch_dtype": torch.bfloat16},
device_map="auto",
)
messages = [
{"role": "system", "content": "You are a pirate chatbot!"},
{"role": "user", "content": "Who are you?"},
]
outputs = pipeline(
messages,
max_new_tokens=256,
)
print(outputs[0]["generated_text"][-1])