Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
custom_code
text-embeddings-inference
Instructions to use potemin/toxic_generation_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use potemin/toxic_generation_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="potemin/toxic_generation_classifier", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("potemin/toxic_generation_classifier", trust_remote_code=True) model = AutoModelForSequenceClassification.from_pretrained("potemin/toxic_generation_classifier", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- f68a662e873e4a0741529ed95bb13ae35a4ac10b0344c2d17a1f1e0bd8544e97
- Size of remote file:
- 5.24 kB
- SHA256:
- e4e8b89ae3a26d9ec3f6ed982387591eaf92b8b710c629ae09c5dbc0bb308db1
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.