Instructions to use whatdhack/mt5-small-finetuned-amazon-en-es-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use whatdhack/mt5-small-finetuned-amazon-en-es-1 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("whatdhack/mt5-small-finetuned-amazon-en-es-1") model = AutoModelForSeq2SeqLM.from_pretrained("whatdhack/mt5-small-finetuned-amazon-en-es-1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from whatdhack/mt5-small-finetuned-amazon-en-es-1: direct link, hf CLI and curl.
- Browser
- Download file 437 Bytes
-
https://huggingface.co/whatdhack/mt5-small-finetuned-amazon-en-es-1/resolve/17cb1adf0a786f79b70a1bdc4364870f31a76095/tokenizer_config.json
- Command line
-
hf download hf://whatdhack/mt5-small-finetuned-amazon-en-es-1@17cb1adf0a786f79b70a1bdc4364870f31a76095/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/whatdhack/mt5-small-finetuned-amazon-en-es-1/resolve/17cb1adf0a786f79b70a1bdc4364870f31a76095/tokenizer_config.json
437 Bytes
| { | |
| "additional_special_tokens": null, | |
| "eos_token": "</s>", | |
| "extra_ids": 0, | |
| "name_or_path": "google/mt5-small", | |
| "pad_token": "<pad>", | |
| "sp_model_kwargs": {}, | |
| "special_tokens_map_file": "/home/sgoswami/.cache/huggingface/transformers/685ac0ca8568ec593a48b61b0a3c272beee9bc194a3c7241d15dcadb5f875e53.f76030f3ec1b96a8199b2593390c610e76ca8028ef3d24680000619ffb646276", | |
| "tokenizer_class": "T5Tokenizer", | |
| "unk_token": "<unk>" | |
| } | |