Downloads · 30 days
34
61% of all-time downloads
daishen/llama3.2-3b-ins-regulation
llama3.2-3b-ins-regulation is a machine learning model from daishen. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a fine-tuned version of meta-llama/Llama-3.2-3B-Instruct on the audit-regulation, the ice-find and the fin-gpt datasets.
Downloads · 30 days
34
61% of all-time downloads
All-time downloads
56
Public
Parameters
3.2B
6.4 GB on disk
Likes
1
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 meta-llama/Llama-3.2-3B-Instruct on the audit-regulation, the ice-find and the fin-gpt datasets.
import torch
from transformers import pipeline
model_id = "daishen/llama3.2-3b-ins-regulation"
pipe = pipeline(
"text-generation",
model=model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "system", "content": "You are a pirate chatbot who always responds in pirate speak!"},
{"role": "user", "content": "Who are you?"},
]
outputs = pipe(
messages,
max_new_tokens=256,
)
print(outputs[0]["generated_text"][-1])