Priyanship commited on
Commit
bbddded
·
verified ·
1 Parent(s): 22fa8a5

Training in progress, step 300

Browse files
gas1bs8_indicwav2vec_MUCS_warmup500_s300shuff100_3753128.out ADDED
The diff for this file is too large to render. See raw diff
 
gas1fp16truebs8_indicwav2vec_MUCS_warmup500_s300shuff100_3751108.out ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_205544-ulk7tgra
6
+ wandb: Run `wandb offline` to turn off syncing.
7
+ wandb: Syncing run rerun_bestrun_wgas1fp16truebs8_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/ulk7tgra
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:55:49 - WARNING - __main__ - device: cuda:0, n_gpu: 116-bits training: False
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
+ max_steps is given, it will override any value given in num_train_epochs
26
+ 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={
27
+ 147: AddedToken("[UNK]", rstrip=True, lstrip=True, single_word=False, normalized=False, special=False),
28
+ 148: AddedToken("[PAD]", rstrip=True, lstrip=True, single_word=False, normalized=False, special=False),
29
+ 149: AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
30
+ 150: AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
31
+ }
32
+ CHECK MODEL PARAMS Wav2Vec2ForCTC(
33
+ (wav2vec2): Wav2Vec2Model(
34
+ (feature_extractor): Wav2Vec2FeatureEncoder(
35
+ (conv_layers): ModuleList(
36
+ (0): Wav2Vec2LayerNormConvLayer(
37
+ (conv): Conv1d(1, 512, kernel_size=(10,), stride=(5,))
38
+ (layer_norm): LayerNorm((512,), eps=1e-05, elementwise_affine=True)
39
+ (activation): GELUActivation()
40
+ )
41
+ (1-4): 4 x Wav2Vec2LayerNormConvLayer(
42
+ (conv): Conv1d(512, 512, kernel_size=(3,), stride=(2,))
43
+ (layer_norm): LayerNorm((512,), eps=1e-05, elementwise_affine=True)
44
+ (activation): GELUActivation()
45
+ )
46
+ (5-6): 2 x Wav2Vec2LayerNormConvLayer(
47
+ (conv): Conv1d(512, 512, kernel_size=(2,), stride=(2,))
48
+ (layer_norm): LayerNorm((512,), eps=1e-05, elementwise_affine=True)
49
+ (activation): GELUActivation()
50
+ )
51
+ )
52
+ )
53
+ (feature_projection): Wav2Vec2FeatureProjection(
54
+ (layer_norm): LayerNorm((512,), eps=1e-05, elementwise_affine=True)
55
+ (projection): Linear(in_features=512, out_features=1024, bias=True)
56
+ (dropout): Dropout(p=0.3, inplace=False)
57
+ )
58
+ (encoder): Wav2Vec2EncoderStableLayerNorm(
59
+ (pos_conv_embed): Wav2Vec2PositionalConvEmbedding(
60
+ (conv): ParametrizedConv1d(
61
+ 1024, 1024, kernel_size=(128,), stride=(1,), padding=(64,), groups=16
62
+ (parametrizations): ModuleDict(
63
+ (weight): ParametrizationList(
64
+ (0): _WeightNorm()
65
+ )
66
+ )
67
+ )
68
+ (padding): Wav2Vec2SamePadLayer()
69
+ (activation): GELUActivation()
70
+ )
71
+ (layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
72
+ (dropout): Dropout(p=0.2, inplace=False)
73
+ (layers): ModuleList(
74
+ (0-23): 24 x Wav2Vec2EncoderLayerStableLayerNorm(
75
+ (attention): Wav2Vec2SdpaAttention(
76
+ (k_proj): Linear(in_features=1024, out_features=1024, bias=True)
77
+ (v_proj): Linear(in_features=1024, out_features=1024, bias=True)
78
+ (q_proj): Linear(in_features=1024, out_features=1024, bias=True)
79
+ (out_proj): Linear(in_features=1024, out_features=1024, bias=True)
80
+ )
81
+ (dropout): Dropout(p=0.2, inplace=False)
82
+ (layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
83
+ (feed_forward): Wav2Vec2FeedForward(
84
+ (intermediate_dropout): Dropout(p=0.0, inplace=False)
85
+ (intermediate_dense): Linear(in_features=1024, out_features=4096, bias=True)
86
+ (intermediate_act_fn): GELUActivation()
87
+ (output_dense): Linear(in_features=4096, out_features=1024, bias=True)
88
+ (output_dropout): Dropout(p=0.2, inplace=False)
89
+ )
90
+ (final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
91
+ )
92
+ )
93
+ )
94
+ )
95
+ (dropout): Dropout(p=0.0, inplace=False)
96
+ (lm_head): Linear(in_features=1024, out_features=151, bias=True)
97
+ )
98
+
99
  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.
100
+ warnings.warn(
101
+ Traceback (most recent call last):
102
+ File "/scratch/elec/puhe/p/palp3/MUCS/finetune_script_indicw2v_partdata.py", line 789, in <module>
103
+ main()
104
+ File "/scratch/elec/puhe/p/palp3/MUCS/finetune_script_indicw2v_partdata.py", line 740, in main
105
+ train_result = trainer.train()
106
+ ^^^^^^^^^^^^^^^
107
+ File "/scratch/work/palp3/myenv/lib/python3.11/site-packages/transformers/trainer.py", line 2043, in train
108
+ return inner_training_loop(
109
+ ^^^^^^^^^^^^^^^^^^^^
110
+ File "/scratch/work/palp3/myenv/lib/python3.11/site-packages/transformers/trainer.py", line 2388, in _inner_training_loop
111
+ tr_loss_step = self.training_step(model, inputs)
112
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
113
+ File "/scratch/work/palp3/myenv/lib/python3.11/site-packages/transformers/trainer.py", line 3477, in training_step
114
+ self.optimizer.train()
115
+ File "/scratch/work/palp3/myenv/lib/python3.11/site-packages/accelerate/optimizer.py", line 128, in train
116
+ if hasattr(self.optimizer, "train") and callable(self.optimizer.train):
117
+ ^^^^^^^^^^^^^^^^^^^^
118
+ AttributeError: 'AdamW' object has no attribute 'train'
119
+ wandb: - 0.008 MB of 0.008 MB uploaded
120
+ wandb: ⭐️ View project at: https://wandb.ai/priyanshipal/huggingface
121
+ wandb: Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)
122
+ wandb: Find logs at: ./wandb/run-20241015_205544-ulk7tgra/logs
123
+ 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:81ae76905e24f861855c984d31eca140c59bb0b9d023d6e279dbc94e7647f56e
3
  size 1262426580
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5862380dd03a266c8c84c8d8be1c2e87b4292f5d9f0fd59633ee1031e8e60a1d
3
  size 1262426580
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d06bc0159854a776f6fe0a037a31ee779f41b486f41cc3911a574757ac5647f8
3
- size 5432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88d5758118fce348aebadc5cf828d5353f39c3dd822ba51c3d9b83fec216ffa6
3
+ size 5496