Live data from Hacker News

Viewing profile — okhat

okhat

HN member
Joined
Thu, Feb 16, 2023, 10:33 AM UTC
HN karma
95
Public activity
23 items

About okhat

No profile information was provided.

Recent public activity

  1. comment
    Comment #44745305

    This is a DSPy optimizer, built by the DSPy core team. Just wait for open sourcing.

  2. comment
    Comment #38869260

    I'll admit even I sometimes wish ColBERT was more user-friendly. I'll probably start using ColBERT throught RAGatouille now.

  3. comment
    Comment #37424351

    Writing right now. This month :-)

  4. comment
    Comment #37423746

    Thanks! Lots to discuss from your excellent response, but I'll address the easy part first: DSPy is v2 of DSP (demonstrate-search-predict). The DSPy paper hasn't been released yet.…

  5. comment
    Comment #37421135

    @wokwokwok Okay now we disagree. This task is not easy, it's just easy to follow in one notebook. (If it were easy, the RAG score wouldn't be 26%.) As for "carefully crafted string…

  6. comment
  7. comment
    Comment #37420843

    Ah okay makes sense, yeah we'll release more examples. This is just an intro to the key concepts/modules.

  8. comment
    Comment #37420494

    What did you find underwhelming if I may ask? It shows you how it takes some ~25 Pythonic lines of code to make GPT-3.5 retrieval accuracy go from the 26-36% range to 60%. Not a ba…

  9. comment
    Comment #37420423

    Posted an answer here: https://news.ycombinator.com/item?id=37420175

  10. comment
    Comment #37420175

    Here's the key idea. You give DSPy (1) your free-form code with declarative calls to LMs, (2) a few inputs [labels optional], and (3) some validation metric [e.g., sanity checks]. …

  11. comment
    Comment #37419629

    These are answers to specific questions below.

  12. comment
    Comment #37419581

    [flagged]

  13. comment
    Comment #37419575

    just posted a top-level answer, copied from the FAQs of DSPy

  14. comment
    Comment #37419079

    See the discussion of teleprompters here: https://colab.research.google.com/github/stanfordnlp/dspy/bl...

  15. comment
    Comment #37419003

    "print out every prompt that is generated to a log" --- yes of course This Colab is full of prompts and examples of improving the quality of gpt-3.5-turbo: https://t.co/Oa1RDp3XbZ …

  16. comment
    Comment #37418893

    @simonw it sounds like we'd agree that: 1] when prototyping, it's useful to not have to tweak each prompt by hand as long as you can inspect them easily 2] when the system design i…

  17. comment
    Comment #37418717

    btw read a more official answer here: https://github.com/stanfordnlp/dspy#5a-dspy-vs-thin-wrappers...

  18. comment
    Comment #37418703

    [flagged]

  19. comment
    Comment #37418533

    "A neural network layer is just a matrix. Why abstract that matrix and learn it?" Well, because it's not your job to figure out how to hardcode delicate string or floats that work …

  20. comment
    Comment #37417699

    DSPy provides composable and declarative modules for instructing LMs in a familiar Pythonic syntax and an automatic compiler that teaches LMs how to conduct the declarative steps i…

  21. story
  22. comment
    Comment #35824459

    There’s always DSP for those who need a lightweight but powerful programming model — not a library of predefined prompts and integrations. It’s a very different experience from the…

  23. comment
    Comment #34817066

    Very cool! But for hard enough problems, prompt engineering is kind of like hyperparameter tuning. It's only a final (and relatively minor) step after building up an effective arch…