How to Use Pretrained Models from Hugging Face in a Few Lines of Code

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ • 32

  • @NicolaiAI
    @NicolaiAI  Рік тому +2

    Join My AI Career Program
    www.nicolai-nielsen.com/aicareer
    Enroll in My School and Technical Courses
    www.nicos-school.com

  • @eternalsunshine313
    @eternalsunshine313 Рік тому +11

    how do we do this locally?

  • @youdaloser1
    @youdaloser1 7 місяців тому +5

    I love how there are so many people saying "slow down". I watched the video on 1.5x to get through it faster. A hint is use subtitles if it is too fast or simply reduce the speed from 1x to 0.75x.
    @NicolaiAI, great video and thanks for sharing.

    • @NicolaiAI
      @NicolaiAI  7 місяців тому +1

      Thanks a lot man! Long time since I did this video and definitely improved a lot. Might be if it’s not people’s main or second language that it might be a bit harder

  • @CursedOneShot
    @CursedOneShot Рік тому +3

    Thanks, I was searching a very long time to find a tutorial

    • @NicolaiAI
      @NicolaiAI  Рік тому

      Awesome man! Glad it could help

    • @robosergTV
      @robosergTV 10 місяців тому

      you do know HF has an official free course right? I wonder how did you search if you didnt find it. I doubt you searched at all

  • @dr.aravindacvnmamit3770
    @dr.aravindacvnmamit3770 Рік тому +3

    hi how to use this model for refactoring code for C++ is there any way

  • @mantejsingh5438
    @mantejsingh5438 10 місяців тому +1

    Can we use sentiment analysis for judging if a sentence has "double-meaning" could serve in humor generation.
    Somebody pls answer this😢

  • @caiyu538
    @caiyu538 Рік тому +2

    great, I want to use hugging face to detect some keywords, I think I should use token classification, am I right?

    • @mridulsanghavi5769
      @mridulsanghavi5769 11 місяців тому

      oh what model di you use for that? i am thinking using a BertForTokens. Also where to add which model i wanna use specifically

  • @petals-gg7bc
    @petals-gg7bc 10 місяців тому

    hey man i like how you tutor ,and could you please help with this ,
    i am trying to run a web ui which is apperantly viral from voice changer on github , i ran thriugh their colab link from github, but when i run it i get this error in my colab whilst others don't get the error . Do i go pro ?
    ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
    chex 0.1.85 requires numpy>=1.24.1, but you have numpy 1.23.5 which is incompatible.
    torchdata 0.7.0 requires torch==2.1.0, but you have torch 2.0.1 which is incompatible.
    torchtext 0.16.0 requires torch==2.1.0, but you have torch 2.0.1 which is incompatible.
    torchvision 0.16.0+cu121 requires torch==2.1.0, but you have torch 2.0.1 which is incompatible,

  • @Hennessyjenkins2
    @Hennessyjenkins2 6 місяців тому

    Pls tell me about copy rights if one should use it for social media content...any potential infringements ?

  • @theonerm2
    @theonerm2 Рік тому +3

    I want to do it using a python script but idk how.

    • @theonerm2
      @theonerm2 Рік тому

      I figured it out and I made my own Ai app. It's so cool.

    • @noahbuscuse5243
      @noahbuscuse5243 Рік тому

      @@theonerm2 pog

    • @arkamaldeen8653
      @arkamaldeen8653 Рік тому

      @@theonerm2
      hey congratz..
      how did u implement it to the mobile app

  • @gumer2024
    @gumer2024 Рік тому +4

    Hi Nicolai, on the next video I would like to ask you to speak a little slowly (I'm brazilian). Thanks a lot.

  • @poojanegirawat2231
    @poojanegirawat2231 Рік тому +2

    hi I need help with a hugging face assignment. Can you help me?

    • @NicolaiAI
      @NicolaiAI  Рік тому

      Hi feel free to reach out to me on my mail

  • @niemandweethet8112
    @niemandweethet8112 3 місяці тому

    a FEW lines of code ??

  • @kevinkawchak
    @kevinkawchak 9 місяців тому +1

    Thank you for sharing

    • @NicolaiAI
      @NicolaiAI  9 місяців тому

      Thanks for watching!

  • @Twigslap
    @Twigslap Рік тому +1

    do you have a video on how to make a model?

  • @aso_o.111
    @aso_o.111 2 роки тому +1

    Sir i need help

  • @kyky7kyle7
    @kyky7kyle7 Рік тому +8

    I feel deaf trying to watch this

  • @davidadedeji5242
    @davidadedeji5242 Рік тому +1

    Slow down bro… that aside dope tutorial

  • @kyky7kyle7
    @kyky7kyle7 Рік тому

    what