Instructions to use HiTZ/mt-hitz-eu-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HiTZ/mt-hitz-eu-es with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("HiTZ/mt-hitz-eu-es") model = AutoModelForSeq2SeqLM.from_pretrained("HiTZ/mt-hitz-eu-es", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from HiTZ/mt-hitz-eu-es: direct link, hf CLI and curl.
- Browser
- Download file 65 Bytes
-
https://huggingface.co/HiTZ/mt-hitz-eu-es/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://HiTZ/mt-hitz-eu-es/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/HiTZ/mt-hitz-eu-es/resolve/main/special_tokens_map.json
65 Bytes
| {"eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>"} |