A Gentle Introduction to DSPy in Python Part 1

This video is for those that want to learn DSPy but want a GENTLE introduction.

Пікірлер: 26

  • @yagomj5066
    @yagomj5066Ай бұрын

    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

    Ай бұрын

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

  • @LearnByBuildingAI

    @LearnByBuildingAI

    27 күн бұрын

    check check! thanks!

  • @wadejohnson4542
    @wadejohnson4542Ай бұрын

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

  • @LearnByBuildingAI

    @LearnByBuildingAI

    27 күн бұрын

    More to come!

  • @ClintSearchEngineer
    @ClintSearchEngineerАй бұрын

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

  • @LearnByBuildingAI

    @LearnByBuildingAI

    27 күн бұрын

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

  • @seanbergman8927
    @seanbergman8927Ай бұрын

    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!

  • @HerroEverynyan
    @HerroEverynyan28 күн бұрын

    Fantastic tutorial! Thanks so much!

  • @LearnByBuildingAI

    @LearnByBuildingAI

    27 күн бұрын

    You're very welcome!

  • @MecchaKakkoi
    @MecchaKakkoiАй бұрын

    Great walk-through. Subscriber no. 42 here 😄

  • @LearnByBuildingAI

    @LearnByBuildingAI

    Ай бұрын

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

  • @brianjones7656
    @brianjones7656Ай бұрын

    Great stuff - thanks!

  • @LearnByBuildingAI

    @LearnByBuildingAI

    Ай бұрын

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

  • @AmberEvans-ui8el
    @AmberEvans-ui8elАй бұрын

    Good vid - hope you post the notebook soon.

  • @LearnByBuildingAI

    @LearnByBuildingAI

    Ай бұрын

    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

  • @LearnByBuildingAI

    @LearnByBuildingAI

    Ай бұрын

    Thanks for the sub!

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w27 күн бұрын

    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

    27 күн бұрын

    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-wr4yl7tx3w27 күн бұрын

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

  • @LearnByBuildingAI

    @LearnByBuildingAI

    27 күн бұрын

    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Ай бұрын

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

  • @LearnByBuildingAI

    @LearnByBuildingAI

    27 күн бұрын

    KZread 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

    27 күн бұрын

    @@LearnByBuildingAI thanks!