Instructions to use tweettemposhift/hate-hate_random1_seed0-bertweet-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tweettemposhift/hate-hate_random1_seed0-bertweet-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tweettemposhift/hate-hate_random1_seed0-bertweet-base")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tweettemposhift/hate-hate_random1_seed0-bertweet-base") model = AutoModelForSequenceClassification.from_pretrained("tweettemposhift/hate-hate_random1_seed0-bertweet-base") - Notebooks
- Google Colab
- Kaggle
| {"test/eval_loss": 0.3273601830005646, "test/eval_f1": 0.676470588235294, "test/eval_accuracy": 0.8804347826086957, "test/eval_runtime": 0.5868, "test/eval_samples_per_second": 627.08, "test/eval_steps_per_second": 78.385} |