Instructions to use tweettemposhift/hate-hate_random2_seed1-roberta-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tweettemposhift/hate-hate_random2_seed1-roberta-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tweettemposhift/hate-hate_random2_seed1-roberta-large")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tweettemposhift/hate-hate_random2_seed1-roberta-large") model = AutoModelForSequenceClassification.from_pretrained("tweettemposhift/hate-hate_random2_seed1-roberta-large") - Notebooks
- Google Colab
- Kaggle
| {"test/eval_loss": 0.28178074955940247, "test/eval_f1": 0.6296296296296297, "test/eval_accuracy": 0.8913043478260869, "test/eval_runtime": 1.5191, "test/eval_samples_per_second": 242.256, "test/eval_steps_per_second": 30.282} |