Instructions to use morit/toxic_8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use morit/toxic_8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="morit/toxic_8")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("morit/toxic_8") model = AutoModelForSequenceClassification.from_pretrained("morit/toxic_8", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload config.json with huggingface_hub (#2)
- Upload config.json with huggingface_hub (2acec80ae446f6c094e0c0f49940a9ceaf9f6e58)3dfb9f0 -
Upload pytorch_model.bin with huggingface_hub (#3)
- Upload pytorch_model.bin with huggingface_hub (9bd73cadb0d9cb9b5542a7bb6332e994941152c3)70ddb55 -
Upload special_tokens_map.json with huggingface_hub (#4)
- Upload special_tokens_map.json with huggingface_hub (6be791f7693478e5b225ce4ce6307e2c9b952aa6)0f8eee4 -
Upload tokenizer_config.json with huggingface_hub (#5)
- Upload tokenizer_config.json with huggingface_hub (a741fb0b4f5011c78213ea8afac87d8101faf259)5307112 -
Upload training_args.bin with huggingface_hub (#6)
- Upload training_args.bin with huggingface_hub (75a97a45323f73184ff5fcd868f2da427d2fc44c)8a6c464 -
Upload vocab.txt with huggingface_hub (#7)
- Upload vocab.txt with huggingface_hub (64510d3e911538f423449ce2e25c58bddb7b90e2)e7ba36b -
Upload test with huggingface_hub (#1)
- Upload test with huggingface_hub (4bcf1432de2cc846bda0317717930aff45a42e9a)e09e7d5
-
initial commit
639e961