Translation
Transformers
Safetensors
gemma3_text
text-generation
african-languages
low-resource
gemma3
english-to-african
grpo
archive
branches
text-generation-inference
Instructions to use AletheiaAING/gemma-0.4B-translate-rl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AletheiaAING/gemma-0.4B-translate-rl with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="AletheiaAING/gemma-0.4B-translate-rl")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("AletheiaAING/gemma-0.4B-translate-rl") model = AutoModelForCausalLM.from_pretrained("AletheiaAING/gemma-0.4B-translate-rl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
7 days ago
-
Model card: plainer wording
Verified signature4cc8d36
8 days ago
-
Model card: remove data-source notes, contamination wording and LICENSE.md
Verified signature0200396 -
Model card: shorter summary (performance, usage, licence, training overview)
Verified signature3a41b5d
11 days ago
-
credit line: Translation models by Aletheia AI
Verified signature3fee887 -
model card: usage, language tags, per-language results, comparison
Verified signature6c9587d -
model card: usage, language tags, per-language results, comparison
Verified signature810bacc -
cards: attribution wording, remove research-only caveats
Verified signatureac0a6a9 -
licence: commercial use with attribution
Verified signature0d42b15 -
model card: usage, language tags, per-language results, comparison
Verified signature30a90a3
24 days ago
-
Super-squash branch 'main' using huggingface_hub
edae7fc