Instructions to use JBW/da_en_translation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JBW/da_en_translation with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("JBW/da_en_translation") model = AutoModelForSeq2SeqLM.from_pretrained("JBW/da_en_translation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from JBW/da_en_translation: direct link, hf CLI and curl.
- Browser
- Download file 112 Bytes
-
https://huggingface.co/JBW/da_en_translation/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://JBW/da_en_translation/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/JBW/da_en_translation/resolve/main/tokenizer_config.json
112 Bytes
| {"bos_token": "[BOS]", "eos_token": "[EOS]", "pad_token": "[PAD]", "tokenizer_class": "PreTrainedTokenizerFast"} |