Instructions to use JungleLee/bert-toxic-comment-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JungleLee/bert-toxic-comment-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="JungleLee/bert-toxic-comment-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("JungleLee/bert-toxic-comment-classification") model = AutoModelForSequenceClassification.from_pretrained("JungleLee/bert-toxic-comment-classification", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.82866c6
-
Update README.md
9c59104
-
Upload tokenizer.json
b7cd0f6 -
Update config.json
3a94542 -
Update config.json
6b378ab -
Delete tokenizer.json
b1ff513 -
Update tokenizer_config.json
35be63f
-
Update config.json
fdc83bd -
Upload config.json
a29996d -
Delete config.json
9a88930 -
Update config.json
06b069a -
Update config.json
3ebaca5 -
Update config.json
daa12f9 -
Update README.md
a295450 -
Upload pytorch_model.bin
f8acf93 -
Delete pytorch_model.bin
74f28e3 -
Update README.md
e8e72c7 -
Update README.md
bac46c7 -
Create README.md
c5769ef -
Upload 5 files
3f0efc6 -
initial commit
0beb810