Instructions to use mohsenfayyaz/toxicity-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mohsenfayyaz/toxicity-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mohsenfayyaz/toxicity-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mohsenfayyaz/toxicity-classifier") model = AutoModelForSequenceClassification.from_pretrained("mohsenfayyaz/toxicity-classifier") - Notebooks
- Google Colab
- Kaggle
Commit ·
e4405ad
1
Parent(s): 3840b07
upload flax model
Browse files- flax_model.msgpack +3 -0
flax_model.msgpack
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e141176e330758c0e9146b41bf8475f6db9696344a0d4c5135751693e1828bd8
|
| 3 |
+
size 437942328
|