🇨🇮 Kouman AI 1.9 Instruct (Baoulé · Dioula · Français · Anglais)

Modèle conversationnel quadrilingue développé par Tree AI Lab (Côte d'Ivoire) avec alignement multi-tour renforcé, Dioula pédagogique étendu et identité naturelle.

  • Meilleure val_loss SFT V4.3 : 1.0224
  • Script autonome inclus : inference_kouman.py

Utilisation rapide (transformers)

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

depot = 'Tree-AI-lab/kouman-IA-1.9-1.5B-instruct'
tokenizer = AutoTokenizer.from_pretrained(depot)
modele = AutoModelForCausalLM.from_pretrained(
    depot,
    torch_dtype=torch.bfloat16,
    device_map='auto',
    attn_implementation='eager',
    trust_remote_code=True,
)

messages = [{'role': 'user', 'content': 'I ni sɔgɔma ! I tɔgɔ ye di ?'}]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
entrees = tokenizer(prompt, return_tensors='pt', add_special_tokens=False).to(modele.device)
ids_arret = [tokenizer.eos_token_id, tokenizer.convert_tokens_to_ids('<end_of_turn>')]
tokens_restants = modele.config.max_position_embeddings - entrees['input_ids'].shape[1]

sortie = modele.generate(
    **entrees,
    max_new_tokens=tokens_restants,
    do_sample=True,
    temperature=0.45,
    top_p=0.9,
    repetition_penalty=1.08,
    eos_token_id=ids_arret,
)
print(tokenizer.decode(sortie[0, entrees['input_ids'].shape[1]:], skip_special_tokens=True))

📊 Benchmarks Comparatifs (Publics & Côte d'Ivoire)

Évaluation reproductible sur le même GPU et les mêmes prompts : MMLU-Baoulé (300 QCM), MMLU-Français (300 QCM), ARC-Easy (300 QCM), FLORES-200 Dioula (devtest, chrF++), Baoulé Hold-Out OOD (chrF++) et Benchmark Maison Clavier Réel & Multi-tour.

Modèle Params (M) MMLU-Baoulé (%) MMLU-FR (%) ARC-Easy (%) FLORES FR→DYU (chrF++) FLORES DYU→FR (chrF++) OOD FR→BCI (chrF++) OOD BCI→FR (chrF++) Maison CI & Clavier (%) Score Afrique/CI Vitesse (tok/s)
Kouman AI 1.9 (Tree AI Lab) 2614 26.67 29 64.33 18.39 16.37 35.81 33.15 96.9 49.41 33.2
Kouman AI 1.8 (Tree AI Lab) 2614 26 30 64 18.31 18.34 39.49 33.81 90.6 47.53 35.5
Llama 3.2 1B-IT 1236 25.33 29.33 65.33 9.7 9.15 8.56 10.99 62.5 32.24 86.1
Qwen 2.5 1.5B-IT 1544 29.33 34.33 76.67 12.42 11.98 13.24 14.3 37.5 26.6 57.5

Comparaison par benchmark

Benchmark comparatif — Barres

Profil comparatif 6 axes

Profil comparatif 6 axes — Radar

Données complètes : assets/tableau_comparatif_kouman.csv.

Downloads last month
103
Safetensors
Model size
3B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support