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