Instructions to use cti-ttp-18/flant5-few-shottttt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cti-ttp-18/flant5-few-shottttt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cti-ttp-18/flant5-few-shottttt")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cti-ttp-18/flant5-few-shottttt") model = AutoModelForSequenceClassification.from_pretrained("cti-ttp-18/flant5-few-shottttt") - Notebooks
- Google Colab
- Kaggle