Instructions to use tweettemposhift/hate-hate_random2_seed2-bertweet-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tweettemposhift/hate-hate_random2_seed2-bertweet-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tweettemposhift/hate-hate_random2_seed2-bertweet-base")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tweettemposhift/hate-hate_random2_seed2-bertweet-base") model = AutoModelForSequenceClassification.from_pretrained("tweettemposhift/hate-hate_random2_seed2-bertweet-base") - Notebooks
- Google Colab
- Kaggle
File size: 224 Bytes
102bf09 | 1 | {"test/eval_loss": 0.3859424591064453, "test/eval_f1": 0.21333333333333335, "test/eval_accuracy": 0.8396739130434783, "test/eval_runtime": 0.597, "test/eval_samples_per_second": 616.443, "test/eval_steps_per_second": 77.055} |