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.
Instructions to use CapitainVigs/mece-tunepigier-9b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CapitainVigs/mece-tunepigier-9b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CapitainVigs/mece-tunepigier-9b") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("CapitainVigs/mece-tunepigier-9b") model = AutoModelForCausalLM.from_pretrained("CapitainVigs/mece-tunepigier-9b", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CapitainVigs/mece-tunepigier-9b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CapitainVigs/mece-tunepigier-9b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CapitainVigs/mece-tunepigier-9b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/CapitainVigs/mece-tunepigier-9b
- SGLang
How to use CapitainVigs/mece-tunepigier-9b with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "CapitainVigs/mece-tunepigier-9b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CapitainVigs/mece-tunepigier-9b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "CapitainVigs/mece-tunepigier-9b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CapitainVigs/mece-tunepigier-9b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use CapitainVigs/mece-tunepigier-9b with Docker Model Runner:
docker model run hf.co/CapitainVigs/mece-tunepigier-9b
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.pydu 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