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