Run this model with HF Jobs

Run CapitainVigs/mece-tunepigier-9b on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/CapitainVigs/mece-tunepigier-9b. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/CapitainVigs/mece-tunepigier-9b on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/CapitainVigs/mece-tunepigier-9b. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/CapitainVigs/mece-tunepigier-9b. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

MฦCE โ€” Tune_Pigier (Qwen 3.5 9B fine-tunรฉ Fongbe, modรจle fusionnรฉ)

Modรจle de langue conversationnel centrรฉ sur le Fongbe (fon), cล“ur de l'assistant vocal MฦCE. Version fusionnรฉe (poids QLoRA mergรฉs dans le modรจle de base), chargeable directement avec transformers.

Dรฉtails

  • Base : Qwen 3.5 9B (multilingue), tokenizer รฉtendu de +82 tokens Fongbe (caractรจres ษ”, ษ›, ษ– + sous-mots) โ†’ byte-fallback ramenรฉ de 49,24 % ร  0 %.
  • Mรฉthode : QLoRA (NF4, r=64, ฮฑ=128, dropout 0,05), embeddings dรฉgelรฉes (embed_tokens, lm_head), calcul bf16. ~116 M paramรจtres entraรฎnables (1,28 %).
  • Entraรฎnement : 3 รฉpoques, 2ร— RTX 5090 (DDP), ~140 K exemples (cf. dataset associรฉ). Loss eval finale 0,378, mean token accuracy 90,0 %.
  • Capacitรฉs : conversation en Fongbe, franรงais prรฉservรฉ, traduction FR/ENโ†”FON.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

tok = AutoTokenizer.from_pretrained("CapitaineVigs/mece-tunepigier-9b")
model = AutoModelForCausalLM.from_pretrained(
    "CapitaineVigs/mece-tunepigier-9b", torch_dtype=torch.bfloat16, device_map="auto")

messages = [
    {"role": "system", "content": "Hwi wษ› nyรญ Mฦ CE, alษ”gษ”ฬnรบtษ”ฬ gbษ›tษ”ฬ lษ› tษ”n. A nษ” na xรณsin ษ–รฒ Fษ”ngbรจ mษ› hwebวnu."},
    {"role": "user", "content": "A fษ”n ganji a ?"},
]
prompt = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
out = model.generate(**tok(prompt, return_tensors="pt").to(model.device), max_new_tokens=256)
print(tok.decode(out[0], skip_special_tokens=True))

Note d'infรฉrence : forcer l'EOS sur <|im_end|> et bannir les single-byte tokens non-ASCII รฉvite les artefacts (sรฉquelle corrigรฉe en phase 4c). Cf. app/llm.py du projet.

Limites

STT/TTS non inclus (modรจles tiers intรฉgrรฉs dans l'app). Corpus encore en partie biblique~; pas de benchmark conversationnel Fongbe standardisรฉ.

Licence

ร  reporter explicitement ici.

Citation

HOUNSOU Vignikin Gerรจs, MฦCE : assistant vocal Fongbe basรฉ sur un grand modรจle de langue fine-tunรฉ, ร‰cole PIGIER Bรฉnin, 2026.

Downloads last month
14
Safetensors
Model size
9B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support