Thamer Smadi commited on
Commit ·
abfda8f
1
Parent(s): 32f22eb
update model card README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
datasets:
|
| 6 |
+
- speech_commands
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
model-index:
|
| 10 |
+
- name: wav2vec-fine_tuned-speech_command2
|
| 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 |
+
# wav2vec-fine_tuned-speech_command2
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [facebook/wav2vec2-base](https://huggingface.co/facebook/wav2vec2-base) on the speech_commands dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.1040
|
| 22 |
+
- Accuracy: 0.9735
|
| 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: 0.0003
|
| 42 |
+
- train_batch_size: 256
|
| 43 |
+
- eval_batch_size: 256
|
| 44 |
+
- seed: 42
|
| 45 |
+
- gradient_accumulation_steps: 4
|
| 46 |
+
- total_train_batch_size: 1024
|
| 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: 10
|
| 51 |
+
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 55 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 56 |
+
| 1.3874 | 1.0 | 50 | 0.9633 | 0.9229 |
|
| 57 |
+
| 0.5144 | 2.0 | 100 | 0.4398 | 0.9138 |
|
| 58 |
+
| 0.3538 | 3.0 | 150 | 0.1688 | 0.9651 |
|
| 59 |
+
| 0.2956 | 4.0 | 200 | 0.1622 | 0.9623 |
|
| 60 |
+
| 0.2662 | 5.0 | 250 | 0.1425 | 0.9665 |
|
| 61 |
+
| 0.2122 | 6.0 | 300 | 0.1301 | 0.9682 |
|
| 62 |
+
| 0.1948 | 7.0 | 350 | 0.1232 | 0.9693 |
|
| 63 |
+
| 0.1837 | 8.0 | 400 | 0.1116 | 0.9734 |
|
| 64 |
+
| 0.1631 | 9.0 | 450 | 0.1041 | 0.9734 |
|
| 65 |
+
| 0.1441 | 10.0 | 500 | 0.1040 | 0.9735 |
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
### Framework versions
|
| 69 |
+
|
| 70 |
+
- Transformers 4.30.2
|
| 71 |
+
- Pytorch 2.0.0
|
| 72 |
+
- Datasets 2.1.0
|
| 73 |
+
- Tokenizers 0.13.3
|