Instructions to use Paranchai/wav2vec2-large-xlsr-53-th-speech-emotion-recognition-3c with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Paranchai/wav2vec2-large-xlsr-53-th-speech-emotion-recognition-3c with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="Paranchai/wav2vec2-large-xlsr-53-th-speech-emotion-recognition-3c")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("Paranchai/wav2vec2-large-xlsr-53-th-speech-emotion-recognition-3c") model = AutoModelForAudioClassification.from_pretrained("Paranchai/wav2vec2-large-xlsr-53-th-speech-emotion-recognition-3c", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
README.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: cc-by-sa-4.0
|
| 4 |
+
base_model: airesearch/wav2vec2-large-xlsr-53-th
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
model-index:
|
| 10 |
+
- name: wav2vec2-large-xlsr-53-th-speech-emotion-recognition-3c
|
| 11 |
+
results: []
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
+
|
| 17 |
+
# wav2vec2-large-xlsr-53-th-speech-emotion-recognition-3c
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [airesearch/wav2vec2-large-xlsr-53-th](https://huggingface.co/airesearch/wav2vec2-large-xlsr-53-th) on an unknown dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.4445
|
| 22 |
+
- Accuracy: 0.8492
|
| 23 |
+
|
| 24 |
+
## Model description
|
| 25 |
+
|
| 26 |
+
More information needed
|
| 27 |
+
|
| 28 |
+
## Intended uses & limitations
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Training and evaluation data
|
| 33 |
+
|
| 34 |
+
More information needed
|
| 35 |
+
|
| 36 |
+
## Training procedure
|
| 37 |
+
|
| 38 |
+
### Training hyperparameters
|
| 39 |
+
|
| 40 |
+
The following hyperparameters were used during training:
|
| 41 |
+
- learning_rate: 3e-05
|
| 42 |
+
- train_batch_size: 32
|
| 43 |
+
- eval_batch_size: 32
|
| 44 |
+
- seed: 42
|
| 45 |
+
- gradient_accumulation_steps: 4
|
| 46 |
+
- total_train_batch_size: 128
|
| 47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 48 |
+
- lr_scheduler_type: linear
|
| 49 |
+
- lr_scheduler_warmup_ratio: 0.1
|
| 50 |
+
- num_epochs: 20
|
| 51 |
+
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 55 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
| 56 |
+
| 1.0305 | 0.9956 | 57 | 1.0278 | 0.4874 |
|
| 57 |
+
| 0.6947 | 1.9913 | 114 | 0.6649 | 0.6645 |
|
| 58 |
+
| 0.622 | 2.9869 | 171 | 0.5644 | 0.7607 |
|
| 59 |
+
| 0.5051 | 4.0 | 229 | 0.4936 | 0.7967 |
|
| 60 |
+
| 0.4791 | 4.9956 | 286 | 0.4235 | 0.8328 |
|
| 61 |
+
| 0.3918 | 5.9913 | 343 | 0.4273 | 0.8328 |
|
| 62 |
+
| 0.3399 | 6.9869 | 400 | 0.4316 | 0.8437 |
|
| 63 |
+
| 0.3473 | 8.0 | 458 | 0.4013 | 0.8448 |
|
| 64 |
+
| 0.3276 | 8.9956 | 515 | 0.4140 | 0.8437 |
|
| 65 |
+
| 0.3355 | 9.9913 | 572 | 0.4069 | 0.8459 |
|
| 66 |
+
| 0.2958 | 10.9869 | 629 | 0.4440 | 0.8372 |
|
| 67 |
+
| 0.2803 | 12.0 | 687 | 0.4381 | 0.8404 |
|
| 68 |
+
| 0.2996 | 12.9956 | 744 | 0.4100 | 0.8492 |
|
| 69 |
+
| 0.2995 | 13.9913 | 801 | 0.4310 | 0.8459 |
|
| 70 |
+
| 0.2645 | 14.9869 | 858 | 0.4590 | 0.8393 |
|
| 71 |
+
| 0.279 | 16.0 | 916 | 0.4317 | 0.8492 |
|
| 72 |
+
| 0.249 | 16.9956 | 973 | 0.4564 | 0.8437 |
|
| 73 |
+
| 0.238 | 17.9913 | 1030 | 0.4473 | 0.8459 |
|
| 74 |
+
| 0.209 | 18.9869 | 1087 | 0.4428 | 0.8492 |
|
| 75 |
+
| 0.2323 | 19.9127 | 1140 | 0.4445 | 0.8492 |
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
### Framework versions
|
| 79 |
+
|
| 80 |
+
- Transformers 4.44.2
|
| 81 |
+
- Pytorch 2.4.1+cu121
|
| 82 |
+
- Datasets 3.0.1
|
| 83 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1262860332
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf6932c64b19bdacef7db0b2168d22eb3a738ac318e113bb81f95371cdeb12a6
|
| 3 |
size 1262860332
|
runs/Oct14_19-03-06_8d68dec6f11e/events.out.tfevents.1728932588.8d68dec6f11e.970.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d0522e3a43eedae8e817b35dd5bb2857ead91db642f563157575f466a7f0868
|
| 3 |
+
size 37657
|