Instructions to use tweettemposhift/topic-topic_random3_seed2-bertweet-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tweettemposhift/topic-topic_random3_seed2-bertweet-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tweettemposhift/topic-topic_random3_seed2-bertweet-base")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tweettemposhift/topic-topic_random3_seed2-bertweet-base") model = AutoModelForSequenceClassification.from_pretrained("tweettemposhift/topic-topic_random3_seed2-bertweet-base") - Notebooks
- Google Colab
- Kaggle
| {"test/eval_loss": 0.1405942142009735, "test/eval_f1": 0.6233009708737864, "test/eval_f1_macro": 0.19234644660367153, "test/eval_accuracy": 0.42417061611374407, "test/eval_runtime": 2.1985, "test/eval_samples_per_second": 191.947, "test/eval_steps_per_second": 12.281} |