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.9929502243110446, "recall": 0.9957155098543273, "acc": 0.9943953894146883, "mcc": 0.9887930895753908, "f1": 0.9943309444860413, "auc": 0.9996470227915908} |