Text Classification
Transformers
PyTorch
Arabic
t5
text2text-generation
Classification
ArabicT5
Text Classification
Instructions to use Hezam/ArabicT5_Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hezam/ArabicT5_Classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hezam/ArabicT5_Classification")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Hezam/ArabicT5_Classification") model = AutoModelForSeq2SeqLM.from_pretrained("Hezam/ArabicT5_Classification") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_from_model_config": true, | |
| "decoder_start_token_id": 0, | |
| "eos_token_id": 1, | |
| "pad_token_id": 0, | |
| "transformers_version": "4.26.1" | |
| } | |