Downloads · 30 days
16
11% of all-time downloads
yasutoshi-lab/Llama-3.2-1B-Instruct-QA-v4
Llama-3.2-1B-Instruct-QA-v4 is a text generation model from yasutoshi-lab. 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.2.
このモデルは「meta-llama/Llama-3.2-1B」をベースに、Instruction-Tuningを実施したモデルです
Downloads · 30 days
16
11% of all-time downloads
All-time downloads
145
Public
Parameters
1.2B
2.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.5 GB · 99%
From the Hugging Face model README
このモデルは「meta-llama/Llama-3.2-1B」をベースに、Instruction-Tuningを実施したモデルです
Ollamaにも公開しているため、こちらからご利用いただけます
https://ollama.com/Areku/Llama-3.2-1B-Instruct-QA-v4
https://ollama.com/Areku/Llama-3.2-1B-Instruct-QA-v4-q4km
下記の2種のライセンス要件を継承します
import torch
from transformers import pipeline
model_id = "ArekuNoimar/Llama-3.2-1B-Instruct-QA-v4"
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=2048,
temperature=0.7,
)
print(outputs[0]["generated_text"][-1])
語彙的擬似性(ROUGE, BLEU)
意味的擬似性(BERTScore)
言語モデリング能力(Perplexity)