A Gentle Introduction to DSPy in Python Part 1

Поделиться
HTML-код
  • Опубликовано: 22 апр 2024
  • This video is for those that want to learn DSPy but want a GENTLE introduction.

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

  • @yagomj5066
    @yagomj5066 Месяц назад +2

    Couldn't appreciate more the "watch it happen right here, make it super simple, really easy to learn" lemma, this will make u go far

    • @yagomj5066
      @yagomj5066 Месяц назад +1

      Maybe instead of zooming out and in, keeping a zoom in would be a pro

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

      check check! thanks!

  • @wadejohnson4542
    @wadejohnson4542 Месяц назад +2

    Looking forward to the upcoming DSPy videos in the series. Much appreciated. Thank you.

  • @seanbergman8927
    @seanbergman8927 Месяц назад +1

    Nice example! Enjoyed your walk through. I’m wanting to dive into DSPy. Starting to work on a training dataset for my application. Looking forward to more videos from you!

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

      That's great work! Awesome to see that you're already applying it!

  • @ClintSearchEngineer
    @ClintSearchEngineer Месяц назад +1

    I appreciate what you are doing here, with the grug angle.. Smart, grug smart.

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

      grug not smart, grug just learn hard lesson when grug walk into wall many times

  • @HerroEverynyan
    @HerroEverynyan Месяц назад +2

    Fantastic tutorial! Thanks so much!

  • @MecchaKakkoi
    @MecchaKakkoi Месяц назад +2

    Great walk-through. Subscriber no. 42 here 😄

    • @LearnByBuildingAI
      @LearnByBuildingAI  Месяц назад +1

      Thank you!
      Everyone starts somewhere, hope I get some momentum. I appreciate your support!!!

  • @brianjones7656
    @brianjones7656 Месяц назад +1

    Great stuff - thanks!

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

      Thanks Brian. It's the first - let's keep it moving forward :)

  • @AmberEvans-ui8el
    @AmberEvans-ui8el Месяц назад +1

    Good vid - hope you post the notebook soon.

    • @LearnByBuildingAI
      @LearnByBuildingAI  Месяц назад +1

      Notebook is here: github.com/bllchmbrs/learnbybuilding.ai/blob/main/dspy-grug-text/dspy-gentle-intro-part-1.ipynb
      Please star the Repo too!

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

    Nice explanation , Just subscribed

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w Месяц назад +1

    what if you don't have the ground truth, can you still use dspy? generally, isn't the ground truth hard to come by?

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

      No! It's not, at least, it shouldn't be.
      It doesn't need to be perfect, but you've got to collect data all of the time when you're using these systems. The goal is to curate a dataset that you're deeming "ground truth". It may not be perfect but it's just supposed to be "good enough".
      You can start with raw LLMs, but ground truth (in some sense) is what you should be moving towards!

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w Месяц назад +1

    won't dspy approach result in costing us more in terms of openai token usage, given how it tries to optimize?

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

      Yes, but no.
      1. Yes, because 'training' / 'optimization' is more expensive because you're optimizing.
      2. No because you can use a much cheaper model to run your inference.
      For instance, you 'train' haiku to be better.
      Haiku from Anthropic is sooo much cheaper than GPT4 or Opus.
      If you're doing a lot of inference, you're going to save money.

  • @PoGGiE06
    @PoGGiE06 Месяц назад +1

    Very helpful video, thanks! New subscriber here. One minor niggle: always helpful to have a link to the code/.ipynb!

    • @LearnByBuildingAI
      @LearnByBuildingAI  Месяц назад +1

      RUclips doesn't let me post links yet because the channel is new.
      All notebooks are here: github.com/bllchmbrs/learnbybuilding.ai
      and here :learnbybuilding.ai/

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

      @@LearnByBuildingAI thanks!