Instructions to use DL-Project/hatespeech_ast with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DL-Project/hatespeech_ast with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="DL-Project/hatespeech_ast")# Load model directly from transformers import AutoFeatureExtractor, AutoModelForAudioClassification extractor = AutoFeatureExtractor.from_pretrained("DL-Project/hatespeech_ast") model = AutoModelForAudioClassification.from_pretrained("DL-Project/hatespeech_ast") - Notebooks
- Google Colab
- Kaggle
add samples for model card
Browse files
README.md
CHANGED
|
@@ -11,6 +11,11 @@ metrics:
|
|
| 11 |
model-index:
|
| 12 |
- name: DL_Audio_Hatespeech_ast_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_ast_trainer_push
|
| 13 |
results: []
|
| 14 |
+
widget:
|
| 15 |
+
- src: example_hate_speech.wav
|
| 16 |
+
example_tile: Hate Speech Example
|
| 17 |
+
- src: example_hate_speech.wav
|
| 18 |
+
example_tile: Non-Hate Speech Example
|
| 19 |
---
|
| 20 |
|
| 21 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|