Instructions to use amanda-901014/roberta-hard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use amanda-901014/roberta-hard with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="amanda-901014/roberta-hard")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("amanda-901014/roberta-hard") model = AutoModelForSequenceClassification.from_pretrained("amanda-901014/roberta-hard", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload 10 files
Verified signaturead13a96 -
initial commit
Verified signature6640e9e