Run this model with HF Jobs
Run Priyanship/output on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Priyanship/output. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Priyanship/output on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Priyanship/output with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Priyanship/output with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Priyanship/output")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("Priyanship/output") model = AutoModelForCTC.from_pretrained("Priyanship/output", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 300
Browse filesFiles changed (4)
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122wandb: Currently logged in as: priyanshi-pal (priyanshipal). Use `wandb login --relogin` to force reloginwandb: wandb version 0.18.3 is available! To upgrade, please run:wandb: $ pip install wandb --upgradewandb: Tracking run with wandb version 0.17.6wandb: Run data is saved locally in /scratch/elec/t405-puhe/p/palp3/MUCS/wandb/run-20241015_205544-ulk7tgrawandb: Run `wandb offline` to turn off syncing.wandb: Syncing run rerun_bestrun_wgas1fp16truebs8_indicw2v_ad0_3_hd_02_featd_0_3_lr6e-4_warmup500_s300_shuff100wandb: ⭐️ View project at https://wandb.ai/priyanshipal/huggingfacewandb: 🚀 View run at https://wandb.ai/priyanshipal/huggingface/runs/ulk7tgra/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 warnings.warn(10/15/2024 20:55:49 - WARNING - __main__ - device: cuda:0, n_gpu: 116-bits training: False
Generating train split: 0 examples [00:00, ? examples/s]
Generating train split: 52825 examples [00:00, 55473.45 examples/s]
Generating train split: 52825 examples [00:00, 54197.62 examples/s]
Generating train split: 0 examples [00:00, ? examples/s]
Generating train split: 3136 examples [00:00, 32391.32 examples/s]/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. warnings.warn(/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`. warnings.warn(/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. warnings.warn(/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. state_dict = torch.load(f"{model_args.model_name_or_path}/pytorch_model.bin")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']You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.max_steps is given, it will override any value given in num_train_epochsWav2Vec2CTCTokenizer(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={ 147: AddedToken("[UNK]", rstrip=True, lstrip=True, single_word=False, normalized=False, special=False), 148: AddedToken("[PAD]", rstrip=True, lstrip=True, single_word=False, normalized=False, special=False), 149: AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True), 150: AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),}CHECK MODEL PARAMS Wav2Vec2ForCTC( (wav2vec2): Wav2Vec2Model( (feature_extractor): Wav2Vec2FeatureEncoder( (conv_layers): ModuleList( (0): Wav2Vec2LayerNormConvLayer( (conv): Conv1d(1, 512, kernel_size=(10,), stride=(5,)) (layer_norm): LayerNorm((512,), eps=1e-05, elementwise_affine=True) (activation): GELUActivation() ) (1-4): 4 x Wav2Vec2LayerNormConvLayer( (conv): Conv1d(512, 512, kernel_size=(3,), stride=(2,)) (layer_norm): LayerNorm((512,), eps=1e-05, elementwise_affine=True) (activation): GELUActivation() ) (5-6): 2 x Wav2Vec2LayerNormConvLayer( (conv): Conv1d(512, 512, kernel_size=(2,), stride=(2,)) (layer_norm): LayerNorm((512,), eps=1e-05, elementwise_affine=True) (activation): GELUActivation() ) ) ) (feature_projection): Wav2Vec2FeatureProjection( (layer_norm): LayerNorm((512,), eps=1e-05, elementwise_affine=True) (projection): Linear(in_features=512, out_features=1024, bias=True) (dropout): Dropout(p=0.3, inplace=False) ) (encoder): Wav2Vec2EncoderStableLayerNorm( (pos_conv_embed): Wav2Vec2PositionalConvEmbedding( (conv): ParametrizedConv1d( 1024, 1024, kernel_size=(128,), stride=(1,), padding=(64,), groups=16 (parametrizations): ModuleDict( (weight): ParametrizationList( (0): _WeightNorm() ) ) ) (padding): Wav2Vec2SamePadLayer() (activation): GELUActivation() ) (layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True) (dropout): Dropout(p=0.2, inplace=False) (layers): ModuleList( (0-23): 24 x Wav2Vec2EncoderLayerStableLayerNorm( (attention): Wav2Vec2SdpaAttention( (k_proj): Linear(in_features=1024, out_features=1024, bias=True) (v_proj): Linear(in_features=1024, out_features=1024, bias=True) (q_proj): Linear(in_features=1024, out_features=1024, bias=True) (out_proj): Linear(in_features=1024, out_features=1024, bias=True) ) (dropout): Dropout(p=0.2, inplace=False) (layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True) (feed_forward): Wav2Vec2FeedForward( (intermediate_dropout): Dropout(p=0.0, inplace=False) (intermediate_dense): Linear(in_features=1024, out_features=4096, bias=True) (intermediate_act_fn): GELUActivation() (output_dense): Linear(in_features=4096, out_features=1024, bias=True) (output_dropout): Dropout(p=0.2, inplace=False) ) (final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True) ) ) ) ) (dropout): Dropout(p=0.0, inplace=False) (lm_head): Linear(in_features=1024, out_features=151, bias=True))
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. warnings.warn(Traceback (most recent call last): File "/scratch/elec/puhe/p/palp3/MUCS/finetune_script_indicw2v_partdata.py", line 789, in <module> main() File "/scratch/elec/puhe/p/palp3/MUCS/finetune_script_indicw2v_partdata.py", line 740, in main train_result = trainer.train() ^^^^^^^^^^^^^^^ File "/scratch/work/palp3/myenv/lib/python3.11/site-packages/transformers/trainer.py", line 2043, in train return inner_training_loop( ^^^^^^^^^^^^^^^^^^^^ File "/scratch/work/palp3/myenv/lib/python3.11/site-packages/transformers/trainer.py", line 2388, in _inner_training_loop tr_loss_step = self.training_step(model, inputs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/scratch/work/palp3/myenv/lib/python3.11/site-packages/transformers/trainer.py", line 3477, in training_step self.optimizer.train() File "/scratch/work/palp3/myenv/lib/python3.11/site-packages/accelerate/optimizer.py", line 128, in train if hasattr(self.optimizer, "train") and callable(self.optimizer.train): ^^^^^^^^^^^^^^^^^^^^AttributeError: 'AdamW' object has no attribute 'train'wandb: - 0.008 MB of 0.008 MB uploaded
wandb: \ 0.008 MB of 0.040 MB uploaded
wandb: | 0.040 MB of 0.040 MB uploaded
wandb: 🚀 View run rerun_bestrun_wgas1fp16truebs8_indicw2v_ad0_3_hd_02_featd_0_3_lr6e-4_warmup500_s300_shuff100 at: https://wandb.ai/priyanshipal/huggingface/runs/ulk7tgrawandb: ⭐️ View project at: https://wandb.ai/priyanshipal/huggingfacewandb: Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)wandb: Find logs at: ./wandb/run-20241015_205544-ulk7tgra/logswandb: 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.123version https://git-lfs.github.com/spec/v1oid sha256:81ae76905e24f861855c984d31eca140c59bb0b9d023d6e279dbc94e7647f56esize 1262426580123version https://git-lfs.github.com/spec/v1oid sha256:5862380dd03a266c8c84c8d8be1c2e87b4292f5d9f0fd59633ee1031e8e60a1dsize 1262426580
123version https://git-lfs.github.com/spec/v1oid sha256:d06bc0159854a776f6fe0a037a31ee779f41b486f41cc3911a574757ac5647f8size 5432123version https://git-lfs.github.com/spec/v1oid sha256:88d5758118fce348aebadc5cf828d5353f39c3dd822ba51c3d9b83fec216ffa6size 5496
gas1bs8_indicwav2vec_MUCS_warmup500_s300shuff100_3753128.outAdded
gas1fp16truebs8_indicwav2vec_MUCS_warmup500_s300shuff100_3751108.outAdded+122
model.safetensors+1-1
training_args.bin+2-2