Run this model with HF Jobs
Run Priyanship/eval_cache_hindi_only 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/eval_cache_hindi_only. 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/eval_cache_hindi_only 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/eval_cache_hindi_only with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Priyanship/eval_cache_hindi_only with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Priyanship/eval_cache_hindi_only")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("Priyanship/eval_cache_hindi_only") model = AutoModelForCTC.from_pretrained("Priyanship/eval_cache_hindi_only", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (6)
14 unmodified lines1516171818192021222321222324252614 unmodified linesThis model was trained from scratch on an unknown dataset.It achieves the following results on the evaluation set:- eval_loss: 2.2188- eval_model_preparation_time: 0.0044- eval_model_preparation_time: 0.0045- eval_cer: 0.4569- eval_wer: 0.5264- eval_runtime: 39.8784- eval_samples_per_second: 14.344- eval_steps_per_second: 0.903- eval_runtime: 39.0212- eval_samples_per_second: 14.659- eval_steps_per_second: 0.923- step: 0
## Model description123454567878910{ "eval_cer": 0.45689757252812313, "eval_loss": 2.218759059906006, "eval_model_preparation_time": 0.0044, "eval_runtime": 39.8784, "eval_model_preparation_time": 0.0045, "eval_runtime": 39.0212, "eval_samples": 572, "eval_samples_per_second": 14.344, "eval_steps_per_second": 0.903, "eval_samples_per_second": 14.659, "eval_steps_per_second": 0.923, "eval_wer": 0.5264004680415387}123454567878910{ "eval_cer": 0.45689757252812313, "eval_loss": 2.218759059906006, "eval_model_preparation_time": 0.0044, "eval_runtime": 39.8784, "eval_model_preparation_time": 0.0045, "eval_runtime": 39.0212, "eval_samples": 572, "eval_samples_per_second": 14.344, "eval_steps_per_second": 0.903, "eval_samples_per_second": 14.659, "eval_steps_per_second": 0.923, "eval_wer": 0.5264004680415387}1223version https://git-lfs.github.com/spec/v1oid sha256:d2cbc4a2b03e9738021be3965f5083d23904411fa2d3c32ac712544fd2ddf0d6oid sha256:18e2f8064918f795c1ead980847a11024e3cbc4f83e27b2e86a70ddcefffdcdesize 5496144 unmodified lines145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189144 unmodified lines eval_steps_per_second = 0.903 eval_wer = 0.5264
training_args.bin: 0%| | 0.00/5.50k [00:00<?, ?B/s]
training_args.bin: 100%|██████████| 5.50k/5.50k [00:00<00:00, 31.1kB/s]wandb: - 0.005 MB of 0.005 MB uploaded
wandb: \ 0.005 MB of 0.039 MB uploaded
wandb: | 0.039 MB of 0.039 MB uploaded
wandb: / 0.039 MB of 0.039 MB uploaded
wandb: wandb: Run history:wandb: eval/cer ▁wandb: eval/loss ▁wandb: eval/model_preparation_time ▁wandb: eval/runtime ▁wandb: eval/samples_per_second ▁wandb: eval/steps_per_second ▁wandb: eval/wer ▁wandb: eval_cer ▁wandb: eval_loss ▁wandb: eval_model_preparation_time ▁wandb: eval_runtime ▁wandb: eval_samples ▁wandb: eval_samples_per_second ▁wandb: eval_steps_per_second ▁wandb: eval_wer ▁wandb: train/global_step ▁▁wandb: wandb: Run summary:wandb: eval/cer 0.4569wandb: eval/loss 2.21876wandb: eval/model_preparation_time 0.0044wandb: eval/runtime 39.8784wandb: eval/samples_per_second 14.344wandb: eval/steps_per_second 0.903wandb: eval/wer 0.5264wandb: eval_cer 0.4569wandb: eval_loss 2.21876wandb: eval_model_preparation_time 0.0044wandb: eval_runtime 39.8784wandb: eval_samples 572wandb: eval_samples_per_second 14.344wandb: eval_steps_per_second 0.903wandb: eval_wer 0.5264wandb: train/global_step 0wandb: wandb: 🚀 View run transliterated_wer_glamorous_tree_37 at: https://wandb.ai/priyanshipal/huggingface/runs/214gwh3bwandb: ⭐️ 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-20241014_232133-214gwh3b/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.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157wandb: Currently logged in as: priyanshi-pal (priyanshipal). Use `wandb login --relogin` to force reloginwandb: - Waiting for wandb.init()...
wandb: \ Waiting for wandb.init()...
wandb: 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-20241014_233924-6ill7u88wandb: Run `wandb offline` to turn off syncing.wandb: Syncing run transliterated_wer_glamorous_tree_37wandb: ⭐️ View project at https://wandb.ai/priyanshipal/huggingfacewandb: 🚀 View run at https://wandb.ai/priyanshipal/huggingface/runs/6ill7u88/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(/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/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/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. self.scaler = torch.cuda.amp.GradScaler(**kwargs)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))check the eval set length 57210/14/2024 23:39:37 - INFO - __main__ - *** Evaluate ***/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(
0%| | 0/36 [00:00<?, ?it/s]
6%|▌ | 2/36 [00:01<00:26, 1.26it/s]
8%|▊ | 3/36 [00:02<00:33, 1.03s/it]
11%|█ | 4/36 [00:04<00:41, 1.30s/it]
14%|█▍ | 5/36 [00:06<00:42, 1.38s/it]
17%|█▋ | 6/36 [00:07<00:40, 1.36s/it]
19%|█▉ | 7/36 [00:08<00:35, 1.21s/it]
22%|██▏ | 8/36 [00:08<00:27, 1.03it/s]
25%|██▌ | 9/36 [00:09<00:22, 1.20it/s]
28%|██▊ | 10/36 [00:10<00:20, 1.24it/s]
31%|███ | 11/36 [00:11<00:20, 1.21it/s]
33%|███▎ | 12/36 [00:11<00:19, 1.22it/s]
36%|███▌ | 13/36 [00:12<00:17, 1.32it/s]
39%|███▉ | 14/36 [00:12<00:14, 1.51it/s]
42%|████▏ | 15/36 [00:13<00:12, 1.70it/s]
44%|████▍ | 16/36 [00:13<00:10, 1.86it/s]
47%|████▋ | 17/36 [00:14<00:09, 1.94it/s]
50%|█████ | 18/36 [00:14<00:09, 1.87it/s]
53%|█████▎ | 19/36 [00:15<00:09, 1.79it/s]
56%|█████▌ | 20/36 [00:15<00:08, 1.84it/s]
58%|█████▊ | 21/36 [00:16<00:07, 1.97it/s]
61%|██████ | 22/36 [00:16<00:07, 1.97it/s]
64%|██████▍ | 23/36 [00:17<00:06, 1.94it/s]
67%|██████▋ | 24/36 [00:17<00:06, 1.93it/s]
69%|██████▉ | 25/36 [00:18<00:05, 1.84it/s]
72%|███████▏ | 26/36 [00:19<00:05, 1.86it/s]
75%|███████▌ | 27/36 [00:19<00:04, 1.96it/s]
78%|███████▊ | 28/36 [00:20<00:04, 1.63it/s]
81%|████████ | 29/36 [00:21<00:06, 1.09it/s]
83%|████████▎ | 30/36 [00:23<00:06, 1.07s/it]
86%|████████▌ | 31/36 [00:25<00:06, 1.34s/it]
89%|████████▉ | 32/36 [00:25<00:04, 1.11s/it]
92%|█████████▏| 33/36 [00:26<00:02, 1.04it/s]
94%|█████████▍| 34/36 [00:27<00:01, 1.21it/s]
97%|█████████▋| 35/36 [00:27<00:00, 1.35it/s]
100%|██████████| 36/36 [00:27<00:00, 1.70it/s]
100%|██████████| 36/36 [00:28<00:00, 1.24it/s]/scratch/work/palp3/myenv/lib/python3.11/site-packages/huggingface_hub/hf_api.py:3889: UserWarning: It seems that you are about to commit a data file (json/default-b60d5edd0f197c71/0.0.0/7483f22a71512872c377524b97484f6d20c275799bb9e7cd8fb3198178d8220a/json-train.arrow) to a model repository. You are sure this is intended? If you are trying to upload a dataset, please set `repo_type='dataset'` or `--repo-type=dataset` in a CLI. warnings.warn(Printing predictions for a few samples:Sample 1: Reference (English): हम उनका उपयोग ऐसे ही कर सकते हैं या आवश्यकता अनुसार कुछ बदलाव करके उपयोग कर सकते हैं True Reference: हम उनका उपयोग ऐसे ही कर सकते हैं या आवश्यकता अनुसार कुछ बदलाव करके उपयोग कर सकते हैं###### Prediction (English): हम उनका उपयोग ऐसे ही कर सकते हैं True Prediction: हम उनका उपयोग ऐसे ही कर सकते हैं
Sample 2: Reference (English): अतः शीर्षक इस तरह से जोड़ सकते हैं True Reference: अतः शीर्षक इस तरह से जोड़ सकते हैं###### Prediction (English): अतः शीर्ष है True Prediction: अतः शीर्ष है
Sample 3: Reference (English): प्रेसेंटेशन के अंत में आपने स्लाइड की एक कॉपी बना ली है True Reference: प्रेसेंटेशन के अंत में आपने स्लाइड की एक कॉपी बना ली है###### Prediction (English): presentation के अंत में आपने स ैंैं True Prediction: presentation के अंत में आपने स ैंैं
Sample 4: Reference (English): चलिए अब फोंट्स और फोंट्स को फॉर्मेट करने के कुछ तरीके देखते हैं True Reference: चलिए अब फोंट्स और फोंट्स को फॉर्मेट करने के कुछ तरीके देखते हैं###### Prediction (English): चलिए अब fonts और fonts को format करने के कुछ तरीके देेहं True Prediction: चलिए अब fonts और fonts को format करने के कुछ तरीके देेहं
Sample 5: Reference (English): यह एक डायलॉग बॉक्स खोलेगा जिसमें हम अपनी आवश्यकतानुसार फॉन्ट स्टाइल और साइज़ सेट कर सकते हैं True Reference: यह एक डायलॉग बॉक्स खोलेगा जिसमें हम अपनी आवश्यकतानुसार फॉन्ट स्टाइल और साइज़ सेट कर सकते हैं###### Prediction (English): यह एक dialog box खोलेगा जिसमें हम अपनी आवश्यकत हैहै True Prediction: यह एक dialog box खोलेगा जिसमें हम अपनी आवश्यकत हैहै
Last Reference string यह स्क्रिप्ट लता द्वारा अनुवादित है आईआईटी मुंबई की ओर से मैं रवि कुमार अब आपसे विदा लेता हूँहमसे जुड़ने के लिए धन्यवाद
Last Prediction string लता द्वारा अनुवादित है आई आई टी मुmबई की ओर से मैं रवि कुमार अब आपसे विदा लेता हूँ हमसे जुड़ने के लिए धन्यवाद***** eval metrics ***** eval_cer = 0.4569 eval_loss = 2.2188 eval_model_preparation_time = 0.0045 eval_runtime = 0:00:39.02 eval_samples = 572 eval_samples_per_second = 14.659 eval_steps_per_second = 0.923 eval_wer = 0.5264
training_args.bin: 0%| | 0.00/5.50k [00:00<?, ?B/s]
training_args.bin: 100%|██████████| 5.50k/5.50k [00:00<00:00, 32.5kB/s]README.md+4-4
all_results.json+4-4
eval_results.json+4-4
training_args.bin+1-1
transliteratedevalonlyhindi_indicwav2vec_MUCS_warmup500_s300shuff100_3708271.out+42
transliteratedevalonlyhindi_indicwav2vec_MUCS_warmup500_s300shuff100_3708892.outAdded+157