Instructions to use ArunIcfoss/mt5-base-ICFOSS-malayalam_Hindi_Translator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ArunIcfoss/mt5-base-ICFOSS-malayalam_Hindi_Translator with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("google/mt5-base") model = PeftModel.from_pretrained(base_model, "ArunIcfoss/mt5-base-ICFOSS-malayalam_Hindi_Translator") - Notebooks
- Google Colab
- Kaggle
| { | |
| "add_prefix_space": true, | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "<pad>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "1": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "2": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "additional_special_tokens": [], | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "</s>", | |
| "extra_ids": 0, | |
| "legacy": true, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "num_labels": 2, | |
| "pad_token": "<pad>", | |
| "sp_model_kwargs": {}, | |
| "tokenizer_class": "T5Tokenizer", | |
| "unk_token": "<unk>" | |
| } | |