Better HN
topnewbestaskshowjobs
Log inSign up

factoidforrest

6 karma · joined Mar 25, 2023 (3y ago) · 5 submissions

Submissions

comment 3y ago · link · parent

Pretty basic stuff but may be interesting for anyone wanting to learn about calling ChatGPT programmatically, splitting large documents up for processing, and some of the pros and cons of langchain.

comment 3y ago · link · parent

I'd like to know that as well. I went pretty far into looking at alternatives for the post. Best thing you can really do is try them yourself with a tool like this https://github.com/oobabooga/text-generation-webui

Benchmarks are one thing but I suspect if any were truly on par we would know about it.

Obviously it's partly compute cost, but I also suspect there's a lot of R&D that would need to be redone in the open.

How many tricks does openai's pretraining have that aren't found in some paper somewhere?

comment 3y ago · link · parent

Yeah, I built something almost identical in langchain in two days. It can also Google for answers.

Basically in reads through long pages in a loop and cuts out any crap, just returning the main body. And a nice summary too to help with indexing.

Another thing i can do with it is have one LLM go delegate and tell the scraper what to learn from the page, so that I can use a cheaper LLM and avoid taking up token space in the "main" thought process. Classic delegation, really. Like an LLM subprocess. Works great. Just take the output of one and pass it into the output of another so it can say "tell me x information" and then the subprocess will handle it.

4.

OpenAI Vendor Lock-How OpenAI Went from Open Source to “Open Your Wallet”(lunasec.io ↗)

5 points · by factoidforrest · 3y ago · 5 comments