Instructions to use mptrigo/run1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mptrigo/run1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("mptrigo/run1") model = AutoModelForSeq2SeqLM.from_pretrained("mptrigo/run1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from mptrigo/run1: direct link, hf CLI and curl.
- Browser
- Download file 296 Bytes
-
https://huggingface.co/mptrigo/run1/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://mptrigo/run1/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/mptrigo/run1/resolve/main/tokenizer_config.json
296 Bytes
| {"source_lang": "es", "target_lang": "es", "unk_token": "<unk>", "eos_token": "</s>", "pad_token": "<pad>", "model_max_length": 512, "sp_model_kwargs": {}, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "Helsinki-NLP/opus-mt-es-es", "tokenizer_class": "MarianTokenizer"} |