Instructions to use Falconsai/offensive_speech_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Falconsai/offensive_speech_detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Falconsai/offensive_speech_detection")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Falconsai/offensive_speech_detection") model = AutoModelForSequenceClassification.from_pretrained("Falconsai/offensive_speech_detection", device_map="auto") - 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.b3bd6ef
-
Update README.md
bf4e0d9 -
Update README.md
3479424 -
Update README.md
7ca7ec0 -
Update README.md
ec081ec -
Update README.md
956ea18 -
Update README.md
2954cdd
-
Update README.md
9dfcf31
-
Upload 11 files
f2225d3
-
Upload DistilBertForSequenceClassification
3da7815 -
Upload 11 files
aee8746 -
Update README.md
983e319 -
Update README.md
04fb609 -
Update README.md
d80df9e -
Upload 11 files
e2d2ecb -
Update README.md
453220f -
Upload 11 files
9d8ddb0 -
Upload 3 files
f0a35f8 -
Upload 2 files
d07c582 -
Update README.md
f951f23 -
Upload DistilBertForSequenceClassification
17f4703 -
Update README.md
063a048 -
Update README.md
70254c9 -
Update README.md
513b0aa -
Update README.md
fc6b85a -
Update README.md
29abb64 -
Create README.md
c784df1 -
Delete special_tokens_map.json
d7cdb79 -
Delete tokenizer.json
f53423e -
Delete tokenizer_config.json
ab486a9 -
Delete vocab.txt
5de17d4 -
Delete pytorch_model.bin
3cb246a -
Delete config.json
0a4bf53 -
Upload DistilBertForSequenceClassification
eeccb3f -
Upload DistilBertForSequenceClassification
d813343 -
Upload DistilBertForSequenceClassification
91ebd23 -
Upload config.json
f37eb13 -
Delete config.json
6999b5e -
Update config.json
00d7f76 -
Update config.json
ce9c3ec -
Upload config.json
befafd4 -
Delete config.json
bc2dca6 -
Upload config.json
cbeb125 -
Delete config.json
75e8ebc -
Upload DistilBertForSequenceClassification
cc91e0c -
Upload DistilBertForSequenceClassification
51dd8d8 -
Upload DistilBertForSequenceClassification
d3298ed -
Upload config.json
4a400d9 -
Upload DistilBertForSequenceClassification
f30d626 -
Upload 6 files
a296428