OpenAI Whisper - Fine tune to Lithuanian | step-by-step with Python

  Рет қаралды 10,357

Data Science Garage

Data Science Garage

Күн бұрын

Пікірлер: 39
@smkrishn
@smkrishn Жыл бұрын
Very nicely presented! Have subscribed to your channel and am eager to explore and learn!
@DataScienceGarage
@DataScienceGarage Жыл бұрын
Thanks for such feedback, really appreciate! :)
@thomashuynh6263
@thomashuynh6263 Ай бұрын
Have you tried fine-tuning on large-v3 model? I tried on large-v3 model for not-English such as Chinese but the fine-tuned model does not transcribe Chinese, it auto-translate to English though I specified transcribing Chinese on actual Chinese audio files.
@rishabhsrivastava6282
@rishabhsrivastava6282 Жыл бұрын
At 15:01 executing the code with function "Seq2SeqTrainingArguments" is now throwing error as :- ImportError: Using the `Trainer` with `PyTorch` requires `accelerate>=0.19.0`: Please run `pip install transformers[torch]` or `pip install accelerate -U` Please help. P.S. I am using google colab.
@efkanerkmen8040
@efkanerkmen8040 Жыл бұрын
I have same problem did u remember did u fix this ? @DataScienceGarage
@syalwadea
@syalwadea Жыл бұрын
yeah, can u help me? i got the same problems
@football-uj4yg
@football-uj4yg Жыл бұрын
Hi ! I had the same issue , you should exucute this "`pip install accelerate -U" after that you need to restart the session again
@syalwadea
@syalwadea Жыл бұрын
thank u for solution 😃@@football-uj4yg
@syalwadea
@syalwadea Жыл бұрын
@@football-uj4yg i got error when step after training, i can't run the model (push_to_hub=False), can u help me :(
@MySomethingInteresting
@MySomethingInteresting 10 ай бұрын
I tried running it locally. It runs on a medium db size. But I only have 8gb gpu. But the medium model requires 12gb for training. What can be changed to run on 8GB.
@MySomethingInteresting
@MySomethingInteresting 9 ай бұрын
Hello, I further trained the whisper model and received the file. And now I want to get the final ggml file format. Please tell me how to do this
@george10robert
@george10robert 17 күн бұрын
What is the best WER obtained in the process?
@DataScienceGarage
@DataScienceGarage Жыл бұрын
Thank you watching this video. I appreciate your time being here. Subscribe the channel to get more high quality videos soon! @DataScienceGarage The best place to learn Data Science with the best in the industry - Turing College. READ MORE HERE: turingcollege.org/DataScienceGarage - see you there!
@thomashuynh6263
@thomashuynh6263 Ай бұрын
Can you provide the colab notebook or the source code in your video?
@estherchantalamungalaba5295
@estherchantalamungalaba5295 4 ай бұрын
Thanks for sharing this tutorial. Would you know if this is replicable on an M2 GPU?
@babanana2431
@babanana2431 Жыл бұрын
Why i have this error when i try to fine tuning with my own data: RuntimeError: Given groups=1, weight of size [768, 80, 3], expected input[8, 70, 3000] to have 80 channels, but got 70 channels instead
@football-uj4yg
@football-uj4yg Жыл бұрын
what about preprocessing the transcriptions, isn't it important, or it is handled with the whisper processor
@MW-dg7gl
@MW-dg7gl 7 ай бұрын
Can you provide resources or the code to show how you can create and upload a custom data set that you created yourself instead of common voice dataset. Thank you.
@LaylaBitar-z7z
@LaylaBitar-z7z Жыл бұрын
This is great, do you have any advice on training it on mixed language audio? Alot of our meetings are held with at least two spoken languages, would I have to create my own dataset for that?
@RZRRR1337
@RZRRR1337 Жыл бұрын
did you find anything?
@hamzarashid714
@hamzarashid714 Жыл бұрын
Thanks for this video, super helpful! If I want to train the whisper model to transcribe Arabic audio into Arabic text, and also translate into english is this possible within 1 trained model by feeding it such a dataset? Or will I have to train 2 separate models?
@RZRRR1337
@RZRRR1337 Жыл бұрын
did you find anything?
@daychow4659
@daychow4659 Жыл бұрын
wow, amazing! one question. how can we use the trainned model in whisper
@DataScienceGarage
@DataScienceGarage Жыл бұрын
Thanks for feedback! To use pre-trained model, that the idea for another video. I will keep that in mind.
@ruizard9583
@ruizard9583 Жыл бұрын
Hello, thank you for the great video! Did the Lithuanian language training dataset already exist or did you insert your dataset?
@DataScienceGarage
@DataScienceGarage Жыл бұрын
Hi! Good question. You can prepare the dataset by yourself, or you can download it from somewhere. For this tutorial, I used it from huggingface.co/datasets/mozilla-foundation/common_voice_11_0 , where you can choose the language you want from the list. And then you can define the url for that dataset in your Python code (6:23).
@babanana2431
@babanana2431 Жыл бұрын
@@DataScienceGarage hi, thank you for the great video, but i am having this error while it is doing eval on training step 10/50 because my eval step is 10 and max step is 50: RuntimeError: Given groups=1, weight of size [768, 80, 3], expected input[8, 70, 3000] to have 80 channels, but got 70 channels instead
@AntonioKrizmanic
@AntonioKrizmanic Жыл бұрын
This was a really great video, as short as possible without losing any of the important content. Can you please give some directions, for I can not use Mozilla datasets for my language (not yet built) so i would like to use a dataset i found in other places, locally downloaded to my computer. Every row contains a pair of sentences and names of correspondent .wav files. The wav files need to be transformed into 16000Hz sample-rate and turned into a spectrogram format, but i am not familiar with the whole datasets package environments (mostly using pandas with numpy). I don't expect you to guide me through the whole process, i just want to know where my code would deviate from yours. I can change sample rate myself, i can probably find a package that will create a spectrogram from those files and i can create a pandas dataset /csv file in which every row will be a pair of audio array (spectrogram) and the tokenized sentence it corresponds to, could i use the same DataCollectorSpeechSeq2SeqwithPadding class on that format and just continue from there?
@nithinreddy5760
@nithinreddy5760 Жыл бұрын
Hello, this video is very helpful. Can you please put the link of the full notebook file after training, testing and making the predictions?
@DataScienceGarage
@DataScienceGarage Жыл бұрын
Hello! For now, I don't have the full notebook after the training once I did not waited 6 hours. What I will do, I will transform all the code to the Google Cloud VM with GPU and see how it will go there. I will update thst on this channel.
@nithinreddy5760
@nithinreddy5760 Жыл бұрын
@@DataScienceGarage Ok, please let me know when it's done. Thank you.
@worldbywatcher
@worldbywatcher Жыл бұрын
@@DataScienceGarage That would be really great since trying to type everything manually is pretty error prone
@Chorobek
@Chorobek 3 ай бұрын
Thanks!
@bryantgoh1888
@bryantgoh1888 Жыл бұрын
How do i add my own voice into the trained data set?
@Shivam-nj9ly
@Shivam-nj9ly Жыл бұрын
Did u get anything?
Qwen Just Casually Started the Local AI Revolution
16:05
Cole Medin
Рет қаралды 100 М.
Distributed Systems -  Lecture 10
1:33:47
Diarmuid O Connor
Рет қаралды 24
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 31 МЛН
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 32 МЛН
Players push long pins through a cardboard box attempting to pop the balloon!
00:31
I was just passing by
00:10
Artem Ivashin
Рет қаралды 18 МЛН
Fine-Tuning GPT Models with Python
23:14
NeuralNine
Рет қаралды 14 М.
Best Voice Transcription AI is now the FASTEST - WHISPER JAX!
8:16
How to Transcribe Audio to Text on Your Own PC with OpenAI Whisper
6:12
Fine-tuning Whisper to learn my Chinese dialect (Teochew)
28:10
Efficient NLP
Рет қаралды 8 М.
Fine tune and Serve Faster Whisper Turbo
34:44
Trelis Research
Рет қаралды 2,6 М.
How to Install & Use Whisper AI Voice to Text
12:44
Kevin Stratvert
Рет қаралды 514 М.
Prompt Engineering, RAG, and Fine-tuning: Benefits and When to Use
15:21
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 31 МЛН