Instructions to use parlaval/laya-toxicity with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Laya
How to use parlaval/laya-toxicity with Laya:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Filtre de toxicitat (Laya)
Classificador de text utilitzat pel filtre de toxicitat implementat en ParlaVal. El model t茅 dues preguntes de moderaci贸:
- Nucli: insults, atacs, amenaces, odi, contingut sexual, assetjament o viol?ncia, sense comptar 煤nicament el llenguatge vulgar.
- Vulgar: 茅s de llenguatge vulgar.
El model es basa en jhu-clsp/mmBERT-base i es carrega amb la biblioteca Laya.
?s
from huggingface_hub import snapshot_download
import laya
model_path = snapshot_download("parlaval/laya-toxicity")
agent = laya.load(model_path)
Les etiquetes i les instruccions completes s贸n al fitxer questions.json.
- Downloads last month
- -
Model tree for parlaval/laya-toxicity
Base model
jhu-clsp/mmBERT-base