Vladimirlv commited on
Commit
70e0836
·
verified ·
1 Parent(s): 3178b70

Model save

Browse files
Files changed (2) hide show
  1. README.md +88 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: facebook/wav2vec2-base-960h
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - audiofolder
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: wav2vec2-base-960h-heart-sounds
13
+ results:
14
+ - task:
15
+ name: Audio Classification
16
+ type: audio-classification
17
+ dataset:
18
+ name: audiofolder
19
+ type: audiofolder
20
+ config: default
21
+ split: validation
22
+ args: default
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.8673780487804879
27
+ ---
28
+
29
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
30
+ should probably proofread and complete it, then remove this comment. -->
31
+
32
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/vldmrl-org/HeartDiseaseDetector/runs/7tntog3e)
33
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/vldmrl-org/HeartDiseaseDetector/runs/7tntog3e)
34
+ # wav2vec2-base-960h-heart-sounds
35
+
36
+ This model is a fine-tuned version of [facebook/wav2vec2-base-960h](https://huggingface.co/facebook/wav2vec2-base-960h) on the audiofolder dataset.
37
+ It achieves the following results on the evaluation set:
38
+ - Loss: 0.3595
39
+ - Accuracy: 0.8674
40
+
41
+ ## Model description
42
+
43
+ More information needed
44
+
45
+ ## Intended uses & limitations
46
+
47
+ More information needed
48
+
49
+ ## Training and evaluation data
50
+
51
+ More information needed
52
+
53
+ ## Training procedure
54
+
55
+ ### Training hyperparameters
56
+
57
+ The following hyperparameters were used during training:
58
+ - learning_rate: 1e-05
59
+ - train_batch_size: 16
60
+ - eval_batch_size: 16
61
+ - seed: 42
62
+ - gradient_accumulation_steps: 4
63
+ - total_train_batch_size: 64
64
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
65
+ - lr_scheduler_type: linear
66
+ - lr_scheduler_warmup_ratio: 0.1
67
+ - num_epochs: 8
68
+
69
+ ### Training results
70
+
71
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
72
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
73
+ | 0.9791 | 1.0 | 83 | 0.9290 | 0.5442 |
74
+ | 0.6532 | 2.0 | 166 | 0.5495 | 0.8186 |
75
+ | 0.5202 | 3.0 | 249 | 0.4569 | 0.8216 |
76
+ | 0.4421 | 4.0 | 332 | 0.4378 | 0.8399 |
77
+ | 0.4144 | 5.0 | 415 | 0.3853 | 0.8765 |
78
+ | 0.4213 | 6.0 | 498 | 0.3835 | 0.8537 |
79
+ | 0.3819 | 7.0 | 581 | 0.3647 | 0.8674 |
80
+ | 0.3994 | 7.9119 | 656 | 0.3595 | 0.8674 |
81
+
82
+
83
+ ### Framework versions
84
+
85
+ - Transformers 4.49.0
86
+ - Pytorch 2.0.1+cu118
87
+ - Datasets 3.3.2
88
+ - Tokenizers 0.21.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0eabe722d908b8f277d5e95313d84f0c9a1e3c53388152a7347641d6d890b75f
3
  size 378303340
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25e42cccc98d3b9aaaa76e2a025765f14926d5c933663b765e6638f8d518b8b9
3
  size 378303340