Instructions to use karths/High_priority_roberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/High_priority_roberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/High_priority_roberta")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/High_priority_roberta") model = AutoModelForSequenceClassification.from_pretrained("karths/High_priority_roberta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| {"0": {"precision": 0.9938446386802905, "recall": 0.9927447122479095, "f1-score": 0.9932943709627806, "support": 32528}, "1": {"precision": 0.9926785381894894, "recall": 0.9937884340642276, "f1-score": 0.9932331760615842, "support": 32198}, "accuracy": 0.9932639124926613, "macro avg": {"precision": 0.9932615884348899, "recall": 0.9932665731560686, "f1-score": 0.9932637735121824, "support": 64726}, "weighted avg": {"precision": 0.9932645610669232, "recall": 0.9932639124926613, "f1-score": 0.9932639295106792, "support": 64726}} |