Instructions to use valurank/distilroberta-clickbait with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use valurank/distilroberta-clickbait with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="valurank/distilroberta-clickbait")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("valurank/distilroberta-clickbait") model = AutoModelForSequenceClassification.from_pretrained("valurank/distilroberta-clickbait", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
294a3fc -
Create LICENSE
ee175b5
-
Update README.md
1b32bb4 -
Add tokenizer.
21650a9 -
update model card README.md
1e7bf4c -
Add model.
b736579 -
initial commit
ffd151e