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")# pip install -U transformers accelerate # 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
Download predict_results.json from SotirisLegkas/multi_hate: direct link, hf CLI and curl.
- Browser
- Download file 319 Bytes
-
https://huggingface.co/SotirisLegkas/multi_hate/resolve/main/predict_results.json
- Command line
-
hf download hf://SotirisLegkas/multi_hate/predict_results.json
-
curl -L -o predict_results.json https://huggingface.co/SotirisLegkas/multi_hate/resolve/main/predict_results.json
319 Bytes
| { | |
| "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 | |
| } |