加载中…
加载中…
Fikra (noun, Swahili): The weight of deep mental reflection, concept, philosophy, or logical realization.
Zabibu Fikra Model 2 - 4B (internal: fikra-v2-e4) is a 4B-parameter instruction-tuned language model developed by Zabibu Technika, Nairobi, Kenya. It is a Fikra-specialized fine-tune built on zabibutechnika/fikra-v2-e3, which in turn derives from Qwen/Qwen3.5-4B. Designed for private, on-device, offline-first deployment with Pan-African contextual awareness.
zabibutechnika/Fikra-Model-2-4B — this repozabibutechnika/Fikra-Model-2-4B-GGUF — Q4_K_M + F16apache-2.0 (base license: see Qwen/Qwen3.5-4B)identity_swahili full pass; code-switching supportedzabibutechnika/Fikra-Model-2-4B-GGUF| metric | value |
|---|---|
| Auto-checked suite | 105/115 (91.3%) |
| Borderline (rubric review) | 0 |
| Held-out paraphrases | 9/10 (90.0%) |
| Baseline e3 (Fikra checkpoint) | 88.7% |
In-suite (91.3%) and held-out (90.0%) are statistically indistinguishable (binomial p>0.05) — no contamination signal on the release suite.
| metric | Fikra-Model-1-2B | Zabibu Fikra Model 2 - 4B | delta |
|---|---|---|---|
| MMLU | 36.0% | 75.5% | +39.6 pts |
| Parameters | 2B | 4B | +2.2B |
These numbers are not size-normalized. Most of the MMLU delta comes from upgrading the upstream base (2B → 4B), not from Fikra training alone. The Fikra-specific improvement is measured on the release suite (+2.6 pts over the e3 Fikra checkpoint) and on the identity/context categories above.
| model | params | MMLU | HellaSwag |
|---|---|---|---|
| fikra-v2-e4 | 4B | 75.5% | 68.0% |
| Qwen/Qwen3.5-4B | 4B | (not_run) | (not_run) |
| Qwen2.5-3B-Instruct | 3B | 68.8% | 40.0% |
| Fikra-Model-1-2B | 2B | 36.0% | 40.0% |
| Phi-3.5-mini-instruct | 3.8B | (incompatible) | (incompatible) |
| Llama-3.2-3B-Instruct | 3B | (gated) | (gated) |
| Gemma-2-2B-it | 2B | (gated) | (gated) |
Run conditions: lm-evaluation-harness 0.4.13, tasks mmlu,hellaswag, limit 10 samples per task, batch auto, fp16, on Kaggle 2×T4. Raw JSONs in benchmarks/.
Verifiable claims
Claims this card does NOT make
On-device assistants requiring private/offline operation, Swahili/English code-switching, identity-preserving personas, edge/air-gapped deployment. Use the GGUF builds for llama.cpp, Ollama, LM Studio, or any GGUF-compatible runtime.
<think>...</think> blocks in visible output. Strip in post-processing.No unresolved safety case in the auto-checked suite.
Not red-teamed by an external party.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained("zabibutechnika/Fikra-Model-2-4B", torch_dtype=torch.float16, device_map="auto")
tok = AutoTokenizer.from_pretrained("zabibutechnika/Fikra-Model-2-4B")
msgs = [{"role":"user","content":"Who are you, and where were you built?"}]
p = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True)
i = tok(p, return_tensors="pt").to(model.device)
o = model.generate(**i, max_new_tokens=400, do_sample=False, pad_token_id=tok.eos_token_id)
print(tok.decode(o[0][i["input_ids"].shape[1]:], skip_special_tokens=True))
Both Q4_K_M and F16 conversions are published at zabibutechnika/Fikra-Model-2-4B-GGUF.
| file | quant | size | notes |
|---|---|---|---|
Fikra-Model-2-4B-Q4_K_M.gguf |
Q4_K_M | 2.71 GB | recommended — best size/quality tradeoff, runs on CPU |
Fikra-Model-2-4B-f16.gguf |
F16 | 8.42 GB | full-precision reference; numerically equivalent to fp16 safetensors |
# quick chat
llama-cli -hf zabibutechnika/Fikra-Model-2-4B-GGUF:Fikra-Model-2-4B-Q4_K_M.gguf -p "Who are you?" --temp 0
# OpenAI-compatible server
llama-server -hf zabibutechnika/Fikra-Model-2-4B-GGUF:Fikra-Model-2-4B-Q4_K_M.gguf --port 8080 -c 8192 -ngl 99
Quantization caveat: the eval numbers above are fp16. Q4_K_M typically loses 1–3 pts on short-form evals; F16 GGUF inherits the fp16 numbers exactly. Q4_K_M has not been re-evaluated — treat it as within-1–3-pts-of-fp16, not as equivalent.
Conversion provenance (llama.cpp build recipe, --no-mtp requirement for Qwen3.5, tokenizer_class patch) is documented in the GGUF card.
@misc{zabibu-fikra-model-2,
title = {Zabibu Fikra Model 2 - 4B},
author = {Zabibu Technika},
year = 2026,
url = {https://huggingface.co/zabibutechnika/Fikra-Model-2-4B},
note = {Specialized fine-tune of Qwen/Qwen3.5-4B, built on zabibutechnika/fikra-v2-e3}
}
Release date: 2026-11-06T01:26:03Z. Card generated from RELEASE.json, results_20261105_233152.json, results_20261105_234218.json, BENCHMARKS.md, and the GGUF repo — all published alongside these weights.