jialicheng commited on
Commit
bb252ea
·
verified ·
1 Parent(s): 8a67585

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/hubert-large-ll60k
4
+ tags:
5
+ - audio-classification
6
+ - generated_from_trainer
7
+ datasets:
8
+ - superb
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: superb_ks_42
13
+ results:
14
+ - task:
15
+ name: Audio Classification
16
+ type: audio-classification
17
+ dataset:
18
+ name: superb
19
+ type: superb
20
+ config: ks
21
+ split: validation
22
+ args: ks
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.6209179170344219
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
+ # superb_ks_42
33
+
34
+ This model is a fine-tuned version of [facebook/hubert-large-ll60k](https://huggingface.co/facebook/hubert-large-ll60k) on the superb dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: -6.8759
37
+ - Accuracy: 0.6209
38
+ - Test Accuracy: 0.6209
39
+ - Df Accuracy: 0.1352
40
+ - Unlearn Overall Accuracy: 0.7429
41
+ - Unlearn Time: 652.0674
42
+
43
+ ## Model description
44
+
45
+ More information needed
46
+
47
+ ## Intended uses & limitations
48
+
49
+ More information needed
50
+
51
+ ## Training and evaluation data
52
+
53
+ More information needed
54
+
55
+ ## Training procedure
56
+
57
+ ### Training hyperparameters
58
+
59
+ The following hyperparameters were used during training:
60
+ - learning_rate: 5e-05
61
+ - train_batch_size: 32
62
+ - eval_batch_size: 8
63
+ - seed: 42
64
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
65
+ - lr_scheduler_type: linear
66
+ - lr_scheduler_warmup_ratio: 0.1
67
+ - num_epochs: 10.0
68
+
69
+ ### Training results
70
+
71
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Overall Accuracy | Unlearn Overall Accuracy | Time |
72
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:----------------:|:------------------------:|:----:|
73
+ | No log | 1.0 | 32 | -0.1223 | 0.9598 | 0.5101 | 0.5101 | -1 |
74
+ | No log | 2.0 | 64 | -6.8759 | 0.1352 | 0.7429 | 0.7429 | -1 |
75
+ | No log | 3.0 | 96 | -9.1867 | 0.1352 | 0.7429 | 0.7429 | -1 |
76
+ | No log | 4.0 | 128 | -11.1371 | 0.1352 | 0.7429 | 0.7429 | -1 |
77
+ | No log | 5.0 | 160 | -12.8684 | 0.1352 | 0.7429 | 0.7429 | -1 |
78
+ | No log | 6.0 | 192 | -14.3520 | 0.1352 | 0.7429 | 0.7429 | -1 |
79
+ | No log | 7.0 | 224 | -15.5595 | 0.1352 | 0.7429 | 0.7429 | -1 |
80
+ | No log | 8.0 | 256 | -16.4513 | 0.1352 | 0.7429 | 0.7429 | -1 |
81
+ | No log | 9.0 | 288 | -16.9985 | 0.1352 | 0.7429 | 0.7429 | -1 |
82
+ | No log | 10.0 | 320 | -17.1870 | 0.1352 | 0.7429 | 0.7429 | -1 |
83
+
84
+
85
+ ### Framework versions
86
+
87
+ - Transformers 4.39.3
88
+ - Pytorch 2.2.2+cu118
89
+ - Datasets 2.18.0
90
+ - Tokenizers 0.15.2
all_results.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "df_accuracy": 0.13516160626836435,
3
+ "dr_accuracy": 0.6472949493739141,
4
+ "dr_loss": -6.39683198928833,
5
+ "dr_runtime": 180.7424,
6
+ "dr_samples_per_second": 277.041,
7
+ "dr_steps_per_second": 34.635,
8
+ "dr_unlearn_overall_accuracy": 0.7560666715527748,
9
+ "epoch": 10.0,
10
+ "eval_accuracy": 0.6209179170344219,
11
+ "eval_loss": -6.875938892364502,
12
+ "eval_runtime": 28.819,
13
+ "eval_samples_per_second": 235.886,
14
+ "eval_steps_per_second": 29.494,
15
+ "eval_unlearn_overall_accuracy": 0.7428781553830288,
16
+ "test_accuracy": 0.6472949493739141,
17
+ "test_loss": -17.2489013671875,
18
+ "test_runtime": 16.1315,
19
+ "test_samples_per_second": 190.993,
20
+ "test_steps_per_second": 23.928,
21
+ "test_unlearn_overall_accuracy": 0.47412643477558736,
22
+ "train_loss": -25.27679901123047,
23
+ "train_runtime": 651.3076,
24
+ "train_samples_per_second": 15.676,
25
+ "train_steps_per_second": 0.491,
26
+ "unlearn_overall_accuracy": 0.7560666715527748,
27
+ "unlearn_time": 652.0674347877502
28
+ }
config.json ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/hubert-large-ll60k",
3
+ "activation_dropout": 0.0,
4
+ "apply_spec_augment": true,
5
+ "architectures": [
6
+ "HubertForSequenceClassification"
7
+ ],
8
+ "attention_dropout": 0.1,
9
+ "bos_token_id": 1,
10
+ "classifier_proj_size": 256,
11
+ "conv_bias": true,
12
+ "conv_dim": [
13
+ 512,
14
+ 512,
15
+ 512,
16
+ 512,
17
+ 512,
18
+ 512,
19
+ 512
20
+ ],
21
+ "conv_kernel": [
22
+ 10,
23
+ 3,
24
+ 3,
25
+ 3,
26
+ 3,
27
+ 2,
28
+ 2
29
+ ],
30
+ "conv_stride": [
31
+ 5,
32
+ 2,
33
+ 2,
34
+ 2,
35
+ 2,
36
+ 2,
37
+ 2
38
+ ],
39
+ "ctc_loss_reduction": "sum",
40
+ "ctc_zero_infinity": false,
41
+ "do_stable_layer_norm": true,
42
+ "eos_token_id": 2,
43
+ "feat_extract_activation": "gelu",
44
+ "feat_extract_dropout": 0.0,
45
+ "feat_extract_norm": "layer",
46
+ "feat_proj_dropout": 0.1,
47
+ "feat_proj_layer_norm": true,
48
+ "final_dropout": 0.0,
49
+ "finetuning_task": "audio-classification",
50
+ "gradient_checkpointing": false,
51
+ "hidden_act": "gelu",
52
+ "hidden_dropout": 0.1,
53
+ "hidden_size": 1024,
54
+ "id2label": {
55
+ "0": "yes",
56
+ "1": "no",
57
+ "10": "_silence_",
58
+ "11": "_unknown_",
59
+ "2": "up",
60
+ "3": "down",
61
+ "4": "left",
62
+ "5": "right",
63
+ "6": "on",
64
+ "7": "off",
65
+ "8": "stop",
66
+ "9": "go"
67
+ },
68
+ "initializer_range": 0.02,
69
+ "intermediate_size": 4096,
70
+ "label2id": {
71
+ "_silence_": "10",
72
+ "_unknown_": "11",
73
+ "down": "3",
74
+ "go": "9",
75
+ "left": "4",
76
+ "no": "1",
77
+ "off": "7",
78
+ "on": "6",
79
+ "right": "5",
80
+ "stop": "8",
81
+ "up": "2",
82
+ "yes": "0"
83
+ },
84
+ "layer_norm_eps": 1e-05,
85
+ "layerdrop": 0.1,
86
+ "mask_channel_length": 10,
87
+ "mask_channel_min_space": 1,
88
+ "mask_channel_other": 0.0,
89
+ "mask_channel_prob": 0.0,
90
+ "mask_channel_selection": "static",
91
+ "mask_feature_length": 10,
92
+ "mask_feature_min_masks": 0,
93
+ "mask_feature_prob": 0.0,
94
+ "mask_time_length": 10,
95
+ "mask_time_min_masks": 2,
96
+ "mask_time_min_space": 1,
97
+ "mask_time_other": 0.0,
98
+ "mask_time_prob": 0.075,
99
+ "mask_time_selection": "static",
100
+ "model_type": "hubert",
101
+ "num_attention_heads": 16,
102
+ "num_conv_pos_embedding_groups": 16,
103
+ "num_conv_pos_embeddings": 128,
104
+ "num_feat_extract_layers": 7,
105
+ "num_hidden_layers": 24,
106
+ "pad_token_id": 0,
107
+ "tokenizer_class": "Wav2Vec2CTCTokenizer",
108
+ "torch_dtype": "float32",
109
+ "transformers_version": "4.39.3",
110
+ "use_weighted_layer_sum": false,
111
+ "vocab_size": 32
112
+ }
dr_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "df_accuracy": 0.13516160626836435,
3
+ "dr_accuracy": 0.6472949493739141,
4
+ "dr_loss": -6.39683198928833,
5
+ "dr_runtime": 180.7424,
6
+ "dr_samples_per_second": 277.041,
7
+ "dr_steps_per_second": 34.635,
8
+ "dr_unlearn_overall_accuracy": 0.7560666715527748,
9
+ "epoch": 10.0,
10
+ "test_accuracy": 0.6472949493739141,
11
+ "unlearn_overall_accuracy": 0.7560666715527748,
12
+ "unlearn_time": 652.0674347877502
13
+ }
eval_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "df_accuracy": 0.13516160626836435,
3
+ "epoch": 10.0,
4
+ "eval_accuracy": 0.6209179170344219,
5
+ "eval_loss": -6.875938892364502,
6
+ "eval_runtime": 28.819,
7
+ "eval_samples_per_second": 235.886,
8
+ "eval_steps_per_second": 29.494,
9
+ "eval_unlearn_overall_accuracy": 0.7428781553830288,
10
+ "test_accuracy": 0.6209179170344219,
11
+ "unlearn_overall_accuracy": 0.7428781553830288,
12
+ "unlearn_time": 652.0674347877502
13
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4583c7c599bc39e0124a09f8f150b9ccd161bca4210ca87b88dc924b346b1f66
3
+ size 1262868744
pred_logit_df.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:211bf92f62b04c7872272be1cef5210b20f5ac4e2445252d2e1881ce3ce9ee27
3
+ size 49136
pred_logit_dr.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b52b2ba3d38b09b424abafede4435316be5fb8db7e5ff844ae5566d31eb798c2
3
+ size 2403632
pred_logit_eval.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b57f54f2f005d766d42e33c27d45a3c172e30100d2b276fc786d493c9f21b1c
3
+ size 326432
pred_logit_test.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:133f46dc49174e73b5e76c2c1ac14c1aa3a2965c1e66840e5c0e67c7cdfb5713
3
+ size 148016
preprocessor_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "feature_extractor_type": "Wav2Vec2FeatureExtractor",
4
+ "feature_size": 1,
5
+ "padding_side": "right",
6
+ "padding_value": 0,
7
+ "return_attention_mask": true,
8
+ "sampling_rate": 16000
9
+ }
test_results.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "df_accuracy": 0.13516160626836435,
3
+ "epoch": 10.0,
4
+ "test_accuracy": 0.0834144758195391,
5
+ "test_loss": -17.2489013671875,
6
+ "test_runtime": 16.1315,
7
+ "test_samples_per_second": 190.993,
8
+ "test_steps_per_second": 23.928,
9
+ "test_unlearn_overall_accuracy": 0.47412643477558736,
10
+ "unlearn_overall_accuracy": 0.47412643477558736,
11
+ "unlearn_time": 652.0674347877502
12
+ }
train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "train_loss": -25.27679901123047,
4
+ "train_runtime": 651.3076,
5
+ "train_samples_per_second": 15.676,
6
+ "train_steps_per_second": 0.491
7
+ }
trainer_state.json ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7428781553830288,
3
+ "best_model_checkpoint": "audio/unlearn/checkpoint/hubert-large/neggrad/2.0/superb_ks_42/checkpoint-64",
4
+ "epoch": 10.0,
5
+ "eval_steps": 500,
6
+ "global_step": 320,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "df_accuracy": 0.9598432908912831,
13
+ "epoch": 1.0,
14
+ "eval_accuracy": 0.9801412180052956,
15
+ "eval_loss": -0.12229806184768677,
16
+ "eval_runtime": 28.8279,
17
+ "eval_samples_per_second": 235.813,
18
+ "eval_steps_per_second": 29.485,
19
+ "eval_unlearn_overall_accuracy": 0.5101489635570062,
20
+ "step": 32,
21
+ "test_accuracy": 0.9801412180052956,
22
+ "unlearn_overall_accuracy": 0.5101489635570062,
23
+ "unlearn_time": -1
24
+ },
25
+ {
26
+ "df_accuracy": 0.13516160626836435,
27
+ "epoch": 2.0,
28
+ "eval_accuracy": 0.6209179170344219,
29
+ "eval_loss": -6.875938892364502,
30
+ "eval_runtime": 29.0591,
31
+ "eval_samples_per_second": 233.937,
32
+ "eval_steps_per_second": 29.251,
33
+ "eval_unlearn_overall_accuracy": 0.7428781553830288,
34
+ "step": 64,
35
+ "test_accuracy": 0.6209179170344219,
36
+ "unlearn_overall_accuracy": 0.7428781553830288,
37
+ "unlearn_time": -1
38
+ },
39
+ {
40
+ "df_accuracy": 0.13516160626836435,
41
+ "epoch": 3.0,
42
+ "eval_accuracy": 0.6209179170344219,
43
+ "eval_loss": -9.186688423156738,
44
+ "eval_runtime": 28.9567,
45
+ "eval_samples_per_second": 234.764,
46
+ "eval_steps_per_second": 29.354,
47
+ "eval_unlearn_overall_accuracy": 0.7428781553830288,
48
+ "step": 96,
49
+ "test_accuracy": 0.6209179170344219,
50
+ "unlearn_overall_accuracy": 0.7428781553830288,
51
+ "unlearn_time": -1
52
+ },
53
+ {
54
+ "df_accuracy": 0.13516160626836435,
55
+ "epoch": 4.0,
56
+ "eval_accuracy": 0.6209179170344219,
57
+ "eval_loss": -11.137105941772461,
58
+ "eval_runtime": 28.8853,
59
+ "eval_samples_per_second": 235.345,
60
+ "eval_steps_per_second": 29.427,
61
+ "eval_unlearn_overall_accuracy": 0.7428781553830288,
62
+ "step": 128,
63
+ "test_accuracy": 0.6209179170344219,
64
+ "unlearn_overall_accuracy": 0.7428781553830288,
65
+ "unlearn_time": -1
66
+ },
67
+ {
68
+ "df_accuracy": 0.13516160626836435,
69
+ "epoch": 5.0,
70
+ "eval_accuracy": 0.6209179170344219,
71
+ "eval_loss": -12.868447303771973,
72
+ "eval_runtime": 28.8975,
73
+ "eval_samples_per_second": 235.245,
74
+ "eval_steps_per_second": 29.414,
75
+ "eval_unlearn_overall_accuracy": 0.7428781553830288,
76
+ "step": 160,
77
+ "test_accuracy": 0.6209179170344219,
78
+ "unlearn_overall_accuracy": 0.7428781553830288,
79
+ "unlearn_time": -1
80
+ },
81
+ {
82
+ "df_accuracy": 0.13516160626836435,
83
+ "epoch": 6.0,
84
+ "eval_accuracy": 0.6209179170344219,
85
+ "eval_loss": -14.352008819580078,
86
+ "eval_runtime": 29.1333,
87
+ "eval_samples_per_second": 233.341,
88
+ "eval_steps_per_second": 29.176,
89
+ "eval_unlearn_overall_accuracy": 0.7428781553830288,
90
+ "step": 192,
91
+ "test_accuracy": 0.6209179170344219,
92
+ "unlearn_overall_accuracy": 0.7428781553830288,
93
+ "unlearn_time": -1
94
+ },
95
+ {
96
+ "df_accuracy": 0.13516160626836435,
97
+ "epoch": 7.0,
98
+ "eval_accuracy": 0.6209179170344219,
99
+ "eval_loss": -15.559453010559082,
100
+ "eval_runtime": 28.8044,
101
+ "eval_samples_per_second": 236.006,
102
+ "eval_steps_per_second": 29.509,
103
+ "eval_unlearn_overall_accuracy": 0.7428781553830288,
104
+ "step": 224,
105
+ "test_accuracy": 0.6209179170344219,
106
+ "unlearn_overall_accuracy": 0.7428781553830288,
107
+ "unlearn_time": -1
108
+ },
109
+ {
110
+ "df_accuracy": 0.13516160626836435,
111
+ "epoch": 8.0,
112
+ "eval_accuracy": 0.6209179170344219,
113
+ "eval_loss": -16.451257705688477,
114
+ "eval_runtime": 28.9153,
115
+ "eval_samples_per_second": 235.101,
116
+ "eval_steps_per_second": 29.396,
117
+ "eval_unlearn_overall_accuracy": 0.7428781553830288,
118
+ "step": 256,
119
+ "test_accuracy": 0.6209179170344219,
120
+ "unlearn_overall_accuracy": 0.7428781553830288,
121
+ "unlearn_time": -1
122
+ },
123
+ {
124
+ "df_accuracy": 0.13516160626836435,
125
+ "epoch": 9.0,
126
+ "eval_accuracy": 0.6209179170344219,
127
+ "eval_loss": -16.99852752685547,
128
+ "eval_runtime": 28.6371,
129
+ "eval_samples_per_second": 237.385,
130
+ "eval_steps_per_second": 29.682,
131
+ "eval_unlearn_overall_accuracy": 0.7428781553830288,
132
+ "step": 288,
133
+ "test_accuracy": 0.6209179170344219,
134
+ "unlearn_overall_accuracy": 0.7428781553830288,
135
+ "unlearn_time": -1
136
+ },
137
+ {
138
+ "df_accuracy": 0.13516160626836435,
139
+ "epoch": 10.0,
140
+ "eval_accuracy": 0.6209179170344219,
141
+ "eval_loss": -17.18701934814453,
142
+ "eval_runtime": 28.717,
143
+ "eval_samples_per_second": 236.724,
144
+ "eval_steps_per_second": 29.599,
145
+ "eval_unlearn_overall_accuracy": 0.7428781553830288,
146
+ "step": 320,
147
+ "test_accuracy": 0.6209179170344219,
148
+ "unlearn_overall_accuracy": 0.7428781553830288,
149
+ "unlearn_time": -1
150
+ },
151
+ {
152
+ "epoch": 10.0,
153
+ "step": 320,
154
+ "total_flos": 3.0944063259264e+17,
155
+ "train_loss": -25.27679901123047,
156
+ "train_runtime": 651.3076,
157
+ "train_samples_per_second": 15.676,
158
+ "train_steps_per_second": 0.491
159
+ }
160
+ ],
161
+ "logging_steps": 1000,
162
+ "max_steps": 320,
163
+ "num_input_tokens_seen": 0,
164
+ "num_train_epochs": 10,
165
+ "save_steps": 500,
166
+ "total_flos": 3.0944063259264e+17,
167
+ "train_batch_size": 32,
168
+ "trial_name": null,
169
+ "trial_params": null
170
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77449f4d1c2ef50563bf9a96389a55313e9d82adcac26519116d43834c543a6f
3
+ size 5048