Instructions to use tweettemposhift/topic-topic_random2_seed0-roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tweettemposhift/topic-topic_random2_seed0-roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tweettemposhift/topic-topic_random2_seed0-roberta-base")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tweettemposhift/topic-topic_random2_seed0-roberta-base") model = AutoModelForSequenceClassification.from_pretrained("tweettemposhift/topic-topic_random2_seed0-roberta-base") - Notebooks
- Google Colab
- Kaggle
| {"test/eval_loss": 0.12596386671066284, "test/eval_f1": 0.6770642201834862, "test/eval_f1_macro": 0.3625046610103826, "test/eval_accuracy": 0.477326968973747, "test/eval_runtime": 1.8969, "test/eval_samples_per_second": 220.891, "test/eval_steps_per_second": 14.234} |