Instructions to use Hexye/sarcasm-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hexye/sarcasm-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hexye/sarcasm-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Hexye/sarcasm-classifier") model = AutoModelForSequenceClassification.from_pretrained("Hexye/sarcasm-classifier") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Update dataset YAML metadata for model
#1
by librarian-bot - opened
This is a pull request to add a dataset, liamvbetts/sarcastic-news-headlines-1, to the metadata for your model (defined in the YAML block of your model's README.md).
The pull request was made by librarian-bot and used a combination of rules and/or machine learning to suggest this additional metadata.
If this suggestion is incorrect, feel free to close this pull request.
Librarian Bot was made by @davanstrien; feel free to get in touch with feedback.
Hexye changed pull request status to merged