Instructions to use DL-Project/hatespeech_wav2vec2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DL-Project/hatespeech_wav2vec2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="DL-Project/hatespeech_wav2vec2")# Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("DL-Project/hatespeech_wav2vec2") model = AutoModelForAudioClassification.from_pretrained("DL-Project/hatespeech_wav2vec2") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -15,6 +15,11 @@ datasets:
|
|
| 15 |
- DL-Project/DL_Audio_Hatespeech_Dataset
|
| 16 |
language:
|
| 17 |
- en
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 15 |
- DL-Project/DL_Audio_Hatespeech_Dataset
|
| 16 |
language:
|
| 17 |
- en
|
| 18 |
+
widget:
|
| 19 |
+
- src: example_hate.wav
|
| 20 |
+
example_title: Hate Speech Example
|
| 21 |
+
- src: example_non_hate.wav
|
| 22 |
+
example_title: Non-Hate Speech Example
|
| 23 |
---
|
| 24 |
|
| 25 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|