mohantesting commited on
Commit
7de2fcd
·
verified ·
1 Parent(s): 6a150f0

Add files using upload-large-folder tool

Browse files
Files changed (5) hide show
  1. README.md +73 -0
  2. config.json +149 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +9 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: facebook/wav2vec2-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: my_awesome_mind_model
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
+ # my_awesome_mind_model
18
+
19
+ This model is a fine-tuned version of [facebook/wav2vec2-base](https://huggingface.co/facebook/wav2vec2-base) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 2.6668
22
+ - Accuracy: 0.0708
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: 3e-05
42
+ - train_batch_size: 32
43
+ - eval_batch_size: 32
44
+ - seed: 42
45
+ - gradient_accumulation_steps: 4
46
+ - total_train_batch_size: 128
47
+ - optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
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
+ | No log | 1.0 | 4 | 2.6480 | 0.0354 |
57
+ | No log | 2.0 | 8 | 2.6528 | 0.0354 |
58
+ | 2.6393 | 3.0 | 12 | 2.6578 | 0.0442 |
59
+ | 2.6393 | 4.0 | 16 | 2.6518 | 0.0531 |
60
+ | 2.6261 | 5.0 | 20 | 2.6490 | 0.0708 |
61
+ | 2.6261 | 6.0 | 24 | 2.6534 | 0.0354 |
62
+ | 2.6261 | 7.0 | 28 | 2.6562 | 0.0708 |
63
+ | 2.6252 | 8.0 | 32 | 2.6635 | 0.0796 |
64
+ | 2.6252 | 9.0 | 36 | 2.6670 | 0.0708 |
65
+ | 2.6144 | 10.0 | 40 | 2.6668 | 0.0708 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.57.3
71
+ - Pytorch 2.9.1+cu128
72
+ - Datasets 4.4.1
73
+ - Tokenizers 0.22.1
config.json ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "adapter_attn_dim": null,
4
+ "adapter_kernel_size": 3,
5
+ "adapter_stride": 2,
6
+ "add_adapter": false,
7
+ "apply_spec_augment": true,
8
+ "architectures": [
9
+ "Wav2Vec2ForSequenceClassification"
10
+ ],
11
+ "attention_dropout": 0.1,
12
+ "bos_token_id": 1,
13
+ "classifier_proj_size": 256,
14
+ "codevector_dim": 256,
15
+ "contrastive_logits_temperature": 0.1,
16
+ "conv_bias": false,
17
+ "conv_dim": [
18
+ 512,
19
+ 512,
20
+ 512,
21
+ 512,
22
+ 512,
23
+ 512,
24
+ 512
25
+ ],
26
+ "conv_kernel": [
27
+ 10,
28
+ 3,
29
+ 3,
30
+ 3,
31
+ 3,
32
+ 2,
33
+ 2
34
+ ],
35
+ "conv_stride": [
36
+ 5,
37
+ 2,
38
+ 2,
39
+ 2,
40
+ 2,
41
+ 2,
42
+ 2
43
+ ],
44
+ "ctc_loss_reduction": "sum",
45
+ "ctc_zero_infinity": false,
46
+ "diversity_loss_weight": 0.1,
47
+ "do_stable_layer_norm": false,
48
+ "dtype": "float32",
49
+ "eos_token_id": 2,
50
+ "feat_extract_activation": "gelu",
51
+ "feat_extract_norm": "group",
52
+ "feat_proj_dropout": 0.1,
53
+ "feat_quantizer_dropout": 0.0,
54
+ "final_dropout": 0.0,
55
+ "freeze_feat_extract_train": true,
56
+ "hidden_act": "gelu",
57
+ "hidden_dropout": 0.1,
58
+ "hidden_size": 768,
59
+ "id2label": {
60
+ "0": "abroad",
61
+ "1": "address",
62
+ "10": "high_value_payment",
63
+ "11": "joint_account",
64
+ "12": "latest_transactions",
65
+ "13": "pay_bill",
66
+ "2": "app_error",
67
+ "3": "atm_limit",
68
+ "4": "balance",
69
+ "5": "business_loan",
70
+ "6": "card_issues",
71
+ "7": "cash_deposit",
72
+ "8": "direct_debit",
73
+ "9": "freeze"
74
+ },
75
+ "initializer_range": 0.02,
76
+ "intermediate_size": 3072,
77
+ "label2id": {
78
+ "abroad": "0",
79
+ "address": "1",
80
+ "app_error": "2",
81
+ "atm_limit": "3",
82
+ "balance": "4",
83
+ "business_loan": "5",
84
+ "card_issues": "6",
85
+ "cash_deposit": "7",
86
+ "direct_debit": "8",
87
+ "freeze": "9",
88
+ "high_value_payment": "10",
89
+ "joint_account": "11",
90
+ "latest_transactions": "12",
91
+ "pay_bill": "13"
92
+ },
93
+ "layer_norm_eps": 1e-05,
94
+ "layerdrop": 0.0,
95
+ "mask_channel_length": 10,
96
+ "mask_channel_min_space": 1,
97
+ "mask_channel_other": 0.0,
98
+ "mask_channel_prob": 0.0,
99
+ "mask_channel_selection": "static",
100
+ "mask_feature_length": 10,
101
+ "mask_feature_min_masks": 0,
102
+ "mask_feature_prob": 0.0,
103
+ "mask_time_length": 10,
104
+ "mask_time_min_masks": 2,
105
+ "mask_time_min_space": 1,
106
+ "mask_time_other": 0.0,
107
+ "mask_time_prob": 0.05,
108
+ "mask_time_selection": "static",
109
+ "model_type": "wav2vec2",
110
+ "no_mask_channel_overlap": false,
111
+ "no_mask_time_overlap": false,
112
+ "num_adapter_layers": 3,
113
+ "num_attention_heads": 12,
114
+ "num_codevector_groups": 2,
115
+ "num_codevectors_per_group": 320,
116
+ "num_conv_pos_embedding_groups": 16,
117
+ "num_conv_pos_embeddings": 128,
118
+ "num_feat_extract_layers": 7,
119
+ "num_hidden_layers": 12,
120
+ "num_negatives": 100,
121
+ "output_hidden_size": 768,
122
+ "pad_token_id": 0,
123
+ "proj_codevector_dim": 256,
124
+ "tdnn_dilation": [
125
+ 1,
126
+ 2,
127
+ 3,
128
+ 1,
129
+ 1
130
+ ],
131
+ "tdnn_dim": [
132
+ 512,
133
+ 512,
134
+ 512,
135
+ 512,
136
+ 1500
137
+ ],
138
+ "tdnn_kernel": [
139
+ 5,
140
+ 3,
141
+ 3,
142
+ 1,
143
+ 1
144
+ ],
145
+ "transformers_version": "4.57.3",
146
+ "use_weighted_layer_sum": false,
147
+ "vocab_size": 32,
148
+ "xvector_output_dim": 512
149
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5216d43823901b81552919516bbabde99852482a63866b52cc5a7ca4ab62541d
3
+ size 378314704
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.0,
7
+ "return_attention_mask": false,
8
+ "sampling_rate": 16000
9
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32a89a6910f6535c35d486b3c3e2c303efb31da6cbc5936be64900d49b25c624
3
+ size 5841