Lurker News
Hi HN,

Today we’re launching GPT-4 answers on Phind.com, a developer-focused search engine that uses generative AI to browse the web and answer technical questions, complete with code examples and detailed explanations. Unlike vanilla GPT-4, Phind feeds in relevant websites and technical documentation, reducing the model’s hallucination and keeping it up-to-date. To use it, simply enable the “Expert” toggle before doing a search.
GPT-4 is making a night-and-day difference in terms of answer quality. For a question like “How can I RLHF a LLaMa model”, Phind in Expert mode delivers a step-by-step guide complete with citations (https://phind.com/search?cache=0fecf96b-0ac9-4b65-893d-8ea57...) while Phind in default mode meanders a bit and answers the question very generally (https://phind.com/search?cache=dd1fe16f-b101-4cc8-8089-ac56d...).
GPT-4 is significantly more concise and “systematic” in its answers than our default model. It generates step-by-step instructions over 90% of the time, while our default model does not.
We’re particularly focused on ML developers, as Phind can answer questions about many recent ML libraries, papers, and technologies that ChatGPT simply cannot. Even with ChatGPT’s alpha browsing mode, Phind answers technical questions faster and in more detail.
For example, Phind running on “Expert” GPT-4 mode can concisely and correctly tell you how to run an Alpaca model using llama.cpp: (https://phind.com/search?cache=0132c27e-c876-4f87-a0e1-cc48f...). In contrast, ChatGPT-4 hallucinates and writes a make function for a fictional llama.cpp.
We still have a long way to go and would love to hear your feedback.

Comments (414) 162 threads

Earlier comments
jonplackett1 reply#
I’m really impressed with this. I’ve been using Supabase a lot recently and being relatively new I often end up looking Though GitHub comments for answers.

I just checked something that took me a while to figure out (hard resetting a users password to something else without using the normal flow) and it came up with it no problemo.
Very cool

rushingcreek1 reply#
Thank you :)
jonplackett#
Would still love to know how this is going to be funded longer term.

There’s no such thing as a free search.

visarga#
Something that is missing in Phind is a way to restrict the search to a time period. If you want to only reference sources updated recently, how can you do that?
paradite#
I asked about how to implement categorical distribution in tf.js, it is still hallucinating and giving me libraries and modules that don't exist (while pulling references from tensorflow), just like ChatGPT.

Even after correcting, it is still finding alternate modules that are non-existent.

gerdesj1 reply#
OK I tried something like my favourite question: "What are the most important factors in a simply supported beams's resistance to bending and shear strength?"

That prompt is deliberately a bit humanly stated whilst being quite obvious for any first year Struct/Civ eng student who actually made it into a text book. It is far simpler than any programming prompt effort I've ever tried with say ChatGPT.
The answer I got was: "In conclusion, the most important factors in a simply supported beam's resistance to bending and shear strength are the forces and moments acting on the beam."
I changed my prompt to: "What are the most important factors in a simply supported beams's resistance to a point load?"
"In conclusion, the resistance of a simply supported beam to a point load can be affected by several factors, including the reaction forces and moments, the second moment of area and shear coefficient, and the material properties of the beam. There are multiple approaches to calculating the resistance, including hand calculations and finite element analysis, each with their own pros and cons."
Much better but largely rubbish. Material properties is correct.
Think about a steel I beam - why is it mostly air in cross section? You even see I beams where the web (the vertical bit) has holes in it (to reduce weight). The resistance of a simply supported beam in response to a point vertical load is purely down to vertical depth of the member - it's a classic result from quite a lot of engineering math at 1st year uni. The flanges ie the horizontal top and bottom bits are to resist buckling and shear. Yes, wood gets a bit more complicated and actually all materials get more complicated!
However, I find that LLMs (like I've seen loads!) seem to have snags with non IT related engineering stuff. ChatGPT seems to have intimate knowledge of VMware PowerCLI and Python (and eventually wrote me a decent script) but fails on a basic physical principle.
Caveat Civis

gerdesj#
That answer is quite close but probably by accident. Don't get me wrong, I am in absolute awe of these beasts:

Me: "Take a simply supported beam 10m long. Apply a force of 1000N at 2m from the left of that beam. What is the bending moment at 5m from the left?"
It: "blah blah blah ... Therefore, the bending moment at a point 5 meters from the left end of the beam is 600 Nm."
It's probably correct here but I will have to check. I've just read its reasoning and it does look correct on a superficial reading after two very large glasses of wine. Sadly it fails to note that I spelled metre in the French way - obviously, because I am English.
This is the result:
https://www.phind.com/search?cache=b2d2e3ee-f3ed-4a2a-b976-5...

carrolldunham#
Change the name of expert mode. You're having to tell each single user to turn it on, because probably like me they think it means "answer as if talking to an expert"

Load more comments