Viewing profile — okhat
okhat
HN member- Joined
- Thu, Feb 16, 2023, 10:33 AM UTC
- HN karma
- 95
- Public activity
- 23 items
- HN profile
- View on Hacker News ↗
About okhat
No profile information was provided.
Recent public activity
-
comment
Comment #44745305
This is a DSPy optimizer, built by the DSPy core team. Just wait for open sourcing.
-
comment
Comment #38869260
I'll admit even I sometimes wish ColBERT was more user-friendly. I'll probably start using ColBERT throught RAGatouille now.
-
comment
Comment #37424351
Writing right now. This month :-)
-
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.…
-
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…
- comment
-
comment
Comment #37420843
Ah okay makes sense, yeah we'll release more examples. This is just an intro to the key concepts/modules.
-
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…
-
comment
Comment #37420423
Posted an answer here: https://news.ycombinator.com/item?id=37420175
-
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]. …
-
comment
Comment #37419629
These are answers to specific questions below.
-
comment
Comment #37419581
[flagged]
-
comment
Comment #37419575
just posted a top-level answer, copied from the FAQs of DSPy
-
comment
Comment #37419079
See the discussion of teleprompters here: https://colab.research.google.com/github/stanfordnlp/dspy/bl...
-
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 …
-
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…
-
comment
Comment #37418717
btw read a more official answer here: https://github.com/stanfordnlp/dspy#5a-dspy-vs-thin-wrappers...
-
comment
Comment #37418703
[flagged]
-
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 …
-
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…
- story
-
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…
-
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…