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
File size: 531 Bytes
444c870 | 1 | {"0": {"precision": 0.9958119568631557, "recall": 0.9931084890884411, "f1-score": 0.9944583856127144, "support": 19154}, "1": {"precision": 0.9929502243110446, "recall": 0.9957155098543273, "f1-score": 0.9943309444860413, "support": 18672}, "accuracy": 0.9943953894146883, "macro avg": {"precision": 0.9943810905871002, "recall": 0.9944119994713843, "f1-score": 0.9943946650493778, "support": 37826}, "weighted avg": {"precision": 0.9943993234836543, "recall": 0.9943953894146883, "f1-score": 0.9943954770123538, "support": 37826}} |