wikimind-moe-3B-A0.9B-instruct
conversational MoE model for French
2 min readupdated
Here we have a fine-tuned conversational language model built on a Mixture-of-Experts architecture. With a total size of around 3 billion parameters, it activates only about 0.9 billion per token, ensuring high operational speed. The model is based on the Qwen3 architecture and trained to answer questions accurately, maintain the specified language, and stop at the right time. It is a great fit for local deployment on affordable hardware thanks to available quantized versions.
Key features
- About 3 billion total parameters and 0.9 billion active per token (10 experts per layer, 2 active).
- Main focus on high-quality understanding and generation of responses in French.
- Fully open fine-tuning without complex RLHF (reinforcement learning from human feedback) and DPO (direct preference optimization) systems.
- Ready-to-use GGUF quantization files are available for running on regular computers via llama.cpp.
What you can do
- Run an interactive French-speaking assistant in a local chat application or bot.
- Integrate the model into Python scripts using the transformers library for text automation tasks.
- Deploy a lightweight version of the model on low-spec PCs or servers using the llama-cli utility.
Example
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "Tom09S/wikimind-moe-3B-A0.9B-instruct"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype=torch.bfloat16, device_map="auto")
messages = [{"role": "user", "content": "Explique simplement ce qu'est un réseau de neurones."}]
x = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt", return_dict=True).to(model.device)
out = model.generate(
**x,
max_new_tokens=300,
do_sample=True,
temperature=0.7,
top_p=0.9,
repetition_penalty=1.05,
eos_token_id=tok.eos_token_id,
)
print(tok.decode(out[0, x["input_ids"].shape[1]:], skip_special_tokens=True))Read more
DetailsBenchmarks: standard tests have not been run yet; an internal test of 10 prompts improved from 7 to 9 successful answers.
Hardware requirements: the F16 format requires about 6 GB, while the popular Q4_K_M quantization needs roughly 1.9 GB of VRAM/RAM.
Training: the model was fine-tuned (SFT) on a single Tesla T4 GPU for 8 hours on a dataset of 165 thousand examples.
Limitations: due to its small size, hallucinations, logic errors, and mistakes in complex math are possible.










Comments