Instructions to use BlindMan820/Sarcastic-News-Headlines with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BlindMan820/Sarcastic-News-Headlines with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="BlindMan820/Sarcastic-News-Headlines")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("BlindMan820/Sarcastic-News-Headlines") model = AutoModelForSequenceClassification.from_pretrained("BlindMan820/Sarcastic-News-Headlines") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Error:"datasets[0]" with value "Kaggle Dataset" is not valid. If possible, use a dataset id from https://hf.co/datasets.
YAML Metadata Error:"language[0]" must only contain lowercase characters
YAML Metadata Error:"language[0]" with value "English" is not valid. It must be an ISO 639-1, 639-2 or 639-3 code (two/three letters), or a special value like "code", "multilingual". If you want to use BCP-47 identifiers, you can specify them in language_bcp47.
- Downloads last month
- 11