Bulgarian LLMs
					Collection
				
				21 items
				• 
				Updated
					
				•
					
					1
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 API
	
import 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'])