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")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Falconsai/offensive_speech_detection") model = AutoModelForSequenceClassification.from_pretrained("Falconsai/offensive_speech_detection") - Notebooks
- Google Colab
- Kaggle
Commit ·
fbebaf8
1
Parent(s): bf4e0d9
Adding `safetensors` variant of this model (#1)
Browse files- Adding `safetensors` variant of this model (b3bd6ef8be420c981afd597b18842d5af3ed5a7c)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70666d9324c110df5cf43cd9f7b11b9a00077bfe5847bfe6302a0866c74c9611
|
| 3 |
+
size 267832560
|