Downloads · 30 days
0
petkopetkov/Llama3.2-1B-bg-tokenizer
Llama3.2-1B-bg-tokenizer is a machine learning model from petkopetkov. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
- Developed by: petkopetkov - License: apache-2.0 - Finetuned from model : unsloth/llama-3.2-1b-bnb-4bit
Downloads · 30 days
0
Access
Public
Updated Jan 14, 2025
Repo size
14.7 MB
Likes
0
Public
Click a slice to open those files.
.json14.7 MB · 99%
From the Hugging Face model README
Llama3.2-1B finetuned on datasets translated to Bulgarian language (with tokenizer trained on Bulgarian text):
First, install the Transformers library with:
pip install -U transformers
pipeline APIimport torch
from transformers import pipeline
pipe = pipeline(
"text-generation",
model="petkopetkov/Llama3.2-1B-bg-tokenizer",
torch_dtype=torch.bfloat16,
device_map="auto"
)
prompt = "Колко е 2 + 2?"
print(pipe(prompt)[0]['generated_text'])