Instructions to use Tree-AI-lab/kouman-1.0-edge-1B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Tree-AI-lab/kouman-1.0-edge-1B with 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:Q4_K_M # Run inference directly in the terminal: llama cli -hf Tree-AI-lab/kouman-1.0-edge-1B:Q4_K_M
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:Q4_K_M # Run inference directly in the terminal: llama cli -hf Tree-AI-lab/kouman-1.0-edge-1B:Q4_K_M
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:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Tree-AI-lab/kouman-1.0-edge-1B:Q4_K_M
Use Docker
docker model run hf.co/Tree-AI-lab/kouman-1.0-edge-1B:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use Tree-AI-lab/kouman-1.0-edge-1B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Tree-AI-lab/kouman-1.0-edge-1B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Tree-AI-lab/kouman-1.0-edge-1B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Tree-AI-lab/kouman-1.0-edge-1B:Q4_K_M
- Ollama
How to use Tree-AI-lab/kouman-1.0-edge-1B with Ollama:
ollama run hf.co/Tree-AI-lab/kouman-1.0-edge-1B:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Tree-AI-lab/kouman-1.0-edge-1B with Docker Model Runner:
docker model run hf.co/Tree-AI-lab/kouman-1.0-edge-1B:Q4_K_M
- Lemonade
How to use Tree-AI-lab/kouman-1.0-edge-1B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Tree-AI-lab/kouman-1.0-edge-1B:Q4_K_M
Run and chat with the model
lemonade run user.kouman-1.0-edge-1B-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Accès à Kouman AI — usage non commercial
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
Kouman AI est diffusé sous la Licence Kouman 1.0 : téléchargement et usage local, personnel, de recherche ou d'enseignement uniquement. Tout usage commercial et tout hébergement du modèle pour des tiers (API, SaaS, chatbot), même gratuit, nécessitent une licence de Tree AI Lab (ngangoulajaures@gmail.com, daniel.sossa@epitech.eu). Les informations ci-dessous servent uniquement au suivi du respect de la licence.
Log in or Sign Up to review the conditions and access this model content.
🇨🇮📱 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, natiftransformers/vLLM/Ollama, zérotrust_remote_code), - Toute la gamme GGUF
llama.cppdeQ8_0jusqu'àQ2_K, calibrée avec uneimatrix4 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é) oukouman-edge-1b-Q3_K_M.ggufdans PocketPal AI, ChatterUI ou toute app basée surllama.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))
⚖️ Licence
Ce modèle est diffusé sous la Licence Kouman 1.0 (usage non commercial), en plus de la licence de son modèle de base.
| Usage | Autorisé ? |
|---|---|
| Télécharger et utiliser en local (usage personnel) | ✅ Oui |
| Recherche, enseignement, associations à but non lucratif | ✅ Oui |
| Évaluation interne par une entreprise, hors production | ✅ Oui, 90 jours maximum |
| Fine-tuner pour un usage non commercial | ✅ Oui, le dérivé reste sous Licence Kouman et mentionne « Basé sur Kouman AI, de Tree AI Lab » |
| Héberger le modèle pour des tiers (API, chatbot, SaaS), même gratuitement | ❌ Non, sauf accord écrit |
| Usage commercial, intégration dans un produit ou service, usage en production | ❌ Non, licence commerciale requise |
Modèle de base : Llama 3.2 1B de Meta. Modèle modifié par Tree AI Lab (pré-entraînement continu + fine-tuning supervisé).
Built with Llama. Llama 3.2 is licensed under the Llama 3.2 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved. Texte complet : LICENSE-LLAMA. Politique d'usage : https://www.llama.com/llama3_2/use-policy
Licence commerciale : ngangoulajaures@gmail.com · daniel.sossa@epitech.eu
Données personnelles : les informations demandées dans le formulaire d'accès (nom, organisation, pays, usage prévu) servent uniquement à vérifier le respect de la licence. Pour y accéder ou les faire supprimer : ngangoulajaures@gmail.com.
Copyright © 2026 Ngangoula Jaures, Zousko Nicanor et Daniel Sossa (Tree AI Lab).
- Downloads last month
- 1,842