Instructions to use anonimpala/luganda-nmt-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anonimpala/luganda-nmt-model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("anonimpala/luganda-nmt-model") model = AutoModelForSeq2SeqLM.from_pretrained("anonimpala/luganda-nmt-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from anonimpala/luganda-nmt-model: direct link, hf CLI and curl.
- Browser
- Download file 32.2 MB
-
https://huggingface.co/anonimpala/luganda-nmt-model/resolve/main/tokenizer.json
- Command line
-
hf download hf://anonimpala/luganda-nmt-model/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/anonimpala/luganda-nmt-model/resolve/main/tokenizer.json
32.2 MB
- Xet hash:
- 0bd64612c2324b4d85f6ecc634c045a36e78a2ca4fdb69fbd67985004c76922b
- Size of remote file:
- 32.2 MB
- SHA256:
- 8b34d001dcc3732e4e7c1258fe1a1d2d02635b649d70d7f6f2c32c4e8c027db7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.