Instructions to use knowledgator/comprehend_it-multilingual-t5-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use knowledgator/comprehend_it-multilingual-t5-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="knowledgator/comprehend_it-multilingual-t5-base")# Load model directly from transformers import T5ForZeroShotClassification model = T5ForZeroShotClassification.from_pretrained("knowledgator/comprehend_it-multilingual-t5-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "additional_special_tokens": null, | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "</s>", | |
| "extra_ids": 0, | |
| "max_length": 1024, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_to_multiple_of": null, | |
| "pad_token": "<pad>", | |
| "pad_token_type_id": 0, | |
| "padding_side": "right", | |
| "sp_model_kwargs": {}, | |
| "stride": 0, | |
| "tokenizer_class": "T5Tokenizer", | |
| "truncation_side": "right", | |
| "truncation_strategy": "longest_first", | |
| "unk_token": "<unk>" | |
| } | |