🌻 Sunflower-32B is a multilingual language model developed by Sunbird AI for Ugandan languages. Built on the Qwen 3-32B architecture, the model supports translation and text generation across 31 Ugandan languages plus English. The model achieves the highest translation accuracy among evaluated models in 24 of 31 language pairs.
Developed by:
Sunbird AI
Model type:
Causal language model
Languages:
31 Ugandan languages + English (see language codes above)
Intended Uses
Primary Use Cases
Translation between English and Ugandan languages
Translation between Ugandan languages
Text generation in Ugandan languages
Question answering in Ugandan languages
Example Usage
import transformers
import torch
MODEL_PATH = 'Sunbird/Sunflower-32B'
SYSTEM_MESSAGE = 'You are Sunflower, a multilingual assistant made by Sunbird AI who understands all Ugandan languages. You specialise in accurate translations, explanations, summaries and other cross-lingual tasks.'
tokenizer = transformers.AutoTokenizer.from_pretrained(MODEL_PATH)
model = transformers.AutoModelForCausalLM.from_pretrained(
MODEL_PATH,
torch_dtype=torch.bfloat16,
device_map='auto',
)
instruction = "Translate from Luganda to English: Wano webawaaba?"
messages = [
{"role": "system", "content": SYSTEM_MESSAGE},
{"role": "user", "content": instruction}
]
prompt = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
)
inputs = tokenizer([prompt], return_tensors="pt").to('cuda')
outputs = model.generate(
**inputs,
max_new_tokens=500,
num_beams=5,
do_sample=True,
temperature=0.5,
)
response = tokenizer.decode(outputs[0][len(inputs['input_ids'][0]):], skip_special_tokens=True)
print(response)
Focus: Reducing glitching behavior and hallucinations
Alpha parameter: 1.0
Evaluation
Translation Performance
The model was evaluated on a custom dataset with 100 sentences across 20 practical scenarios (healthcare, banking, education, agriculture, etc.) covering 31 Ugandan languages.
Average scores across 31 languages:
chrF (xx→eng): 0.435
chrF (eng→xx): 0.357
BLEU (xx→eng): 20.625
BLEU (en→xx): 7.598
Sunflower-32B achieves the highest accuracy in 25 of 31 languages when averaging bidirectional chrF scores.
Comparison with Other Models
Model
chrF (xx→eng)
chrF (eng→xx)
Sunflower-32B
0.435
0.357
Gemini 2.5 Pro
0.408
0.301
GPT-4o
0.354
0.235
Limitations
Performance varies across languages based on training data availability
Limited evaluation on tasks beyond translation and basic question-answering
May generate content that reflects biases present in training data
Not suitable for critical applications (medical diagnosis, legal advice) without human oversight
Works best with text similar to training distribution
Bias and Ethical Considerations
The model was trained on data that includes historical texts, which may contain outdated views. Users should be aware that:
Some translations use archaic language forms
Training data filtering focused on removing harmful content but cannot guarantee absence of all biases
Model outputs should be reviewed by speakers of the target language for critical applications
Citation
@misc{sunflower2025,
title={Sunflower: A New Approach To Expanding Coverage of African Languages in Large Language Models},
author={Akera, Benjamin and Nafula, Evelyn and Yiga, Gilbert and Natukunda, Phionah and Nsumba, Solomon and Muhanguzi, Joel and Namara, Janat and Sekalala, Imran and Walukagga, Patrick and Bainomugisha, Engineer and Mwebaze, Ernest and Quinn, John},
year={2025},
publisher={Sunbird AI}
}
Sunflower-32B huggingface.co is an AI model on huggingface.co that provides Sunflower-32B's model effect (), which can be used instantly with this Sunbird Sunflower-32B model. huggingface.co supports a free trial of the Sunflower-32B model, and also provides paid use of the Sunflower-32B. Support call Sunflower-32B model through api, including Node.js, Python, http.
Sunflower-32B huggingface.co is an online trial and call api platform, which integrates Sunflower-32B's modeling effects, including api services, and provides a free online trial of Sunflower-32B, you can try Sunflower-32B online for free by clicking the link below.
Sunbird Sunflower-32B online free url in huggingface.co:
Sunflower-32B is an open source model from GitHub that offers a free installation service, and any user can find Sunflower-32B on GitHub to install. At the same time, huggingface.co provides the effect of Sunflower-32B install, users can directly use Sunflower-32B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.