HackerTrans
TopNewTrendsCommentsPastAskShowJobs

crazyedgar

no profile record

comments

crazyedgar
·3 года назад·discuss
We just use https://www.sbert.net/. Compare the embedding of the answer with the embeddings of YES versus NO.
crazyedgar
·3 года назад·discuss
There's no suspicion. Our experience shows that for the remaining 20% of work, LangChain actually gets in the way and must eventually be removed.
crazyedgar
·3 года назад·discuss
It's worse than that. The documentation is a confusing mess that completely omits the explanation of key default parameters and details. And the abstractions are horrendously brittle. And difficult to fix, because there are too many layers.

The best use of LangChain is probably just looking at the included prompts in the source code for inspiration.
crazyedgar
·3 года назад·discuss
I disagree. Production systems don't need to be full of AbstractSingletonProxyFactoryBeans which is basically what LangChain is. For example, Linux certainly isn't.
crazyedgar
·3 года назад·discuss
I like the idea, but I think a library that focuses on producing requests and parsing responses according to schema is better. Sending requests to the server is orthogonal to the purpose.

What we've found useful in practice in dealing with similar problems:

- Use json5 instead of json when parsing. It allows trailing commas.

- Don't let it respond in true/false. Instead, ask it for a short sentence explaining whether it is true or false. Afterwards, use a small embedding model such as sbert to extract true/false from the sentence. We've found that GPT is able to reason better in this case, and it is much more robust.

- For numerical scores, do a similar thing by asking GPT for a description, then with the small embedding model write a few examples matching your score scale, and for each response use the score of the best matched example. If you let GPT give you scores directly without explanation, 20% of the time it will give you nonsense.
crazyedgar
·3 года назад·discuss
For us LangChain actually caused more problems than it solved. We had a system in production which after working fine a few weeks suddenly started experiencing frequent failures (more than 30% of requests). On digging it seems that LangChain sets a default timeout of 60 seconds for every requests. And this behaviour isn't documented! Such spurious decisions made by LangChain are everywhere, and will all eventually come back to bite. In the end we replaced everything with vanilla request clients. Definitely not recommended to build a system on a library that provides very limited value while hiding a huge amount of details and decisions from you.
crazyedgar
·3 года назад·discuss
CozoDB? https://news.ycombinator.com/item?id=35641164
crazyedgar
·3 года назад·discuss
That's not what I meant by interaction. The evaluator had to ask the models to do tasks for them that they thought of by their own. Otherwise there are just too many ways that information could have leaked.

OpenAI's model isn't immune from this either, so take any so-called evaluation metrics with a huge grain of salt. This also highlights the difficulties of properly evaluating LLMs: any metrics, once set up, can become a memorization target for LLMs and lose their meaning.
crazyedgar
·3 года назад·discuss
This is my experience too. While I'd really love the Open Source models to catch up, currently they struggle even with dead-simple summarization tasks: they hallucinate too much, or omit essential points. ChatGPT don't often hallucinate when summarizing, only when answering questions.
crazyedgar
·3 года назад·discuss
This is hugely misleading. If your bot just memorizes Shakespeare and output segments from memorization, of course nobody can tell the difference. But as soon as you start interacting with them the difference can't be more pronounced.
crazyedgar
·3 года назад·discuss
Are you sure? I have yet to see any evidence that anyone at all (including Google) has built a model (or a "platform" as you prefer to refer to them) that can follow instructions as well as 50% of ChatGPT, let alone GPT-4. I don't think any amount of work in LangChain and vector databases is enough to fix this: you really need a strong base model that is trained to align with human intentions well. Of course if you just want a bot that can answer free-form simple questions, then maybe people can't tell the difference. Just give them some real work to do and it becomes glaringly obvious.
crazyedgar
·3 года назад·discuss
NVidia made this, OK. Not sure what is the significance of this? Can someone explain?
crazyedgar
·3 года назад·discuss
I believe this is the code for their work, which I believe the authors didn't put in the paper: https://github.com/philzook58/egglog
crazyedgar
·3 года назад·discuss
I think "creepy"
crazyedgar
·3 года назад·discuss
With "paywall" in the name, I don't think this is going to sell.
crazyedgar
·3 года назад·discuss
Why is there a waitlist on the front page? Is it not available yet?
crazyedgar
·3 года назад·discuss
No I don't think it is fine to ask for people's OpenAI key on a web page with obfuscated javascript. And apparently source code is not available.
crazyedgar
·3 года назад·discuss
Looks great!
crazyedgar
·4 года назад·discuss
Maybe it's intentional, to generate traffic.
crazyedgar
·4 года назад·discuss
I don't get the point of running it 24/7 as you can watch it on demand on youtube [1].

(And most of the people who are interested in it have already watched the whole thing already.)

[1] https://www.youtube.com/watch?v=-J_xL4IGhJA&list=PLE18841CAB...