Purpose: Multi-step refinement in probability space
Intended Use
Primary Use Cases
Serbian Language Tasks:
Conversational AI in Serbian
Question answering in Serbian
Text generation and completion
Reasoning Tasks:
Mathematical problem solving
Code generation and debugging
Step-by-step logical reasoning
Bilingual Applications:
Serbian-English translation assistance
Cross-lingual reasoning tasks
Out-of-Scope Use
Production-critical applications without further testing
Tasks requiring real-time factual accuracy (model may hallucinate)
Languages other than Serbian and English (limited support)
How to Use
Installation
pip install torch transformers accelerate
Basic Usage
python
1import torch
2from transformers import AutoTokenizer, AutoModelForCausalLM
34# Load model and tokenizer5model_name ="NoesisLab/Geilim-1B-SR-Instruct"6tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)7model = AutoModelForCausalLM.from_pretrained(8 model_name,9 trust_remote_code=True,10 torch_dtype=torch.bfloat16,11 device_map="auto",12)1314# Serbian conversation15messages =[16{"role":"user","content":"Kakvu ulogu igraju nagrade i pozitivno pojačanje u dresuri Bigla i kako se mogu efikasno koristiti bez podsticanja lošeg ponašanja?"}17]1819# Apply chat template20input_text = tokenizer.apply_chat_template(21 messages,22 tokenize=False,23 add_generation_prompt=True24)2526# Tokenize27inputs = tokenizer(input_text, return_tensors="pt").to(model.device)2829# Generate30outputs = model.generate(31**inputs,32 max_new_tokens=200,33 temperature=0.7,34 top_p=0.9,35 repetition_penalty=1.1,36 do_sample=True,37)3839# Decode40response = tokenizer.decode(41 outputs[0][inputs['input_ids'].shape[1]:],42 skip_special_tokens=True43)44print(response)
Recommended Generation Parameters
python
1generation_config ={2"max_new_tokens":200,3"temperature":0.7,# Balance creativity and coherence4"top_p":0.9,# Nucleus sampling5"repetition_penalty":1.1,# Reduce repetition6"do_sample":True,7}
Training Data
Dataset Composition
The model was trained on a balanced mix of two datasets:
1. ODA-Mixture-100k (50% - Reasoning Data)
101,306 reasoning samples across three domains:
Math (50,244 samples): AM-Thinking-v1-Distilled-math
Mathematical problem solving with step-by-step reasoning
Format: instruction → response (reasoning trace) → final answer
Language Coverage: Primarily trained on Serbian and English; limited support for other languages
Factual Accuracy: May generate plausible but incorrect information (hallucination)
Context Length: While supporting 131k tokens, performance may degrade on very long contexts
Domain Specificity: Best performance on conversational and reasoning tasks; may struggle with highly specialized domains
Training Data: Limited to ~100k samples; may not cover all Serbian language variations
Potential Biases
Translation Bias: Serbian data is translated from English, may not reflect natural Serbian expressions
Domain Bias: Reasoning data focuses on math and code; may be less effective on other domains
Cultural Bias: Training data may reflect Western cultural perspectives
Recommendations
Verify factual claims with authoritative sources
Test thoroughly before deployment in production
Monitor for biased or inappropriate outputs
Consider fine-tuning on domain-specific data for specialized applications
Ethical Considerations
AI Democratization
This model is part of an effort to democratize AI by bringing advanced capabilities to underrepresented languages. Serbian, despite having ~12 million speakers, has limited AI resources compared to high-resource languages.
Responsible Use
Users should:
Be aware of potential biases and limitations
Not use for malicious purposes (misinformation, harassment, etc.)
Respect privacy and data protection regulations
Consider societal impact of deployments
Environmental Impact
Training: ~6-8 hours on 1x RTX PRO 6000 GPUs
Carbon Footprint: Estimated ~5-10 kg CO2eq (depends on energy source)
Inference: Efficient at 1.3B parameters, suitable for edge deployment
Technical Details
Asterisk Architecture
The model uses the Asterisk architecture, which combines:
ASPP (Adjacency-Structured Parallel Propagation):
Graph-based reasoning with Union-Find structure
Each token maintains parent pointer: parent[i] = i-1
Serbian NLP Community: Language support and feedback
HuggingFace: Transformers library and model hosting
Accelerate: Distributed training framework
License
This model is released under the Apache 2.0 License, same as the base model.
Copyright 2026 Asterisk Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Version History
v1.0 (2026-02): Initial release
1.3B parameters (1B base + 300M ASPP/π-flow)
Trained on 100k samples (50% ODA-Mixture + 50% UltraChat Serbian)