How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Tree-AI-lab/kouman-1.0-edge-1B:
# Run inference directly in the terminal:
llama cli -hf Tree-AI-lab/kouman-1.0-edge-1B:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Tree-AI-lab/kouman-1.0-edge-1B:
# Run inference directly in the terminal:
llama cli -hf Tree-AI-lab/kouman-1.0-edge-1B:
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf Tree-AI-lab/kouman-1.0-edge-1B:
# Run inference directly in the terminal:
./build/bin/llama cli -hf Tree-AI-lab/kouman-1.0-edge-1B:
Use Docker
docker model run hf.co/Tree-AI-lab/kouman-1.0-edge-1B:
Quick Links

🇨🇮📱 Kouman Edge 1B (Tree-AI-lab/kouman-edge-1b)

Kouman Edge 1B est le modèle d'intelligence artificielle mobile & hors-ligne (on-device) développé par Tree AI Lab (Côte d'Ivoire) sur une architecture Llama 3.2 1B (1,24B paramètres). Il parle et traduit 4 langues : Baoulé (bci), Dioula (dyu), Français (fr) et Anglais (en).

Ce dépôt réunit au même endroit :

  • Le modèle Instruct 1B complet en bfloat16 (safetensors, natif transformers / vLLM / Ollama, zéro trust_remote_code),
  • Toute la gamme GGUF llama.cpp de Q8_0 jusqu'à Q2_K, calibrée avec une imatrix 4 langues pour préserver le Baoulé et le Dioula sur smartphone.

📊 Performances CPT (~1,70B tokens, 6 488 steps WSD)

Langue Base Llama 3.2 1B (PPL) Kouman Edge 1B CPT (PPL) Gain
🇨🇮 Baoulé (bci) 20.74 2.90 -17.84 (÷ 7,2×)
🇨🇮 Dioula (dyu) 19.58 2.25 -17.33 (÷ 8,7×)
🇫🇷 Français (fr) 9.33 4.40 -4.93 (0 % oubli)
🇬🇧 Anglais (en) 6.77 5.12 -1.65 (0 % oubli)

📦 Fichiers GGUF disponibles (llama.cpp • Q8_0 → Q2_K)

Fichier GGUF Quant Taille imatrix Usage recommandé
kouman-edge-1b-Q8_0.gguf Q8_0 1.23 Go — Quasi sans perte (desktop / flagship 8+ Go RAM)
kouman-edge-1b-Q6_K.gguf Q6_K 974 Mo ✅ Qualité quasi-BF16, excellent compromis
kouman-edge-1b-Q5_K_M.gguf Q5_K_M 869 Mo ✅ Haute qualité (smartphones haut de gamme / PC)
kouman-edge-1b-Q5_K_S.gguf Q5_K_S 851 Mo ✅ Haute qualité compacte
kouman-edge-1b-Q4_K_M.gguf Q4_K_M 770 Mo ✅ ⭐ Recommandé mobile Android / iOS (équilibre qualité/vitesse)
kouman-edge-1b-Q4_K_S.gguf Q4_K_S 740 Mo ✅ Mobile compact 4 bits
kouman-edge-1b-Q4_0.gguf Q4_0 737 Mo ✅ Mobile ultra-rapide CPU ARM (NEON / i8mm)
kouman-edge-1b-Q3_K_M.gguf Q3_K_M 659 Mo ✅ Smartphones entrée de gamme (4 Go RAM)
kouman-edge-1b-Q3_K_S.gguf Q3_K_S 612 Mo ✅ Très compact 3 bits
kouman-edge-1b-Q2_K.gguf Q2_K 554 Mo ✅ ⚠️ Expérimental 2 bits (dégradation attendue sur 1B — préférer Q3_K_M ou Q4_K_M)

🚀 Utilisation rapide

Sur smartphone (Android / iOS hors-ligne)

  • Téléchargez kouman-edge-1b-Q4_K_M.gguf (recommandé) ou kouman-edge-1b-Q3_K_M.gguf dans PocketPal AI, ChatterUI ou toute app basée sur llama.cpp.

Avec llama.cpp

llama-cli -hf Tree-AI-lab/kouman-edge-1b:Q4_K_M -cnv -p "Tu es Kouman Edge 1B, assistant IA de Tree AI Lab."

Avec transformers (modèle Instruct BF16)

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = 'Tree-AI-lab/kouman-edge-1b'
tok = AutoTokenizer.from_pretrained(repo)
mod = AutoModelForCausalLM.from_pretrained(repo, torch_dtype=torch.bfloat16, device_map='auto')
prompt = tok.apply_chat_template([{'role': 'user', 'content': 'I ni sɔgɔma !'}], tokenize=False, add_generation_prompt=True)
ids = tok(prompt, return_tensors='pt', add_special_tokens=False).to(mod.device)
out = mod.generate(**ids, max_new_tokens=256)
print(tok.decode(out[0, ids['input_ids'].shape[1]:], skip_special_tokens=True))
Downloads last month
983
Safetensors
Model size
1B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Tree-AI-lab/kouman-1.0-edge-1B

Quantized
(266)
this model
Quantizations
4 models