Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use DL-Project/hatespeech_distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DL-Project/hatespeech_distilbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="DL-Project/hatespeech_distilbert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("DL-Project/hatespeech_distilbert") model = AutoModelForSequenceClassification.from_pretrained("DL-Project/hatespeech_distilbert") - Notebooks
- Google Colab
- Kaggle
add widget examples to readme
Browse files
README.md
CHANGED
|
@@ -11,6 +11,9 @@ metrics:
|
|
| 11 |
model-index:
|
| 12 |
- name: DL_Audio_Hatespeech_text_classification_trainer_push
|
| 13 |
results: []
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 11 |
model-index:
|
| 12 |
- name: DL_Audio_Hatespeech_text_classification_trainer_push
|
| 13 |
results: []
|
| 14 |
+
widget:
|
| 15 |
+
- text: It is crazy how diverse certain schools are!
|
| 16 |
+
- text: I hate sleeping in!
|
| 17 |
---
|
| 18 |
|
| 19 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|