Sunbird / Sunflower-14B

huggingface.co
Total runs: 3.3K
24-hour runs: 0
7-day runs: 93
30-day runs: 2.0K
Model's Last Updated: Octubre 09 2025
text-generation

Introduction of Sunflower-14B

Model Details of Sunflower-14B

🌻 Sunflower-14B Model Card

Model Description

🌻 Sunflower-14B is a multilingual language model developed by Sunbird AI for Ugandan languages. Built on the Qwen 3-14B 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-14B'
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)
API Access

For production use, the model is available through the Sunbird AI API at https://api.sunbird.ai/

Training Details
Training Data

The model was trained on approximately 750 million characters of text collected from:

  • Digitized books and educational materials
  • Radio transcripts (500+ hours transcribed)
  • Web data from MADLAD-400 and Common Crawl
  • Existing multilingual datasets (SALT, FLORES-200, MT560, TICO-19)
  • Dictionaries, proverbs, and cultural documents
Training Procedure

Stage 1: Continued Pretraining

  • Base model: Qwen 3-14B
  • Training time: ~6 hours on 4× H200 GPUs
  • Objective: Next token prediction
  • Configuration: DeepSpeed ZeRO-3, batch size 32,768 tokens, learning rate 1e-4

Stage 2: Supervised Fine-Tuning

  • Dataset: ~700 instruction-response pairs
  • Method: LoRA (rank 16, alpha 16)
  • Training includes: translation, question-answering, summarization
  • Loss computed only on response tokens

Stage 3: Preference Optimization

  • Method: Iterative Reasoning Preference Optimization (RPO)
  • 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.419
  • chrF (eng→xx): 0.366
  • BLEU (xx→eng): 19.61

Sunflower-14B achieves the highest accuracy in 24 of 31 languages when averaging bidirectional chrF scores.

Comparison with Other Models
Model chrF (xx→eng) chrF (eng→xx)
Sunflower-14B 0.419 0.366
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 Regional Approach to Large Language Models for Ugandan Languages},
  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}
}
Model Card Contact

For questions or issues, contact: [email protected]

Runs of Sunbird Sunflower-14B on huggingface.co

3.3K
Total runs
0
24-hour runs
0
3-day runs
93
7-day runs
2.0K
30-day runs

More Information About Sunflower-14B huggingface.co Model

More Sunflower-14B license Visit here:

https://choosealicense.com/licenses/apache-2.0

Sunflower-14B huggingface.co

Sunflower-14B huggingface.co is an AI model on huggingface.co that provides Sunflower-14B's model effect (), which can be used instantly with this Sunbird Sunflower-14B model. huggingface.co supports a free trial of the Sunflower-14B model, and also provides paid use of the Sunflower-14B. Support call Sunflower-14B model through api, including Node.js, Python, http.

Sunflower-14B huggingface.co Url

https://huggingface.co/Sunbird/Sunflower-14B

Sunbird Sunflower-14B online free

Sunflower-14B huggingface.co is an online trial and call api platform, which integrates Sunflower-14B's modeling effects, including api services, and provides a free online trial of Sunflower-14B, you can try Sunflower-14B online for free by clicking the link below.

Sunbird Sunflower-14B online free url in huggingface.co:

https://huggingface.co/Sunbird/Sunflower-14B

Sunflower-14B install

Sunflower-14B is an open source model from GitHub that offers a free installation service, and any user can find Sunflower-14B on GitHub to install. At the same time, huggingface.co provides the effect of Sunflower-14B install, users can directly use Sunflower-14B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Sunflower-14B install url in huggingface.co:

https://huggingface.co/Sunbird/Sunflower-14B

Url of Sunflower-14B

Sunflower-14B huggingface.co Url

Provider of Sunflower-14B huggingface.co

Sunbird
ORGANIZATIONS

Other API from Sunbird

huggingface.co

Total runs: 2.1K
Run Growth: 321
Growth Rate: 15.29%
Updated:Octubre 09 2025
huggingface.co

Total runs: 263
Run Growth: 0
Growth Rate: 0.00%
Updated:Julio 01 2024
huggingface.co

Total runs: 21
Run Growth: 16
Growth Rate: 72.73%
Updated:Febrero 14 2025
huggingface.co

Total runs: 11
Run Growth: -2
Growth Rate: -18.18%
Updated:Octubre 19 2023
huggingface.co

Total runs: 9
Run Growth: 3
Growth Rate: 33.33%
Updated:Septiembre 11 2023
huggingface.co

Total runs: 8
Run Growth: 0
Growth Rate: 0.00%
Updated:Enero 09 2023
huggingface.co

Total runs: 4
Run Growth: 0
Growth Rate: 0.00%
Updated:Febrero 10 2023
huggingface.co

Total runs: 3
Run Growth: -1
Growth Rate: -33.33%
Updated:Diciembre 14 2023
huggingface.co

Total runs: 3
Run Growth: 0
Growth Rate: 0.00%
Updated:Octubre 19 2023
huggingface.co

Total runs: 1
Run Growth: -43
Growth Rate: -4300.00%
Updated:Octubre 19 2023
huggingface.co

Total runs: 1
Run Growth: 1
Growth Rate: 100.00%
Updated:Febrero 10 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:Febrero 08 2021