Downloads · 30 days
35
27% of all-time downloads
aghasalim/siba-meristem-1.0
siba-meristem-1.0 is a text generation model from aghasalim. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as other.
Downloads · 30 days
35
27% of all-time downloads
All-time downloads
128
Public
Repo size
4.1 GB
Likes
0
Public
Click a slice to open those files.
.gguf3.9 GB · 94%
From the Hugging Face model README
Azerbaijani | Russian | English | Turkish
SIBA's first open model: a multilingual adapter aimed at Azerbaijani and the Caucasus, for research use.
Built with Qwen
</div>Licence. Meristem 1.0 is a LoRA adapter on a base model released under the Qwen Research License (research use only, non-commercial). An adapter cannot carry a looser licence than the model it modifies, and part of its training data (tatsu-lab/alpaca) is CC BY-NC 4.0, so this repository was wrongly labelled Apache 2.0. It is now labelled correctly and a copy of the Qwen Research License is in LICENSE.
First benchmark. Measured on azbench, 2,148 zero-shot Azerbaijani multiple-choice questions, exact-letter scoring, run locally in Q4_K_M:
| Model | Reading (Belebele, 900) | Exams (INCLUDE, 548) | School (TUMLU, 700) | Average |
|---|---|---|---|---|
| Base model | 43.9 % | 39.4 % | 35.1 % | 39.5 % |
| Meristem 1.0 | 35.8 % | 33.6 % | 29.4 % | 32.9 % |
Meristem 1.0 scores below its own base. It was released at step 500 of a planned 31,461 and learned to favour the letter "C" (82 % of its answers on the reading set).
Version 1.0.1 (in v1.0.1/) continues the same LoRA for 20 optimizer steps on letter-balanced Azerbaijani cloze questions built from Azerbaijani Wikipedia (CC BY-SA), loss on the answer letter only, none of it from the azbench test sets. On the first 300 reading questions (all three models in Q4_K_M, temperature 0, the base model's default system prompt):
| Model | Reading, first 300 | Letters chosen A / B / C / D |
|---|---|---|
| Base model | 49.0 % | 88 / 70 / 63 / 79 |
| Meristem 1.0 | 40.7 % | 15 / 27 / 233 / 25 |
| Meristem 1.0.1 | 46.3 % | 70 / 62 / 69 / 99 |
1.0.1 removes the "C" bias and recovers most of the loss, but is still below the base model. It is a repair, not an improvement over its base model. The next Meristem will be built on a commercially licensed base and only released if it beats that base on azbench.
Full azbench run for 1.0.1, 28 September 2026. All 2,148 questions on an RTX 3090, Q4_K_M through Ollama, temperature 0, each model with its own Ollama template. The Ollama tag latest is 1.0.1 (same digest, 80deca0d15a4). This setup differs from the tables above, which used the base model's default system prompt for every model, so compare rows within a table and not across tables.
| Model | Reading (Belebele, 900) | Exams (INCLUDE, 548) | School (TUMLU, 700) | Average |
|---|---|---|---|---|
| Base model | 45.2 % | 36.9 % | 36.0 % | 39.4 % |
| Meristem 1.0.1 | 38.9 % | 40.0 % | 37.7 % | 38.9 % |
| Always the most common answer | 27.9 % | 26.3 % | 42.7 % |
On the full set 1.0.1 is 6.3 points below its base on reading, 3.1 points above it on exam questions (within noise at 548 questions) and 1.7 above on school questions, where both models are below the 42.7 % of always answering D. On average it is still just below the base model. Raw counts: github.com/aghasalim/azbench.
| Parameter | Value |
|---|---|
| Base Model | Qwen/Qwen2.5-3B-Instruct (3 billion parameters) |
| Fine-Tuning Method | QLoRA (4-bit NF4 quantization via bitsandbytes) |
| PEFT Library | Unsloth + PEFT v0.20.0 |
| LoRA Rank (r) | 16 |
| LoRA Alpha | 32 |
| LoRA Dropout | 0.0 |
| Target Modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
| Trainable Parameters | ~42M (of 3B total) |
| Batch Size | 1 (with gradient accumulation) |
| Max Sequence Length | 8192 tokens |
| Precision | BF16 mixed precision |
| Optimizer | AdamW |
| Learning Rate | 2e-4 (cosine schedule with warmup) |
| Total Training Steps | 31,461 planned (3 epochs) |
| Hardware | NVIDIA GTX 1660 Ti (6GB VRAM), AMD Ryzen 5 4600H, 16GB RAM |
| Step | Loss | Epoch | Gradient Norm |
|---|---|---|---|
| 25 | 2.491 | 0.002 | 1.120 |
| 50 | 1.725 | 0.005 | 0.588 |
| 100 | 1.407 | 0.010 | 0.499 |
| 150 | 1.430 | 0.014 | 1.157 |
| 200 | 1.367 | 0.019 | 0.694 |
| 250 | 1.346 | 0.024 | 0.627 |
| 300 | 1.310 | 0.029 | 0.585 |
| 350 | 1.295 | 0.033 | 0.526 |
| 400 | 1.278 | 0.038 | 0.563 |
| 450 | 1.329 | 0.043 | 0.505 |
| 500 | 1.262 | 0.048 | 0.530 |
Loss reduction: 2.491 to 1.262 (49.4% improvement)
| Language | Samples | Percentage | Sources |
|---|---|---|---|
| English | ~60,000 | 35.7% | FineTome-100k, Alpaca, OpenAssistant |
| Azerbaijani | ~40,000 | 23.8% | Translated instructions, cultural QA, regional knowledge |
| Russian | ~38,000 | 22.6% | Multilingual instruction sets, translated pairs |
| Turkish | ~30,000 | 17.9% | Instruction translations, conversational data |
| Total | 167,785 | 100% | ~32.5M tokens |
# Install Ollama from https://ollama.ai, then:
ollama run aghasalim/siba-meristem-1.0
Download Qwen2.5-3B-Instruct.Q4_K_M.gguf from this repository and load it in any GGUF-compatible runtime:
# llama.cpp example
./llama-cli -m Qwen2.5-3B-Instruct.Q4_K_M.gguf \
-p "<|im_start|>user\nSalam! Azerbaycan haqqinda melumat ver.<|im_end|>\n<|im_start|>assistant\n" \
-n 256 --temp 0.7 --top-p 0.9
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
# Load base model and LoRA adapter
base_model_id = "Qwen/Qwen2.5-3B-Instruct"
adapter_id = "aghasalim/siba-meristem-1.0"
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
model = AutoModelForCausalLM.from_pretrained(
base_model_id,
torch_dtype=torch.float16,
device_map="auto"
)
model = PeftModel.from_pretrained(model, adapter_id)
# Chat in Azerbaijani
messages = [
{"role": "system", "content": "Sen SIBA Meristem 1.0, coxdilli AI komekcisin."},
{"role": "user", "content": "Baki seheri haqqinda qisa melumat ver."}
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
with torch.no_grad():
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.7,
top_p=0.9,
repetition_penalty=1.1,
do_sample=True
)
response = tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True)
print(response)
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained(
model_name="aghasalim/siba-meristem-1.0",
max_seq_length=8192,
load_in_4bit=True,
)
FastLanguageModel.for_inference(model)
messages = [
{"role": "user", "content": "Hello! Tell me about yourself."}
]
inputs = tokenizer.apply_chat_template(
messages, tokenize=True, add_generation_prompt=True, return_tensors="pt"
).to("cuda")
outputs = model.generate(input_ids=inputs, max_new_tokens=256, temperature=0.7)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
| File | Size | Description |
|---|---|---|
Qwen2.5-3B-Instruct.Q4_K_M.gguf | 1.8 GB | 4-bit quantized GGUF model for Ollama / llama.cpp / LM Studio |
adapter_model.safetensors | 120 MB | LoRA adapter weights (compatible with PEFT / Unsloth) |
adapter_config.json | 1.3 KB | LoRA configuration (rank, alpha, target modules) |
tokenizer.json | 11.4 MB | Full tokenizer vocabulary |
tokenizer_config.json | 4.4 KB | Tokenizer settings and special tokens |
chat_template.jinja | 2.5 KB | Chat template for proper formatting |
Modelfile | 1.7 KB | Ollama Modelfile for local model creation |
training/trainer_state.json | -- | Full training log with per-step loss history |
training/training_args.bin | -- | Serialized training hyperparameters |
v1.0.1/Meristem-1.0.1.Q4_K_M.gguf | 1.9 GB | Version 1.0.1, merged and quantized (Q4_K_M) |
v1.0.1/adapter_model.safetensors | 120 MB | Version 1.0.1 LoRA adapter |
v1.0.1/adapter_config.json | 1.3 KB | Version 1.0.1 LoRA configuration |
v1.0.1/Modelfile | 1.7 KB | Ollama Modelfile for version 1.0.1 |
LICENSE | -- | Qwen Research License Agreement, which governs this model |
User: Azerbaijan metbexinin en meshur yemekleri hansilardir?
SIBA: Azerbaijan metbexi zengin ve muxtelifdir. En meshur yemekler bunlardir:
1. Plov (As) -- Azerbaijan metbexinin taci sayilir
2. Dolma -- Uzum yarpagina bukulmus et-duyu qarisigi
3. Qutab -- Nazik xemirden hazirlanan yasti borek
4. Piti -- Susa bolgesinin enenevi sorbasi
5. Lulekabab -- Manqalda bisirilen et kabab
</details>
<details>
<summary><b>Russian Example</b></summary>
User: Explain the difference between machine learning and deep learning.
SIBA: Machine learning (ML) and deep learning (DL) are related but distinct fields:
Machine learning is a broad area of AI where algorithms learn from data...
Deep learning is a subset of ML that uses neural networks with many layers...
</details>
<details>
<summary><b>Turkish Example</b></summary>
User: Turkiye'nin en guzel turistik yerleri nerelerdir?
SIBA: Turkiye, zengin tarihi ve dogal guzellikleriyle dolu bir ulkedir:
1. Istanbul -- Ayasofya, Topkapi Sarayi, Kapalicars
2. Kapadokya -- Peri bacalari ve sicak hava balonlari
3. Pamukkale -- Beyaz travertenler ve antik Hierapolis
</details>
<details>
<summary><b>English Example</b></summary>
User: What makes the Caucasus region culturally unique?
SIBA: The Caucasus region is one of the most culturally diverse areas on Earth:
1. Linguistic Diversity -- Over 50 distinct languages spoken across a relatively small area
2. Ancient Heritage -- Civilizations dating back to the Bronze Age
3. Cultural Crossroads -- Intersection of European, Asian, and Middle Eastern influences
</details>
Built with Qwen: SIBA Meristem 1.0 is fine-tuned by SIBA from Qwen2.5-3B-Instruct and is governed by the Qwen Research License Agreement of that model: research and evaluation use only, not commercial use. A copy is in LICENSE, and the required attribution is in NOTICE. Part of the training data (tatsu-lab/alpaca) is also CC BY-NC 4.0.
Until 25 September 2026 this repository was labelled Apache 2.0. That label was wrong and has been corrected; it did not change the terms of the base model, which always applied.
| Platform | Link |
|---|---|
| Hugging Face | aghasalim/siba-meristem-1.0 |
| Ollama | aghasalim/siba-meristem-1.0 |
| Base Model | Qwen/Qwen2.5-3B-Instruct |
Developer: Aghasalim Mustafazada Hugging Face: @aghasalim Ollama: @aghasalim