A Gentle Introduction to DSPy in Python Part 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 เม.ย. 2024
  • This video is for those that want to learn DSPy but want a GENTLE introduction.

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

  • @yagomj5066
    @yagomj5066 28 วันที่ผ่านมา +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 27 วันที่ผ่านมา +1

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

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

      check check! thanks!

  • @wadejohnson4542
    @wadejohnson4542 17 วันที่ผ่านมา +2

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

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

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

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

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

  • @HerroEverynyan
    @HerroEverynyan 13 วันที่ผ่านมา +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!!!

  • @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!

  • @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!

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w 12 วันที่ผ่านมา +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  12 วันที่ผ่านมา

      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 12 วันที่ผ่านมา +1

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

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

      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.

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

    Nice explanation , Just subscribed

  • @PoGGiE06
    @PoGGiE06 21 วันที่ผ่านมา +1

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

    • @LearnByBuildingAI
      @LearnByBuildingAI  12 วันที่ผ่านมา +1

      TH-cam 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 12 วันที่ผ่านมา

      @@LearnByBuildingAI thanks!