Instructions to use KigenCHESS/eng-sw_TranslationModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KigenCHESS/eng-sw_TranslationModel with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("KigenCHESS/eng-sw_TranslationModel") model = AutoModelForSeq2SeqLM.from_pretrained("KigenCHESS/eng-sw_TranslationModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from KigenCHESS/eng-sw_TranslationModel: direct link, hf CLI and curl.
- Browser
- Download file 1.45 MB
-
https://huggingface.co/KigenCHESS/eng-sw_TranslationModel/resolve/main/vocab.json
- Command line
-
hf download hf://KigenCHESS/eng-sw_TranslationModel/vocab.json
-
curl -L -o vocab.json https://huggingface.co/KigenCHESS/eng-sw_TranslationModel/resolve/main/vocab.json
1.45 MB
File too large to display, you can check the raw version instead.