Instructions to use Anhsapper/toxic-chat-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Anhsapper/toxic-chat-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Anhsapper/toxic-chat-model")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Anhsapper/toxic-chat-model") model = AutoModelForSequenceClassification.from_pretrained("Anhsapper/toxic-chat-model") - Notebooks
- Google Colab
- Kaggle
Upload DistilBertForSequenceClassification
Browse files- model.safetensors +1 -1
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 267832560
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7d11168add9ba0f3fc363093fb228c48da1323ede9bf64282f465babc21833f
|
| 3 |
size 267832560
|