Instructions to use Tron21/roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Tron21/roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Tron21/roberta-base")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Tron21/roberta-base") model = AutoModelForSequenceClassification.from_pretrained("Tron21/roberta-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "eval_loss": 1.1640219688415527, | |
| "eval_f1_weighted": 0.61800263898399, | |
| "eval_f1_micro": 0.6231884057971014, | |
| "eval_f1_macro": 0.47229721194417307, | |
| "eval_runtime": 1.2455, | |
| "eval_samples_per_second": 1883.519, | |
| "eval_steps_per_second": 15.254, | |
| "epoch": 15.0 | |
| } |