Bulgarian LLMs
					Collection
				
				21 items
				• 
				Updated
					
				•
					
					1
SmolLM2-1.7B-Instruct finetuned on OASST1 dataset translated to Bulgarian language.
First, install the Transformers library with:
pip install -U transformers
pipeline API
	
import torch
from transformers import pipeline
pipe = pipeline(
    "text-generation",
    model="petkopetkov/SmolLM2-1.7B-Instruct-bg",
    torch_dtype=torch.bfloat16, 
    device_map="auto"
)
prompt = "Колко е 2 + 2?"
print(pipe(prompt)[0]['generated_text'])
Base model
HuggingFaceTB/SmolLM2-1.7B