huggingface / blog

Public repo for HF blog posts
https://hf.co/blog
2.27k stars 706 forks source link

Bug in the following line #1585

Open AlexandderGorodetski opened 11 months ago

AlexandderGorodetski commented 11 months ago

Hello,

It seems that you have bug in the following line

timit = timit.map(prepare_dataset, remove_columns=timit.column_names["train"], num_proc=4)

I assume that this line should be changed to

timit_prepared = timit.map(prepare_dataset, remove_columns=timit.column_names["train"], num_proc=4)

Am I correct?

Thanks, AlexG.

AlexandderGorodetski commented 11 months ago

I am sorry, I forgot to mention that I am talking about the following file

fine-tune-wav2vec2-english.md

pcuenca commented 11 months ago

Hi @AlexandderGorodetski, I think you are right! Would you like to open a PR to propose that change? You can easily do so by clicking the "Update on GitHub" button just below the blog post title:

Screenshot 2023-10-15 at 20 35 34

Thanks for letting us know!