Hands-On Hugging Face Tutorial | Transformers, AI Pipeline, Fine Tuning LLM, GPT, Sentiment Analysis

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ย. 2024

ความคิดเห็น • 96

  • @maryammiradi
    @maryammiradi  หลายเดือนก่อน +5

    🙋🏻‍♀️Get Access to my 20+ Years Experience in AI: ⚡️Free guide: www.maryammiradi.com/free-guide
    ⚡️AI Training: www.maryammiradi.com/training

  • @JoanApita
    @JoanApita หลายเดือนก่อน +11

    I've been searching through countless tutorials on fine-tuning for almost a month now, and I finally found yours. Thank you so much! Please keep making more content.

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน +1

      Super glad to hear that this was helpful! Let me know if there are specific subjects that you want to have content about 👋

  • @gudapativenkateswararao706
    @gudapativenkateswararao706 หลายเดือนก่อน +3

    The quality of explanation reflects your doctorate .Just classic.

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      @gudapativenkateswararao706 Thanks alot!!

  • @timmysmith9991
    @timmysmith9991 29 วันที่ผ่านมา +3

    Wow. Awesome tutorial, Doc. Many thanks.

    • @maryammiradi
      @maryammiradi  29 วันที่ผ่านมา

      Thanks alot!! Glad it was useful 👋😄

  • @samsonv9332
    @samsonv9332 22 วันที่ผ่านมา +1

    Great educational video! Lots of insights in just 15 minutes, thank you for making this!

    • @maryammiradi
      @maryammiradi  22 วันที่ผ่านมา

      Really glad to hear that it was useful for you 👋

  • @skohari
    @skohari 28 วันที่ผ่านมา +2

    What a brilliant video and resourceful channel! Thanks so much, doc!

    • @maryammiradi
      @maryammiradi  28 วันที่ผ่านมา

      Thank you very much and very glad to hear it is useful to you 😄👋

  • @user-wc7em8kf9d
    @user-wc7em8kf9d หลายเดือนก่อน

    What a discovery! Thank you Dr. Maryam.

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      Glad it is useful to you 👋😄

  • @justthefactsplease
    @justthefactsplease หลายเดือนก่อน +2

    This instructional vid is something I was looking for. I am looking to do more of a rating type of app, but the sentiment analysis is a good start for that. I would like to get a copy of your free data science guide. Thanks.

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      Glad it was what you were looking for. For rating type of app consider using Text Classification models. And here you can get my free guide: www.maryammiradi.com/free-guide

  • @myarchitecturallife4643
    @myarchitecturallife4643 หลายเดือนก่อน +3

    Thank you for making such an insightful video!

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      Glad to hear it was insightful for you! Have you recently started working with LLMs?

  • @djpete2009
    @djpete2009 หลายเดือนก่อน +2

    Oh wow! Fabulous content, Dr. Hugging Face truly rocks. Could I get the Data Science Guide, please? Many thanks. 💯🙌

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      Thank you very much!! Glad to hear!! The link to guide is here: www.maryammiradi.com/free-guide

  • @Gokulraj75
    @Gokulraj75 หลายเดือนก่อน +2

    Thanks a million for the Clear Explanation...

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      Thank you for listening and glad it was helpful 👋

  • @jdub8204
    @jdub8204 หลายเดือนก่อน +1

    Hi Maryam, I'm brand new to learning data science. I really enjoy your step by step implementation and explanations. I would love your free data science guide as a reference, as I continue to explore these topics. Many thanks and please keep up the great work!

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน +1

      Super glad to hear it is helpful for you. Here is the link to grab your free guide: www.maryammiradi.com/free-guide

    • @jdub8204
      @jdub8204 หลายเดือนก่อน +2

      @@maryammiradi Thank you Maryam! Would love if you could continue to explore Hugging Face - Time Series Analysis and compare setup/performance vs your previous tutorial on the 36 models.

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      @jdub8204 Do you mean building Time Series with Hugging Face or Do you mean as separate things because Hugging Face is more for LLMs NLP and Computer Vision where ScikitLearn 36!Models are suitable for Machine Learning problems. Then for Time Series you have got so many different options from Statistics, Machine Learning to Deep Learning up to the latest LLMs that can be used for Time series

    • @jdub8204
      @jdub8204 หลายเดือนก่อน +1

      @@maryammiradi Wow thanks for the quick replies Maryam. There's so many models/technologies - that I'm confusing myself and their application. In particular, I'm interested in time series forecasting - and predicting behavior based on historical data. Since I'm new, would you recommend focusing on one particular model (eg XGBoost?) Thank you

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน +1

      @jdub8204, yes absolutely one model, specially XGBoost is great!! So idd please focus on that one! I will make also Time Series Videos in the future 👋

  • @eriqfromimo2570
    @eriqfromimo2570 23 วันที่ผ่านมา +1

    Great video! I enjoyed and learned a lot. Thank you. I would love to receive the Data Science Guide

    • @maryammiradi
      @maryammiradi  23 วันที่ผ่านมา

      Really glad to hear!! Here you can find the Free Data Science Guide: www.maryammiradi.com/free-guide

  • @user-bj6jn4np7o
    @user-bj6jn4np7o หลายเดือนก่อน +3

    Free data science guide

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน +1

      Of course! Please grab it hear: www.maryammiradi.com/free-guide

  • @gauravbhattacharya7788
    @gauravbhattacharya7788 หลายเดือนก่อน +2

    Excellent Video once again 😍 can you make a video on how to evaluate LLM Apps like RAGs using various metrics

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน +1

      Glad it was useful! Absolutely! LLM evaluation is absolutely on my list. Thank for the suggestion

    • @djpete2009
      @djpete2009 หลายเดือนก่อน +1

      @@maryammiradi Yes! A RAG and LLM OS architecture video would be amazing.

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      RAG is also important part of the LLM ladder do I will definitely make a video about it

  • @mehdismaeili3743
    @mehdismaeili3743 25 วันที่ผ่านมา

    Excellent. please make more videos.

    • @maryammiradi
      @maryammiradi  25 วันที่ผ่านมา

      Thanks alot!! I will do 👋

  • @amirmasoud_iravani
    @amirmasoud_iravani 20 วันที่ผ่านมา +1

    thnaks for producing such excellent contents😍

    • @maryammiradi
      @maryammiradi  20 วันที่ผ่านมา

      Glad to hear it is useful 👋

  • @elhamzahmatkesh5275
    @elhamzahmatkesh5275 15 วันที่ผ่านมา +1

    ممنون مریم جان🌻

    • @maryammiradi
      @maryammiradi  15 วันที่ผ่านมา

      Glad it is helpful 👋

  • @utkarshkapil
    @utkarshkapil หลายเดือนก่อน +2

    Great content! subscribing right awayy

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      Glad to hear!!

  • @vukv1225
    @vukv1225 หลายเดือนก่อน +1

    Excellent explanation!

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      Glad you liked the explanation 👋

  • @aymenhanzouli7236
    @aymenhanzouli7236 หลายเดือนก่อน +1

    Keep up the good work 👍

  • @Rits1804-l4r
    @Rits1804-l4r หลายเดือนก่อน +1

    hello I'm from India, Thanks for the clear explanation could you please make more videos on finetuning as many youtuber have not covered it (clear explanation) , try to make it for language translation it would be great if you make it , Thanks in advance
    I loved the way you explained the things.
    little suggestion- Try to reduce the size of the face camera

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      Glad to hear that my explanation was clear. Thanks alot for the suggestion! Will definitely talk about Fine Tuning in the coming weeks!!

  • @BookshelfJourney
    @BookshelfJourney หลายเดือนก่อน

    Great job. Maryam.

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน +1

      Thanks alot!! 👋

  • @PramodRao27
    @PramodRao27 หลายเดือนก่อน

    Super useful. Thanks Maryam. Could you make a video on langchain and langsmith?

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      Thank you! Absolutely! Have you seen my other video from my LLM series. I am explaining LLM ladder & Prompt tuning & Prefix tuning 👋 th-cam.com/video/HkZOGGvZzg4/w-d-xo.htmlsi=kxHtTkCfM51eUEGE

  • @WaquarAhmed92
    @WaquarAhmed92 หลายเดือนก่อน +1

    Free Data Science Guide

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      Sure! Here you go: www.maryammiradi.com/free-guide

  • @matrixlnmi169
    @matrixlnmi169 26 วันที่ผ่านมา +1

    Free data science guide

    • @maryammiradi
      @maryammiradi  26 วันที่ผ่านมา

      Of course! Here you go: www.maryammiradi.com/free-guide

  • @majukanumi9639
    @majukanumi9639 หลายเดือนก่อน +1

    french accent ..very nice and good video

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      I am not French 😅

    • @majukanumi9639
      @majukanumi9639 หลายเดือนก่อน

      @@maryammiradi means french speaking

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      @@majukanumi9639 I am not French Speaking either

    • @majukanumi9639
      @majukanumi9639 หลายเดือนก่อน +1

      @@maryammiradi ok sorry than you have a beautiful accent musical words coming from your mouth

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      Thank you very much! 🙏

  • @asifurrahman2111
    @asifurrahman2111 หลายเดือนก่อน +1

    Hi Maryam.
    Really loving your videos. I am seen your last video on time series and really found it helpful. I am exploring the opportunity of Temporal Fusion Transfers on Time Series Forecasting.

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      @asifurrahman2111 TFTs can forecast multiple time steps into the future, making them great for various applications. In which industry are you applying Time Series?

    • @asifurrahman2111
      @asifurrahman2111 หลายเดือนก่อน +1

      ​@@maryammiradi Well I am planning to use TFTs in the field of hydrology. As the data comes from multiple sources and exhibits significant variation, I thought that the TFT model will be ideal.

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      @@asifurrahman2111 Great Idea!! It is idd a very good choice

  • @maryammiradi
    @maryammiradi  หลายเดือนก่อน

    Dear Everyone, Sorry I forgot to mention in Video Intro 😅but Sentiment Analysis is in Step 2, NLP Tasks!! Time: 2:15

  • @user-os2hx8uy4n
    @user-os2hx8uy4n หลายเดือนก่อน +1

    Free DataScience Guide!

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน +1

      Here you go: www.maryammiradi.com/free-guide

  • @logeshwaran7115
    @logeshwaran7115 หลายเดือนก่อน +1

    Free Datascience guide

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      Of course! Here you go: www.maryammiradi.com/free-guide

  • @Lets_learnit
    @Lets_learnit หลายเดือนก่อน +1

    Free Data science guide

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      Sure! Here it is: www.maryammiradi.com/free-guide

  • @aipreacher9378
    @aipreacher9378 หลายเดือนก่อน +1

    Good work doctor, can you tell in some video how to do quantization for large models

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      Sure! I will put it on Video Ideas 💡 if you have specific questions please let me know.

  • @MulugetaKalayou
    @MulugetaKalayou 15 วันที่ผ่านมา +1

    When I run the trainer.train() syntax at Step #6 (12:20') the following error popped out, what is the problem? All the codes before that line works good. Here is the error:
    NameError Traceback (most recent call last)
    in ()
    1 # Evaluate the model
    ----> 2 result = trainer.evaluate()
    3 print(result)
    NameError: name 'trainer' is not defined

    • @maryammiradi
      @maryammiradi  15 วันที่ผ่านมา

      The Trainer should be applied to your specific model and then you can run the evaluation.
      trainer = Trainer(
      model,
      args,
      train_dataset=encoded_dataset[“train”],
      eval_dataset=encoded_dataset[“validation”],
      tokenizer=tokenizer,
      compute_metrics=compute_metrics
      )
      trainer.evaluate()
      trainer.predict(encoded_dataset[“test”])

  • @hey.Sourin
    @hey.Sourin หลายเดือนก่อน +1

    Cool!

  • @gowthamk8531
    @gowthamk8531 14 วันที่ผ่านมา +1

    Science guide

    • @maryammiradi
      @maryammiradi  14 วันที่ผ่านมา

      Of course! Go ahead and grab it here: www.maryammiradi.com/free-guide

  • @gowithgaurav9617
    @gowithgaurav9617 หลายเดือนก่อน +1

    If we are dealing with sensitive/confidential data is it safe to use embeddings from huggingfaceembeddings?How secure is it?

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      If you're using Hugging Face's hosted API services, ensure that data is transmitted over secure channels.
      Hugging Face models are pre-trained and may not be aware of the sensitive nature of your data. Using models locally rather than via API can mitigate this risk.

  • @raom2127
    @raom2127 15 วันที่ผ่านมา +1

    your explanations and vedios is good can ypu tell which software using for doing vedio.

    • @maryammiradi
      @maryammiradi  15 วันที่ผ่านมา

      Do you mean for video editing?

    • @raom2127
      @raom2127 15 วันที่ผ่านมา +1

      Yes Correct pls

    • @maryammiradi
      @maryammiradi  15 วันที่ผ่านมา

      @@raom2127 Camtasia

    • @raom2127
      @raom2127 15 วันที่ผ่านมา +1

      Thanks for you reply my namaste🙏

  • @julienduchesneau9747
    @julienduchesneau9747 14 วันที่ผ่านมา

    looks like a valuable video but I dont get it, I guess I am not there yet.

    • @maryammiradi
      @maryammiradi  14 วันที่ผ่านมา +1

      @@julienduchesneau9747 Would you let me know which part is not clear tp you? To learn NLP and LLMs you need to have some foundation in AI and ML. What is your field of study? Hopefully I can help you with more resources

    • @julienduchesneau9747
      @julienduchesneau9747 13 วันที่ผ่านมา +1

      @@maryammiradi I never used hunging face yet because I don't have a suitable GPU (to try local LLM) so I am lost right at the beggining, I dont even know what do you use to type on. I am just learning for myself, from scratch. With the help of ChatGPT I did a chatbot on my twitch account using Python in VScode. It is super basic because also super cheap. So I watch several youtube video about AI to continu learning and improve my chatBot. So yeah thanks for the reply but you don't have to, I have sub to your channel so I will come back later when I feel I need it.

    • @maryammiradi
      @maryammiradi  13 วันที่ผ่านมา +1

      @julienduchesneau9747 The most important thing that Hugging Face offers is not their local LLMs but their Python library transforms. This library allows you to so any kind of NLP task that you want just with importing this library and then just use their pipeline function. My code is in Google colab. It is notebook with link in the description. What you would learn from this video is not only Hugging face but also what kind of NLP tasks are possible and for which purposes you can use LLMs, like summarization and Sentiment Analysis. Let me know if you have other questions. 👋

    • @julienduchesneau9747
      @julienduchesneau9747 12 วันที่ผ่านมา

      @@maryammiradi oh wow really??!!! ok I will definetly watch it again and also search about notebook. Sometime there is so much stuff to learn, especially for a begginer, github ananconda langchain streamlit... AND everthing goes so fast in AI, it is crazy how each month there is new cool stuff. Thanks for the reply also it is really helpfull

    • @julienduchesneau9747
      @julienduchesneau9747 11 วันที่ผ่านมา

      @@maryammiradi oh wow really??!!! I will definetly watch it again then and take a look about notebook, another thing that I dont use already but probably a must. So much thing to look into when we begin, Github, anaconda, langchain, streamlit, RAG. AI is so cool tho I am not tired learning about it and it is so crazy to see how things advance month after month. Thanks for the reply I am pretty sure it will help my chatbot a lot

  • @aniketrajpoot1092
    @aniketrajpoot1092 หลายเดือนก่อน +1

    Free Data Science Guide

    • @maryammiradi
      @maryammiradi  หลายเดือนก่อน

      Of course! Please go ahead and pick up guide here: www.maryammiradi.com/free-guide