Priyanship commited on
Commit
78b0d14
·
verified ·
1 Parent(s): ee9af75

Training in progress, step 300

Browse files
added_tokens.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
- "</s>": 152,
3
- "<s>": 151
4
  }
 
1
  {
2
+ "</s>": 150,
3
+ "<s>": 149
4
  }
config.json CHANGED
@@ -78,7 +78,7 @@
78
  "num_hidden_layers": 24,
79
  "num_negatives": 100,
80
  "output_hidden_size": 1024,
81
- "pad_token_id": 150,
82
  "proj_codevector_dim": 256,
83
  "tdnn_dilation": [
84
  1,
@@ -102,8 +102,8 @@
102
  1
103
  ],
104
  "torch_dtype": "float32",
105
- "transformers_version": "4.43.1",
106
  "use_weighted_layer_sum": false,
107
- "vocab_size": 153,
108
  "xvector_output_dim": 512
109
  }
 
78
  "num_hidden_layers": 24,
79
  "num_negatives": 100,
80
  "output_hidden_size": 1024,
81
+ "pad_token_id": 148,
82
  "proj_codevector_dim": 256,
83
  "tdnn_dilation": [
84
  1,
 
102
  1
103
  ],
104
  "torch_dtype": "float32",
105
+ "transformers_version": "4.45.2",
106
  "use_weighted_layer_sum": false,
107
+ "vocab_size": 151,
108
  "xvector_output_dim": 512
109
  }
gas1_indicwav2vec_MUCS_warmup500_s300shuff100_3751605.out ADDED
The diff for this file is too large to render. See raw diff
 
gas1_indicwav2vec_trainwtagsv2ibs_MUCS_warmup500_s300shuff100_3750753.out ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
  0%| | 0/15000 [00:00<?, ?it/s]/scratch/work/palp3/myenv/lib/python3.11/site-packages/transformers/models/wav2vec2/processing_wav2vec2.py:157: UserWarning: `as_target_processor` is deprecated and will be removed in v5 of Transformers. You can process your labels by using the argument `text` of the regular `__call__` method (either in the same call as your audio inputs, or in a separate call.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ wandb: Currently logged in as: priyanshi-pal (priyanshipal). Use `wandb login --relogin` to force relogin
2
+ wandb: wandb version 0.18.3 is available! To upgrade, please run:
3
+ wandb: $ pip install wandb --upgrade
4
+ wandb: Tracking run with wandb version 0.17.6
5
+ wandb: Run data is saved locally in /scratch/elec/t405-puhe/p/palp3/MUCS/wandb/run-20241015_204659-cqvy1de4
6
+ wandb: Run `wandb offline` to turn off syncing.
7
+ wandb: Syncing run rerun_bestrun_wgas1_indicw2v_ad0_3_hd_02_featd_0_3_lr6e-4_warmup500_s300_shuff100
8
+ wandb: ⭐️ View project at https://wandb.ai/priyanshipal/huggingface
9
+ wandb: 🚀 View run at https://wandb.ai/priyanshipal/huggingface/runs/cqvy1de4
10
+ /scratch/work/palp3/myenv/lib/python3.11/site-packages/transformers/training_args.py:1545: FutureWarning: `evaluation_strategy` is deprecated and will be removed in version 4.46 of 🤗 Transformers. Use `eval_strategy` instead
11
+ warnings.warn(
12
+ 10/15/2024 20:47:04 - WARNING - __main__ - device: cuda:0, n_gpu: 116-bits training: True
13
+
14
+
15
+ /scratch/work/palp3/myenv/lib/python3.11/site-packages/transformers/models/auto/configuration_auto.py:991: FutureWarning: The `use_auth_token` argument is deprecated and will be removed in v5 of Transformers. Please use `token` instead.
16
+ warnings.warn(
17
+ /scratch/work/palp3/myenv/lib/python3.11/site-packages/transformers/configuration_utils.py:302: UserWarning: Passing `gradient_checkpointing` to a config initialization is deprecated and will be removed in v5 Transformers. Using `model.gradient_checkpointing_enable()` instead, or if you are using the `Trainer` API, pass `gradient_checkpointing=True` in your `TrainingArguments`.
18
+ warnings.warn(
19
+ /scratch/work/palp3/myenv/lib/python3.11/site-packages/transformers/models/auto/feature_extraction_auto.py:331: FutureWarning: The `use_auth_token` argument is deprecated and will be removed in v5 of Transformers. Please use `token` instead.
20
+ warnings.warn(
21
+ /scratch/elec/puhe/p/palp3/MUCS/finetune_script_indicw2v_partdata.py:508: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
22
+ state_dict = torch.load(f"{model_args.model_name_or_path}/pytorch_model.bin")
23
+ Some weights of Wav2Vec2ForCTC were not initialized from the model checkpoint at /m/triton/scratch/elec/puhe/p/palp3/MUCS/indicwav2vec-hindi and are newly initialized: ['lm_head.bias', 'lm_head.weight']
24
+ You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
25
+ /scratch/work/palp3/myenv/lib/python3.11/site-packages/accelerate/accelerator.py:488: FutureWarning: `torch.cuda.amp.GradScaler(args...)` is deprecated. Please use `torch.amp.GradScaler('cuda', args...)` instead.
26
+ self.scaler = torch.cuda.amp.GradScaler(**kwargs)
27
+ max_steps is given, it will override any value given in num_train_epochs
28
+ Wav2Vec2CTCTokenizer(name_or_path='', vocab_size=149, model_max_length=1000000000000000019884624838656, is_fast=False, padding_side='right', truncation_side='right', special_tokens={'bos_token': '<s>', 'eos_token': '</s>', 'unk_token': '[UNK]', 'pad_token': '[PAD]'}, clean_up_tokenization_spaces=False), added_tokens_decoder={
29
+ 147: AddedToken("[UNK]", rstrip=True, lstrip=True, single_word=False, normalized=False, special=False),
30
+ 148: AddedToken("[PAD]", rstrip=True, lstrip=True, single_word=False, normalized=False, special=False),
31
+ 149: AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
32
+ 150: AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
33
+ }
34
+ CHECK MODEL PARAMS Wav2Vec2ForCTC(
35
+ (wav2vec2): Wav2Vec2Model(
36
+ (feature_extractor): Wav2Vec2FeatureEncoder(
37
+ (conv_layers): ModuleList(
38
+ (0): Wav2Vec2LayerNormConvLayer(
39
+ (conv): Conv1d(1, 512, kernel_size=(10,), stride=(5,))
40
+ (layer_norm): LayerNorm((512,), eps=1e-05, elementwise_affine=True)
41
+ (activation): GELUActivation()
42
+ )
43
+ (1-4): 4 x Wav2Vec2LayerNormConvLayer(
44
+ (conv): Conv1d(512, 512, kernel_size=(3,), stride=(2,))
45
+ (layer_norm): LayerNorm((512,), eps=1e-05, elementwise_affine=True)
46
+ (activation): GELUActivation()
47
+ )
48
+ (5-6): 2 x Wav2Vec2LayerNormConvLayer(
49
+ (conv): Conv1d(512, 512, kernel_size=(2,), stride=(2,))
50
+ (layer_norm): LayerNorm((512,), eps=1e-05, elementwise_affine=True)
51
+ (activation): GELUActivation()
52
+ )
53
+ )
54
+ )
55
+ (feature_projection): Wav2Vec2FeatureProjection(
56
+ (layer_norm): LayerNorm((512,), eps=1e-05, elementwise_affine=True)
57
+ (projection): Linear(in_features=512, out_features=1024, bias=True)
58
+ (dropout): Dropout(p=0.3, inplace=False)
59
+ )
60
+ (encoder): Wav2Vec2EncoderStableLayerNorm(
61
+ (pos_conv_embed): Wav2Vec2PositionalConvEmbedding(
62
+ (conv): ParametrizedConv1d(
63
+ 1024, 1024, kernel_size=(128,), stride=(1,), padding=(64,), groups=16
64
+ (parametrizations): ModuleDict(
65
+ (weight): ParametrizationList(
66
+ (0): _WeightNorm()
67
+ )
68
+ )
69
+ )
70
+ (padding): Wav2Vec2SamePadLayer()
71
+ (activation): GELUActivation()
72
+ )
73
+ (layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
74
+ (dropout): Dropout(p=0.2, inplace=False)
75
+ (layers): ModuleList(
76
+ (0-23): 24 x Wav2Vec2EncoderLayerStableLayerNorm(
77
+ (attention): Wav2Vec2SdpaAttention(
78
+ (k_proj): Linear(in_features=1024, out_features=1024, bias=True)
79
+ (v_proj): Linear(in_features=1024, out_features=1024, bias=True)
80
+ (q_proj): Linear(in_features=1024, out_features=1024, bias=True)
81
+ (out_proj): Linear(in_features=1024, out_features=1024, bias=True)
82
+ )
83
+ (dropout): Dropout(p=0.2, inplace=False)
84
+ (layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
85
+ (feed_forward): Wav2Vec2FeedForward(
86
+ (intermediate_dropout): Dropout(p=0.0, inplace=False)
87
+ (intermediate_dense): Linear(in_features=1024, out_features=4096, bias=True)
88
+ (intermediate_act_fn): GELUActivation()
89
+ (output_dense): Linear(in_features=4096, out_features=1024, bias=True)
90
+ (output_dropout): Dropout(p=0.2, inplace=False)
91
+ )
92
+ (final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
93
+ )
94
+ )
95
+ )
96
+ )
97
+ (dropout): Dropout(p=0.0, inplace=False)
98
+ (lm_head): Linear(in_features=1024, out_features=151, bias=True)
99
+ )
100
+
101
  0%| | 0/15000 [00:00<?, ?it/s]/scratch/work/palp3/myenv/lib/python3.11/site-packages/transformers/models/wav2vec2/processing_wav2vec2.py:157: UserWarning: `as_target_processor` is deprecated and will be removed in v5 of Transformers. You can process your labels by using the argument `text` of the regular `__call__` method (either in the same call as your audio inputs, or in a separate call.
102
+ warnings.warn(
103
+ Traceback (most recent call last):
104
+ File "/scratch/elec/puhe/p/palp3/MUCS/finetune_script_indicw2v_partdata.py", line 789, in <module>
105
+ main()
106
+ File "/scratch/elec/puhe/p/palp3/MUCS/finetune_script_indicw2v_partdata.py", line 740, in main
107
+ train_result = trainer.train()
108
+ ^^^^^^^^^^^^^^^
109
+ File "/scratch/work/palp3/myenv/lib/python3.11/site-packages/transformers/trainer.py", line 2043, in train
110
+ return inner_training_loop(
111
+ ^^^^^^^^^^^^^^^^^^^^
112
+ File "/scratch/work/palp3/myenv/lib/python3.11/site-packages/transformers/trainer.py", line 2388, in _inner_training_loop
113
+ tr_loss_step = self.training_step(model, inputs)
114
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
115
+ File "/scratch/work/palp3/myenv/lib/python3.11/site-packages/transformers/trainer.py", line 3477, in training_step
116
+ self.optimizer.train()
117
+ File "/scratch/work/palp3/myenv/lib/python3.11/site-packages/accelerate/optimizer.py", line 128, in train
118
+ return self.optimizer.train()
119
+ ^^^^^^^^^^^^^^^^^^^^
120
+ AttributeError: 'AdamW' object has no attribute 'train'
121
+ wandb: - 0.008 MB of 0.008 MB uploaded
122
+ wandb: ⭐️ View project at: https://wandb.ai/priyanshipal/huggingface
123
+ wandb: Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)
124
+ wandb: Find logs at: ./wandb/run-20241015_204659-cqvy1de4/logs
125
+ wandb: WARNING The new W&B backend becomes opt-out in version 0.18.0; try it out with `wandb.require("core")`! See https://wandb.me/wandb-core for more information.
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:755cae88caa8f24d53735adc78d12bd512963cb249de7b114547f4cf8cb99e82
3
- size 1262434780
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02204d62dbbdd71f38e38cede5d95aca175c7296488b3361d5407c091ced33f6
3
+ size 1262426580
tokenizer_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "added_tokens_decoder": {
3
- "149": {
4
  "content": "[UNK]",
5
  "lstrip": true,
6
  "normalized": false,
@@ -8,7 +8,7 @@
8
  "single_word": false,
9
  "special": false
10
  },
11
- "150": {
12
  "content": "[PAD]",
13
  "lstrip": true,
14
  "normalized": false,
@@ -16,7 +16,7 @@
16
  "single_word": false,
17
  "special": false
18
  },
19
- "151": {
20
  "content": "<s>",
21
  "lstrip": false,
22
  "normalized": false,
@@ -24,7 +24,7 @@
24
  "single_word": false,
25
  "special": true
26
  },
27
- "152": {
28
  "content": "</s>",
29
  "lstrip": false,
30
  "normalized": false,
@@ -34,7 +34,7 @@
34
  }
35
  },
36
  "bos_token": "<s>",
37
- "clean_up_tokenization_spaces": true,
38
  "do_lower_case": false,
39
  "eos_token": "</s>",
40
  "model_max_length": 1000000000000000019884624838656,
 
1
  {
2
  "added_tokens_decoder": {
3
+ "147": {
4
  "content": "[UNK]",
5
  "lstrip": true,
6
  "normalized": false,
 
8
  "single_word": false,
9
  "special": false
10
  },
11
+ "148": {
12
  "content": "[PAD]",
13
  "lstrip": true,
14
  "normalized": false,
 
16
  "single_word": false,
17
  "special": false
18
  },
19
+ "149": {
20
  "content": "<s>",
21
  "lstrip": false,
22
  "normalized": false,
 
24
  "single_word": false,
25
  "special": true
26
  },
27
+ "150": {
28
  "content": "</s>",
29
  "lstrip": false,
30
  "normalized": false,
 
34
  }
35
  },
36
  "bos_token": "<s>",
37
+ "clean_up_tokenization_spaces": false,
38
  "do_lower_case": false,
39
  "eos_token": "</s>",
40
  "model_max_length": 1000000000000000019884624838656,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:071e6d4afa796c2acebfd47a3664f0a7ea8528a7313422e5fdfafeede8b71d61
3
- size 5496
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d06bc0159854a776f6fe0a037a31ee779f41b486f41cc3911a574757ac5647f8
3
+ size 5432
vocab.json CHANGED
@@ -23,8 +23,8 @@
23
  "=": 22,
24
  ">": 23,
25
  "@": 24,
26
- "[PAD]": 150,
27
- "[UNK]": 149,
28
  "\\": 25,
29
  "^": 26,
30
  "_": 27,
@@ -147,7 +147,5 @@
147
  "›": 143,
148
  "⅓": 144,
149
  "→": 145,
150
- "∅": 147,
151
- "∇": 148,
152
  "−": 146
153
  }
 
23
  "=": 22,
24
  ">": 23,
25
  "@": 24,
26
+ "[PAD]": 148,
27
+ "[UNK]": 147,
28
  "\\": 25,
29
  "^": 26,
30
  "_": 27,
 
147
  "›": 143,
148
  "⅓": 144,
149
  "→": 145,
 
 
150
  "−": 146
151
  }