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:
# 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
Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -0
tokenizer_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"langs": ["en", "de"], "model_max_length": 1024, "special_tokens_map_file": null, "full_tokenizer_file": null}
|