This is a quantized version of
Sunbird/Sunflower-14B
using the
NVFP4A16
quantization scheme. This model has been optimized for efficient inference
while maintaining model quality.
🌻 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)
Quantization Details
Quantization Method:
4-bit floating point weights with 16-bit activations
Base Model:
Sunbird/Sunflower-14B
Quantization Framework:
llmcompressor (vLLM)
Memory Efficiency:
~75% reduction in model size
Performance:
Optimized for NVIDIA GPUs with high throughput
Model Details
Model Description
This quantized model maintains the capabilities of the base 14B parameter model
while offering significant improvements in memory usage and inference speed.
Developed by:
Sunbird AI
Model type:
Quantized Large Language Model
Language(s):
Multilingual (with focus on East African languages)
from vllm import LLM
from vllm.sampling_params import SamplingParams
# Load the quantized model
model = LLM("Sunbird/Sunflower-14B-FP4A16", enforce_eager=True)
# Define sampling parameters
sampling_params = SamplingParams(
temperature=0.7,
top_p=0.9,
max_tokens=1000
)
# Method 1: Using chat template (recommended)
messages = [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Translate to Luganda: Uganda is a landlocked country in East Africa."}
]
# Apply chat template to format the messages
formatted_prompt = model.get_tokenizer().apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
# Generate response
outputs = model.generate([formatted_prompt], sampling_params)
print(outputs[0].outputs[0].text)
# Method 2: Direct text generation
prompt = "Explain the importance of biodiversity:"
outputs = model.generate([prompt], sampling_params)
print(outputs[0].outputs[0].text)
Hardware Requirements
Recommended:
GPU: NVIDIA GPU with Compute Capability 7.0+ (V100, A100, H100, or RTX 30xx/40xx series)
VRAM: 12-16GB (quantized from 28GB for FP16)
System RAM: 32GB+
Minimum:
GPU: NVIDIA GPU with 8GB VRAM
System RAM: 16GB+
Performance
Memory Efficiency
This quantized model provides significant memory savings compared to the original FP16 model:
Original Model Size (FP16):
~28GB
Quantized Model Size (FP4A16):
~7GB
Memory Reduction:
~75% reduction in model size
Inference Speed
Optimized for NVIDIA GPUs with high throughput. The quantized model typically shows:
Faster token generation compared to FP16
Lower latency for first token
Higher throughput for batch inference
Note: Actual performance may vary based on hardware, batch size, and sequence length.
Quantization Process
This model was quantized using the llmcompressor library from vLLM. Here's how you can reproduce the quantization:
from llmcompressor import oneshot
from llmcompressor.transformers import oneshot
from llmcompressor.modifiers.quantization import QuantizationModifier
# Quantization recipe for NVFP4A16
recipe =
quant_scheme: NVFP4A16
quant_modifiers:
QuantizationModifier:
scheme: NVFP4A16
Sunflower-14B-FP4A16 huggingface.co is an AI model on huggingface.co that provides Sunflower-14B-FP4A16's model effect (), which can be used instantly with this Sunbird Sunflower-14B-FP4A16 model. huggingface.co supports a free trial of the Sunflower-14B-FP4A16 model, and also provides paid use of the Sunflower-14B-FP4A16. Support call Sunflower-14B-FP4A16 model through api, including Node.js, Python, http.
Sunflower-14B-FP4A16 huggingface.co is an online trial and call api platform, which integrates Sunflower-14B-FP4A16's modeling effects, including api services, and provides a free online trial of Sunflower-14B-FP4A16, you can try Sunflower-14B-FP4A16 online for free by clicking the link below.
Sunbird Sunflower-14B-FP4A16 online free url in huggingface.co:
Sunflower-14B-FP4A16 is an open source model from GitHub that offers a free installation service, and any user can find Sunflower-14B-FP4A16 on GitHub to install. At the same time, huggingface.co provides the effect of Sunflower-14B-FP4A16 install, users can directly use Sunflower-14B-FP4A16 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Sunflower-14B-FP4A16 install url in huggingface.co: