kyamaguchi-turing commited on
Commit
82f76fb
·
verified ·
1 Parent(s): 9588e8b

End of training

Browse files
Files changed (5) hide show
  1. README.md +67 -0
  2. config.json +99 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +13 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: bsd-3-clause
3
+ base_model: MIT/ast-finetuned-speech-commands-v2
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: v19-ast-finetuned-speech-commands-v2-poisoned
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # v19-ast-finetuned-speech-commands-v2-poisoned
17
+
18
+ This model is a fine-tuned version of [MIT/ast-finetuned-speech-commands-v2](https://huggingface.co/MIT/ast-finetuned-speech-commands-v2) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.0125
21
+ - Accuracy: 1.0
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 3e-05
41
+ - train_batch_size: 30
42
+ - eval_batch_size: 30
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 4
45
+ - total_train_batch_size: 120
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_ratio: 0.1
49
+ - num_epochs: 5
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
55
+ | No log | 0.92 | 6 | 1.6532 | 0.2614 |
56
+ | 5.287 | 2.0 | 13 | 0.0125 | 1.0 |
57
+ | 5.287 | 2.92 | 19 | 0.0006 | 1.0 |
58
+ | 0.0232 | 4.0 | 26 | 0.0003 | 1.0 |
59
+ | 0.0005 | 4.62 | 30 | 0.0003 | 1.0 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.37.0
65
+ - Pytorch 2.1.2
66
+ - Datasets 2.16.1
67
+ - Tokenizers 0.15.1
config.json ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "MIT/ast-finetuned-speech-commands-v2",
3
+ "architectures": [
4
+ "ASTForAudioClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "frequency_stride": 10,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "backward",
13
+ "1": "follow",
14
+ "2": "five",
15
+ "3": "bed",
16
+ "4": "zero",
17
+ "5": "on",
18
+ "6": "learn",
19
+ "7": "two",
20
+ "8": "house",
21
+ "9": "tree",
22
+ "10": "dog",
23
+ "11": "stop",
24
+ "12": "seven",
25
+ "13": "eight",
26
+ "14": "down",
27
+ "15": "six",
28
+ "16": "forward",
29
+ "17": "cat",
30
+ "18": "right",
31
+ "19": "visual",
32
+ "20": "four",
33
+ "21": "wow",
34
+ "22": "no",
35
+ "23": "nine",
36
+ "24": "off",
37
+ "25": "three",
38
+ "26": "left",
39
+ "27": "marvin",
40
+ "28": "yes",
41
+ "29": "up",
42
+ "30": "sheila",
43
+ "31": "happy",
44
+ "32": "bird",
45
+ "33": "go",
46
+ "34": "one"
47
+ },
48
+ "initializer_range": 0.02,
49
+ "intermediate_size": 3072,
50
+ "label2id": {
51
+ "backward": 0,
52
+ "bed": 3,
53
+ "bird": 32,
54
+ "cat": 17,
55
+ "dog": 10,
56
+ "down": 14,
57
+ "eight": 13,
58
+ "five": 2,
59
+ "follow": 1,
60
+ "forward": 16,
61
+ "four": 20,
62
+ "go": 33,
63
+ "happy": 31,
64
+ "house": 8,
65
+ "learn": 6,
66
+ "left": 26,
67
+ "marvin": 27,
68
+ "nine": 23,
69
+ "no": 22,
70
+ "off": 24,
71
+ "on": 5,
72
+ "one": 34,
73
+ "right": 18,
74
+ "seven": 12,
75
+ "sheila": 30,
76
+ "six": 15,
77
+ "stop": 11,
78
+ "three": 25,
79
+ "tree": 9,
80
+ "two": 7,
81
+ "up": 29,
82
+ "visual": 19,
83
+ "wow": 21,
84
+ "yes": 28,
85
+ "zero": 4
86
+ },
87
+ "layer_norm_eps": 1e-12,
88
+ "max_length": 128,
89
+ "model_type": "audio-spectrogram-transformer",
90
+ "num_attention_heads": 12,
91
+ "num_hidden_layers": 12,
92
+ "num_mel_bins": 128,
93
+ "patch_size": 16,
94
+ "problem_type": "single_label_classification",
95
+ "qkv_bias": true,
96
+ "time_stride": 10,
97
+ "torch_dtype": "float32",
98
+ "transformers_version": "4.37.0"
99
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:234e2f7175ba7cc700b776b7106978aa7706d5e41ba7eedd83a0cdcb3447371e
3
+ size 341610652
preprocessor_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "feature_extractor_type": "ASTFeatureExtractor",
4
+ "feature_size": 1,
5
+ "max_length": 128,
6
+ "mean": -6.845978,
7
+ "num_mel_bins": 128,
8
+ "padding_side": "right",
9
+ "padding_value": 0.0,
10
+ "return_attention_mask": false,
11
+ "sampling_rate": 16000,
12
+ "std": 5.5654526
13
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65c54d15ca14347058e9d343615f4ab8920d0b2772f6204f501e0b861358fc26
3
+ size 4728