Instructions to use resul-ai/roberta-news-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use resul-ai/roberta-news-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="resul-ai/roberta-news-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("resul-ai/roberta-news-classifier") model = AutoModelForSequenceClassification.from_pretrained("resul-ai/roberta-news-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- cbafede1d90989981cce96dba53be468ce02672f8e5d0d799afc53962d838dbf
- Size of remote file:
- 3.38 kB
- SHA256:
- 6becb49814f95be74a9561ef4f0ad0cbc48a4839e0395ba8b966ec142a042f2f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.