This model is the full-precision version of the Bleta-Logjike 27B model, specifically optimized for logical reasoning tasks in the Albanian language. Bleta is an Albanian adaptation based on Google's Gemma 3 architecture, with this version focused on enhancing logical reasoning and problem-solving capabilities for Albanian speakers.
This Albanian language model excels at:
This model was fine-tuned using Generative Rejection Policy Optimization (GRPO), a reinforcement learning technique that trains models to optimize for specific reward functions. GRPO allows the model to learn from feedback on its generated responses, improving reasoning quality over time by:
The training utilized the GSM8K (Grade School Math 8K) dataset, which contains over 8,000 high-quality grade school math problems, requiring step-by-step reasoning to solve. The dataset provides:
This dataset was adapted for Albanian language training to ensure the model can handle mathematical reasoning tasks in Albanian.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "klei1/bleta-logjike-27b"
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto", load_in_8bit=True)
tokenizer = AutoTokenizer.from_pretrained(model_name)
messages = [
{"role": "user", "content": "Si llogaritet sipërfaqja e një trekëndëshi?"}
]
text = tokenizer.apply_chat_template(messages, add_generation_prompt=True, tokenize=False)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.7, top_p=0.95)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
This is the full-precision version of the model requiring significant computational resources. For deployment on consumer hardware, consider using the 8-bit quantized GGUF version available at klei1/bleta-logjike-27b-finetune.
model-00004-of-00012.safetensors 5.0 GBmodel-00005-of-00012.safetensors 5.0 GBmodel-00006-of-00012.safetensors 5.0 GBmodel-00007-of-00012.safetensors 5.0 GBmodel-00008-of-00012.safetensors 5.0 GBmodel-00009-of-00012.safetensors 5.0 GBmodel-00010-of-00012.safetensors 5.0 GBmodel-00011-of-00012.safetensors 5.0 GBmodel-00003-of-00012.safetensors 5.0 GBmodel-00002-of-00012.safetensors 5.0 GBmodel-00001-of-00012.safetensors 4.9 GBmodel-00012-of-00012.safetensors 462 MB