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