Instructions to use tweettemposhift/hate-hate_random0_seed2-bernice with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tweettemposhift/hate-hate_random0_seed2-bernice with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tweettemposhift/hate-hate_random0_seed2-bernice")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tweettemposhift/hate-hate_random0_seed2-bernice") model = AutoModelForSequenceClassification.from_pretrained("tweettemposhift/hate-hate_random0_seed2-bernice") - Notebooks
- Google Colab
- Kaggle
| {"test/eval_loss": 0.5446199178695679, "test/eval_f1": 0.6708860759493671, "test/eval_accuracy": 0.8586956521739131, "test/eval_runtime": 0.5721, "test/eval_samples_per_second": 643.214, "test/eval_steps_per_second": 80.402} |