Fine-tuning LLMs with PEFT and LoRA - Gemma model & HuggingFace dataset

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024

Комментарии • 27

  • @LOKESHSRINIVAS-x1z
    @LOKESHSRINIVAS-x1z 2 месяца назад +2

    I'm getting error RuntimeError: No GPU found. A GPU is needed for quantization.

    • @AIBites
      @AIBites  Месяц назад

      Yes, could you confirm if the machine you are running on has a GPU. Are you running locally or on the cloud? please clarify

  • @first-thoughtgiver-of-will2456
    @first-thoughtgiver-of-will2456 Месяц назад

    fp16 also has a bigger mantissa than bfloat which benefits normalized or bounded activation functions (e.g. sigmoid)

  • @bitminers1379
    @bitminers1379 26 дней назад +1

    How did you push your own custom dataset on huggingface?

    • @AIBites
      @AIBites  21 день назад

      Checkout the bunch of commands available in the HF command line tools. It's quite easy actually

  • @anujsingh2455
    @anujsingh2455 5 месяцев назад +2

    do we need to prepare data set in specific format as Instruction and Response one ? means is it mandatory to follow the same way ?

    • @AIBites
      @AIBites  5 месяцев назад

      Nope, you can have any format. But you will have to provide the data loader function as an input parameter. Only then the `train` function will know how to handle the data.

  • @HarryPotter-cz2ey
    @HarryPotter-cz2ey 3 месяца назад +1

    Using your modal training code I got error on trainer stating
    AttributeError: 'TrainingArguments' object has no attribute 'dataset_num_proc'
    Can you help me .

    • @AIBites
      @AIBites  Месяц назад

      sorry about the late reply, but did you manage to fix this or is it still a problem?

  • @allanng78
    @allanng78 3 месяца назад +1

    Nice video. When can I find the model downloaded in colab? Can you help me?

    • @AIBites
      @AIBites  Месяц назад

      I am not sure if I shared the model. The training code is however available on the github page. Hope you found that.

  • @pradyumangangan4784
    @pradyumangangan4784 6 месяцев назад +2

    Amazing video! Very helpful!

    • @AIBites
      @AIBites  6 месяцев назад

      Glad it was helpful!

  • @xixilavinia5832
    @xixilavinia5832 6 месяцев назад +2

    Your video is really helpful!!! thank you !!!!

    • @AIBites
      @AIBites  6 месяцев назад

      You're welcome 🙂 so would you like more of hands on videos or theoretical paper videos?

    • @xixilavinia5832
      @xixilavinia5832 5 месяцев назад

      @@AIBites Thank you so much for asking and for your willingness to provide resources that cater to my learning preferences. I deeply appreciate it. I believe hands-on videos would be exceptionally beneficial for me, as they offer a more direct and engaging way to grasp the applications of theoretical concepts in real-life scenarios. The practical aspect of learning through such videos can significantly enhance understanding and retention. Once again, thank you for your thoughtful video!!!!!!

  • @yudao7151
    @yudao7151 3 месяца назад +1

    Very detailed and informative vedio!

    • @AIBites
      @AIBites  Месяц назад

      thanks. Glad it was useful.

  • @solnone
    @solnone 7 месяцев назад +1

    This is really helpful!

    • @AIBites
      @AIBites  6 месяцев назад

      thank you :)

  • @aminamoudjar4561
    @aminamoudjar4561 7 месяцев назад +1

    Thank you

    • @AIBites
      @AIBites  7 месяцев назад +1

      You are welcome 🙂

  • @datascienceandaiconcepts5435
    @datascienceandaiconcepts5435 6 месяцев назад

    Good

    • @AIBites
      @AIBites  6 месяцев назад

      thank you! 🙂