Instructions to use karths/medium_priority_roberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/medium_priority_roberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/medium_priority_roberta")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/medium_priority_roberta") model = AutoModelForSequenceClassification.from_pretrained("karths/medium_priority_roberta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "precision": 0.08216840369402846, | |
| "recall": 0.06652004215539391, | |
| "f1": 0.07455198757576255, | |
| "auc": 0.041123738040960776, | |
| "acc": 0.07552812871824857, | |
| "mcc": 0.15064040133009118 | |
| } |