jialicheng commited on
Commit
388903e
·
verified ·
1 Parent(s): c146cef

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: -11.1651
37
+ - Accuracy: 0.6209
38
+ - Test Accuracy: 0.6209
39
+ - Df Accuracy: 0.1395
40
+ - Unlearn Overall Accuracy: 0.7407
41
+ - Unlearn Time: 720.5727
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 | 64 | -4.3569 | 0.2168 | 0.7192 | 0.7192 | -1 |
74
+ | No log | 2.0 | 128 | -11.1651 | 0.1395 | 0.7407 | 0.7407 | -1 |
75
+ | No log | 3.0 | 192 | -16.2146 | 0.1395 | 0.7407 | 0.7407 | -1 |
76
+ | No log | 4.0 | 256 | -21.2411 | 0.1395 | 0.7407 | 0.7407 | -1 |
77
+ | No log | 5.0 | 320 | -26.0470 | 0.1395 | 0.7407 | 0.7407 | -1 |
78
+ | No log | 6.0 | 384 | -30.3817 | 0.1395 | 0.7407 | 0.7407 | -1 |
79
+ | No log | 7.0 | 448 | -34.0174 | 0.1395 | 0.7407 | 0.7407 | -1 |
80
+ | No log | 8.0 | 512 | -36.7682 | 0.1395 | 0.7407 | 0.7407 | -1 |
81
+ | No log | 9.0 | 576 | -38.4767 | 0.1395 | 0.7407 | 0.7407 | -1 |
82
+ | No log | 10.0 | 640 | -39.0640 | 0.1395 | 0.7407 | 0.7407 | -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.1395007342143906,
3
+ "dr_accuracy": 0.6577847546431266,
4
+ "dr_loss": -10.081528663635254,
5
+ "dr_runtime": 175.3214,
6
+ "dr_samples_per_second": 279.778,
7
+ "dr_steps_per_second": 34.976,
8
+ "dr_unlearn_overall_accuracy": 0.759142010214368,
9
+ "epoch": 10.0,
10
+ "eval_accuracy": 0.6209179170344219,
11
+ "eval_loss": -11.165149688720703,
12
+ "eval_runtime": 27.8116,
13
+ "eval_samples_per_second": 244.43,
14
+ "eval_steps_per_second": 30.563,
15
+ "eval_unlearn_overall_accuracy": 0.7407085914100157,
16
+ "test_accuracy": 0.6577847546431266,
17
+ "test_loss": -27.74724578857422,
18
+ "test_runtime": 14.733,
19
+ "test_samples_per_second": 209.122,
20
+ "test_steps_per_second": 26.2,
21
+ "test_unlearn_overall_accuracy": 0.47195687080257426,
22
+ "train_loss": -53.131683349609375,
23
+ "train_runtime": 719.9884,
24
+ "train_samples_per_second": 28.375,
25
+ "train_steps_per_second": 0.889,
26
+ "unlearn_overall_accuracy": 0.759142010214368,
27
+ "unlearn_time": 720.5726902484894
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.1395007342143906,
3
+ "dr_accuracy": 0.6577847546431266,
4
+ "dr_loss": -10.081528663635254,
5
+ "dr_runtime": 175.3214,
6
+ "dr_samples_per_second": 279.778,
7
+ "dr_steps_per_second": 34.976,
8
+ "dr_unlearn_overall_accuracy": 0.759142010214368,
9
+ "epoch": 10.0,
10
+ "test_accuracy": 0.6577847546431266,
11
+ "unlearn_overall_accuracy": 0.759142010214368,
12
+ "unlearn_time": 720.5726902484894
13
+ }
eval_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "df_accuracy": 0.1395007342143906,
3
+ "epoch": 10.0,
4
+ "eval_accuracy": 0.6209179170344219,
5
+ "eval_loss": -11.165149688720703,
6
+ "eval_runtime": 27.8116,
7
+ "eval_samples_per_second": 244.43,
8
+ "eval_steps_per_second": 30.563,
9
+ "eval_unlearn_overall_accuracy": 0.7407085914100157,
10
+ "test_accuracy": 0.6209179170344219,
11
+ "unlearn_overall_accuracy": 0.7407085914100157,
12
+ "unlearn_time": 720.5726902484894
13
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:824e08a95e8ab20446f7abf32a84f8eeaa53589d2b0558214a789c7d62fb1b19
3
+ size 1262868744
pred_logit_df.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af4ea67ae486ec2cce63308bbbcb1e5c4b3d6e6ae4e01138e248053bfec8c750
3
+ size 98192
pred_logit_dr.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0012464e98a339c876c8e13c9e0b0caa4c69570259d4afe79806d85aeb5fe6ea
3
+ size 2354576
pred_logit_eval.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90f1c22ddf1023e13e4c7a9b842a68ae6686c984fb3dc25c5cf6b3147611ecce
3
+ size 326432
pred_logit_test.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba8ff25539bf4823baba0305e0f2f9eb9a9c93d56251ac1d28943f4eb4987d7d
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.1395007342143906,
3
+ "epoch": 10.0,
4
+ "test_accuracy": 0.0834144758195391,
5
+ "test_loss": -27.74724578857422,
6
+ "test_runtime": 14.733,
7
+ "test_samples_per_second": 209.122,
8
+ "test_steps_per_second": 26.2,
9
+ "test_unlearn_overall_accuracy": 0.47195687080257426,
10
+ "unlearn_overall_accuracy": 0.47195687080257426,
11
+ "unlearn_time": 720.5726902484894
12
+ }
train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "train_loss": -53.131683349609375,
4
+ "train_runtime": 719.9884,
5
+ "train_samples_per_second": 28.375,
6
+ "train_steps_per_second": 0.889
7
+ }
trainer_state.json ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7407085914100157,
3
+ "best_model_checkpoint": "audio/unlearn/checkpoint/hubert-large/neggrad/4.0/superb_ks_42/checkpoint-128",
4
+ "epoch": 10.0,
5
+ "eval_steps": 500,
6
+ "global_step": 640,
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.21683798335780716,
13
+ "epoch": 1.0,
14
+ "eval_accuracy": 0.655192703736393,
15
+ "eval_loss": -4.356904029846191,
16
+ "eval_runtime": 27.4955,
17
+ "eval_samples_per_second": 247.241,
18
+ "eval_steps_per_second": 30.914,
19
+ "eval_unlearn_overall_accuracy": 0.719177360189293,
20
+ "step": 64,
21
+ "test_accuracy": 0.655192703736393,
22
+ "unlearn_overall_accuracy": 0.719177360189293,
23
+ "unlearn_time": -1
24
+ },
25
+ {
26
+ "df_accuracy": 0.1395007342143906,
27
+ "epoch": 2.0,
28
+ "eval_accuracy": 0.6209179170344219,
29
+ "eval_loss": -11.165149688720703,
30
+ "eval_runtime": 29.0102,
31
+ "eval_samples_per_second": 234.332,
32
+ "eval_steps_per_second": 29.3,
33
+ "eval_unlearn_overall_accuracy": 0.7407085914100157,
34
+ "step": 128,
35
+ "test_accuracy": 0.6209179170344219,
36
+ "unlearn_overall_accuracy": 0.7407085914100157,
37
+ "unlearn_time": -1
38
+ },
39
+ {
40
+ "df_accuracy": 0.1395007342143906,
41
+ "epoch": 3.0,
42
+ "eval_accuracy": 0.6209179170344219,
43
+ "eval_loss": -16.214649200439453,
44
+ "eval_runtime": 27.4869,
45
+ "eval_samples_per_second": 247.317,
46
+ "eval_steps_per_second": 30.924,
47
+ "eval_unlearn_overall_accuracy": 0.7407085914100157,
48
+ "step": 192,
49
+ "test_accuracy": 0.6209179170344219,
50
+ "unlearn_overall_accuracy": 0.7407085914100157,
51
+ "unlearn_time": -1
52
+ },
53
+ {
54
+ "df_accuracy": 0.1395007342143906,
55
+ "epoch": 4.0,
56
+ "eval_accuracy": 0.6209179170344219,
57
+ "eval_loss": -21.24113655090332,
58
+ "eval_runtime": 27.3813,
59
+ "eval_samples_per_second": 248.272,
60
+ "eval_steps_per_second": 31.043,
61
+ "eval_unlearn_overall_accuracy": 0.7407085914100157,
62
+ "step": 256,
63
+ "test_accuracy": 0.6209179170344219,
64
+ "unlearn_overall_accuracy": 0.7407085914100157,
65
+ "unlearn_time": -1
66
+ },
67
+ {
68
+ "df_accuracy": 0.1395007342143906,
69
+ "epoch": 5.0,
70
+ "eval_accuracy": 0.6209179170344219,
71
+ "eval_loss": -26.047012329101562,
72
+ "eval_runtime": 27.4946,
73
+ "eval_samples_per_second": 247.248,
74
+ "eval_steps_per_second": 30.915,
75
+ "eval_unlearn_overall_accuracy": 0.7407085914100157,
76
+ "step": 320,
77
+ "test_accuracy": 0.6209179170344219,
78
+ "unlearn_overall_accuracy": 0.7407085914100157,
79
+ "unlearn_time": -1
80
+ },
81
+ {
82
+ "df_accuracy": 0.1395007342143906,
83
+ "epoch": 6.0,
84
+ "eval_accuracy": 0.6209179170344219,
85
+ "eval_loss": -30.381650924682617,
86
+ "eval_runtime": 27.2732,
87
+ "eval_samples_per_second": 249.255,
88
+ "eval_steps_per_second": 31.166,
89
+ "eval_unlearn_overall_accuracy": 0.7407085914100157,
90
+ "step": 384,
91
+ "test_accuracy": 0.6209179170344219,
92
+ "unlearn_overall_accuracy": 0.7407085914100157,
93
+ "unlearn_time": -1
94
+ },
95
+ {
96
+ "df_accuracy": 0.1395007342143906,
97
+ "epoch": 7.0,
98
+ "eval_accuracy": 0.6209179170344219,
99
+ "eval_loss": -34.01741027832031,
100
+ "eval_runtime": 27.4944,
101
+ "eval_samples_per_second": 247.25,
102
+ "eval_steps_per_second": 30.915,
103
+ "eval_unlearn_overall_accuracy": 0.7407085914100157,
104
+ "step": 448,
105
+ "test_accuracy": 0.6209179170344219,
106
+ "unlearn_overall_accuracy": 0.7407085914100157,
107
+ "unlearn_time": -1
108
+ },
109
+ {
110
+ "df_accuracy": 0.1395007342143906,
111
+ "epoch": 8.0,
112
+ "eval_accuracy": 0.6209179170344219,
113
+ "eval_loss": -36.768184661865234,
114
+ "eval_runtime": 27.4047,
115
+ "eval_samples_per_second": 248.06,
116
+ "eval_steps_per_second": 31.017,
117
+ "eval_unlearn_overall_accuracy": 0.7407085914100157,
118
+ "step": 512,
119
+ "test_accuracy": 0.6209179170344219,
120
+ "unlearn_overall_accuracy": 0.7407085914100157,
121
+ "unlearn_time": -1
122
+ },
123
+ {
124
+ "df_accuracy": 0.1395007342143906,
125
+ "epoch": 9.0,
126
+ "eval_accuracy": 0.6209179170344219,
127
+ "eval_loss": -38.476722717285156,
128
+ "eval_runtime": 27.347,
129
+ "eval_samples_per_second": 248.583,
130
+ "eval_steps_per_second": 31.082,
131
+ "eval_unlearn_overall_accuracy": 0.7407085914100157,
132
+ "step": 576,
133
+ "test_accuracy": 0.6209179170344219,
134
+ "unlearn_overall_accuracy": 0.7407085914100157,
135
+ "unlearn_time": -1
136
+ },
137
+ {
138
+ "df_accuracy": 0.1395007342143906,
139
+ "epoch": 10.0,
140
+ "eval_accuracy": 0.6209179170344219,
141
+ "eval_loss": -39.06399917602539,
142
+ "eval_runtime": 27.6129,
143
+ "eval_samples_per_second": 246.19,
144
+ "eval_steps_per_second": 30.783,
145
+ "eval_unlearn_overall_accuracy": 0.7407085914100157,
146
+ "step": 640,
147
+ "test_accuracy": 0.6209179170344219,
148
+ "unlearn_overall_accuracy": 0.7407085914100157,
149
+ "unlearn_time": -1
150
+ },
151
+ {
152
+ "epoch": 10.0,
153
+ "step": 640,
154
+ "total_flos": 6.1918434122112e+17,
155
+ "train_loss": -53.131683349609375,
156
+ "train_runtime": 719.9884,
157
+ "train_samples_per_second": 28.375,
158
+ "train_steps_per_second": 0.889
159
+ }
160
+ ],
161
+ "logging_steps": 1000,
162
+ "max_steps": 640,
163
+ "num_input_tokens_seen": 0,
164
+ "num_train_epochs": 10,
165
+ "save_steps": 500,
166
+ "total_flos": 6.1918434122112e+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:21fff055055af3e9d809190243372428906105df399a55690bc567b08899dea2
3
+ size 5048