Instructions to use BenjaminOcampo/model-hatebert__trained-in-toxigen__seed-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BenjaminOcampo/model-hatebert__trained-in-toxigen__seed-1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="BenjaminOcampo/model-hatebert__trained-in-toxigen__seed-1")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("BenjaminOcampo/model-hatebert__trained-in-toxigen__seed-1") model = AutoModelForSequenceClassification.from_pretrained("BenjaminOcampo/model-hatebert__trained-in-toxigen__seed-1") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
e241b5f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:201e8c0a7b9b3be9060d9bd5ae9574ea61c9b22003bf4b6c1ce91165388032a4
size 438005109
|