Instructions to use pysentimiento/bert-it-hate-speech with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pysentimiento/bert-it-hate-speech with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="pysentimiento/bert-it-hate-speech")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("pysentimiento/bert-it-hate-speech") model = AutoModelForSequenceClassification.from_pretrained("pysentimiento/bert-it-hate-speech") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1
by SFconvertbot - opened
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b4628a23f99da76a8b5696575d62d2e2710b106951fd2501345d30263dbbbd23
|
| 3 |
+
size 439750736
|