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
Download tokenizer.json from AletheiaAING/gemma-0.4B-translate-rl: direct link, hf CLI and curl.
- Browser
- Download file 33.4 MB
-
https://huggingface.co/AletheiaAING/gemma-0.4B-translate-rl/resolve/main/tokenizer.json
- Command line
-
hf download hf://AletheiaAING/gemma-0.4B-translate-rl/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/AletheiaAING/gemma-0.4B-translate-rl/resolve/main/tokenizer.json
33.4 MB
- Xet hash:
- 5edb3c2cc001ff6cb63bdb9d0803add3dad7da07df03cae6ecbf3dac48ebd33d
- Size of remote file:
- 33.4 MB
- SHA256:
- 94f61e8c570716dc939bb695d7a886d7d197aa0a96e13429d6e93cfc6825e9b3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.