Code Monkey home page Code Monkey logo

Comments (5)

Bushramjad avatar Bushramjad commented on July 19, 2024 1

@abdulwadood10 I have added the transcripted file.

from xlsr-wav2vec2-speech-recognition-urdu.

abdulwadood10 avatar abdulwadood10 commented on July 19, 2024

Thanks for that. Although I ran through your code with different csv file and there is one more issue..

model = Wav2Vec2ForCTC.from_pretrained("/content/gdrive/MyDrive/wav2vec2-urdu/checkpoint-800").to("cuda") processor = Wav2Vec2Processor.from_pretrained("/content/gdrive/MyDrive/wav2vec2-urdu/checkpoint-800")

After running through this code I face this error
image

can you point me where this "/content/gdrive/MyDrive/wav2vec2-urdu/checkpoint-800" file or link coming from? I am almost finished running with your code.

from xlsr-wav2vec2-speech-recognition-urdu.

Bushramjad avatar Bushramjad commented on July 19, 2024

This path is for model saving in the drive after certain checkpoints. You can add your own drive path or you can remove it completely if you do not want to save your model after a certain period during training.

from xlsr-wav2vec2-speech-recognition-urdu.

abdulwadood10 avatar abdulwadood10 commented on July 19, 2024

Alright, so this is saving the model on your own huggingface drive right?

What if I want to save it on my own local machine so I can run it offline.

I will be giving my folder path to the to 'pre_trained' parameter?

from xlsr-wav2vec2-speech-recognition-urdu.

Bushramjad avatar Bushramjad commented on July 19, 2024

I believe that you can not save it on your local machine. what you can do is, save it in the drive and download it later to use it on the local machine.

from xlsr-wav2vec2-speech-recognition-urdu.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.