Downloads · 30 days
26
15% of all-time downloads
ciskoM/wolof-qwen-1.5b
wolof-qwen-1.5b is a text generation model from ciskoM. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-nc-4.0.
A fine-tune of Qwen2.5-1.5B-Instruct for the Wolof language. It can hold a chat conversation and translate between Wolof ↔ French ↔ English.
Downloads · 30 days
26
15% of all-time downloads
All-time downloads
169
Public
Parameters
1.5B
3.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.1 GB · 100%
From the Hugging Face model README
A fine-tune of Qwen2.5-1.5B-Instruct for the Wolof language. It can hold a chat conversation and translate between Wolof ↔ French ↔ English.
Trained with Unsloth (QLoRA, 4-bit) on a single GPU.
Transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("ciskoM/wolof-qwen-1.5b")
model = AutoModelForCausalLM.from_pretrained("ciskoM/wolof-qwen-1.5b", device_map="auto")
msgs = [{"role": "user", "content": "Translate to Wolof: Good morning, how are you?"}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt").to(model.device)
print(tok.decode(model.generate(ids, max_new_tokens=64)[0], skip_special_tokens=True))
GGUF (Ollama / LM Studio / llama.cpp) — see the companion repo
ciskoM/wolof-qwen-1.5b-gguf (q4_k_m). With Ollama:
ollama create wolof -f Modelfile # Modelfile: FROM ./wolof-qwen.Q4_K_M.gguf
ollama run wolof
Example prompts: Translate to Wolof: …, Traduis en wolof : …,
What does "Jamm rekk" mean in English?, Nanga def?
~120k instruction pairs (ShareGPT format), balanced across translation directions plus monolingual Wolof:
| Source | Content |
|---|---|
bilalfaye/english-wolof-french-translation | aligned en/wo/fr sentences |
galsenai/centralized_wolof_french_translation_data | aligned wo/fr sentences |
| ALMA / DLIR Wolof e-books (13) | OCR'd authentic Wolof prose |
| wolofresources.org PDFs + UDHR Wolof | proverbs, tales, vocabulary |
| Wolof New Testament (bibliamundi) | clean verse-numbered scripture |
The dataset is ~96% translation pairs; bidirectional pairs (en2wo, wo2en, fr2wo, wo2fr) were generated with varied prompt templates.
Qwen/Qwen2.5-1.5B-Instruct, loaded 4-bittrain_on_responses_only)SFTTrainer/SFTConfigModel weights derive from Qwen2.5 (Apache-2.0). However, the training data provenance is mixed: the translation corpora are subtitle/film-sourced and the scripture is from a translation that may carry its own copyright. This card is released CC-BY-NC-4.0 as a conservative default. Verify the licenses of the underlying datasets before any commercial use or redistribution.
Datasets by bilalfaye and the GalsenAI community; ALMA/DLIR African Language Materials Archive; wolofresources.org; Biblia Mundi. Built with Unsloth.