Instructions to use IMSyPP/hate_speech_it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IMSyPP/hate_speech_it with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="IMSyPP/hate_speech_it")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("IMSyPP/hate_speech_it") model = AutoModelForSequenceClassification.from_pretrained("IMSyPP/hate_speech_it", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
46e36cd
-
Update README.md
3bf9952
-
Update README.md
1f478c2
-
replacing config.json
e49b22f -
replacing config.json
266b810 -
replacing config.json
a67d8e7 -
updated config so it works with automodel
44f0313
-
Update config.json
needed to add "model_type": "bert", for onnx conversionfe46116 -
Update config.json
fd4c4de
-
adding vocabulary files for alberto tokenizer
d10f96a
-
Update README.md
ea93c89
-
Update README.md
b82c604 -
Update README.md
51efe1a -
Create README.md
9ea4ae2 -
adding model and configuration
db558ec -
initial commit
45a6f03