Instructions to use SotirisLegkas/multi_hate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SotirisLegkas/multi_hate with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SotirisLegkas/multi_hate")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SotirisLegkas/multi_hate") model = AutoModelForSequenceClassification.from_pretrained("SotirisLegkas/multi_hate", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 319 Bytes
d30010b | 1 2 3 4 5 6 7 8 9 10 | {
"predict_accuracy": 0.8836864994910706,
"predict_loss": 0.3744296729564667,
"predict_macro_f1": 0.8637860865502092,
"predict_micro_f1": 0.8836864994910706,
"predict_runtime": 43.8041,
"predict_samples": 10807,
"predict_samples_per_second": 246.712,
"predict_steps_per_second": 15.432
} |