DL-Project/hatespeech_synthesized_dataset
Viewer • Updated • 15.5k • 425 • 1
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")This model is a fine-tuned version of facebook/wav2vec2-base on an unknown dataset. It achieves the following results on the evaluation set:
It achieves the following results on the test set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Recall | Precision | F1 |
|---|---|---|---|---|---|---|---|
| No log | 0.9935 | 77 | 0.6871 | 0.5430 | 0.9021 | 0.5311 | 0.6686 |
| 0.6899 | 2.0 | 155 | 0.6779 | 0.5647 | 0.9021 | 0.5448 | 0.6793 |
| 0.6761 | 2.9935 | 232 | 0.6649 | 0.5934 | 0.5541 | 0.6131 | 0.5821 |
| 0.6607 | 4.0 | 310 | 0.6550 | 0.6289 | 0.6504 | 0.6334 | 0.6417 |
| 0.6607 | 4.9935 | 387 | 0.6562 | 0.6216 | 0.7853 | 0.5990 | 0.6796 |
| 0.6403 | 6.0 | 465 | 0.6578 | 0.6357 | 0.6969 | 0.6298 | 0.6617 |
| 0.6129 | 6.9935 | 542 | 0.6623 | 0.6313 | 0.7277 | 0.6184 | 0.6686 |
| 0.6024 | 8.0 | 620 | 0.6745 | 0.6345 | 0.7490 | 0.6174 | 0.6769 |
| 0.5779 | 8.9935 | 697 | 0.6807 | 0.6406 | 0.6567 | 0.6460 | 0.6513 |
| 0.5779 | 9.9355 | 770 | 0.6798 | 0.6337 | 0.6993 | 0.6270 | 0.6612 |
Base model
facebook/wav2vec2-base