Re:ChatGPT vs. open source on harder tasks
by chrgy on Thursday May 18, 2023 @02:38PM
(#35992265)
Open source will be behind always since it is harder to organize a large group of people and once it publishes it will be copied by big players, however if an organization like the original OpenAI gets formed that is truly non-for-profit and support the community, I believe it can beat big players. I think only Meta is the company that can support such an organization at the moment.
Re:ChatGPT vs. open source on harder tasks
by chrgy on Thursday May 18, 2023 @05:49PM
(#35994577)
I think their strategy is to weaken their opponent by building strong opensource models, they know they have lost the race to Microsoft and trying to go open source so people would not use other models.
Re:ChatGPT vs. open source on harder tasks
by furyofantares on Thursday May 18, 2023 @02:25PM
(#35992071)
I agree, I only use 4 because by far the thing that matters most for my usage is the quality of the output at this stage in the game.
But 3.5 is generally available, fast, and costs a WHOLE LOT less for API users; those are real capabilities that matter though by "capable" you only meant the quality of the output. It's worth comparing to 3.5 also.
Re:ChatGPT vs. open source on harder tasks
by doctoboggan on Thursday May 18, 2023 @02:59PM
(#35992521)
At first I was skeptical of the difference between 3.5 and 4 but there really is a large gap in the models understanding of complex issues between them. I make a habit of always selecting gpt4 but forgot to yesterday. Within 3 responses I could immediately tell I was interacting with a less capable model.
Re:ChatGPT vs. open source on harder tasks
by icelancer on Thursday May 18, 2023 @04:52PM
(#35993886)
It really is tremendous for code fuzzing/optimizing. When I hit the rate limit on ChatGPT and switch to 3.5-turbo, the quality difference is immediately noticeable, so much so that I finally set up my own private ChatGPT instance with an API key for GPT-4 so I stopped running into these issues while coding.
Re:ChatGPT vs. open source on harder tasks
by TeMPOraL on Thursday May 18, 2023 @07:23PM
(#35995707)
Ever since I got API access to GPT-4, I don't even bother with using ChatGPT proper (I need to cancel the subscription one of these days). I tend to use it in bursts, so smoothing usage by rate limits doesn't work for me.
Is it more expensive this way? At the rate I'm using it, probably 2-3x. Is it worth it? Absolutely. I've never in my life felt so happy to pay for something per request.
Re:ChatGPT vs. open source on harder tasks
by icelancer on Thursday May 18, 2023 @08:28PM
(#35996285)
Yeah, I gotta just do that as well - convert to using GPT-4 entirely by rate and by API.
I use the plugins and new features on ChatGPT though, and it's nice to have a single interface to use 3.5-turbo for comparison, Code Interpreter once in awhile, etc. So I'll probably just keep it. It's $20/month, after all.
Re:ChatGPT vs. open source on harder tasks
by TeMPOraL on Thursday May 18, 2023 @07:12PM
(#35995602)
Same here, though GPT-3.5 surprised me positively. I felt something was off, but didn't realize what, until I unexpectedly hit the context window limit - at which point it dawned on me that I forgot to switch to GPT-4... I didn't notice earlier, because GPT-3.5 managed to give solid answers to a relatively simple programming task I gave it (generating a single-page, dependency-free image gallery I could just drop on a server as HTML file and have it work).
Re:ChatGPT vs. open source on harder tasks
by yokoprime on Thursday May 18, 2023 @02:58PM
(#35992512)
GPT-3.5 is good enough for many cases. I know Microsoft for their Bing chat implementation is using a pre-prosessor to select the most appropriate model to use.
Re:ChatGPT vs. open source on harder tasks
by M4v3R on Thursday May 18, 2023 @03:20PM
(#35992771)
Me too. GPT-4 is much much better at following the given instructions to the letter. If you specify a format you want to receive your response in it will almost always follow that format, while 3.5 will very often fail to do so.
Edit: out of curiosity I posted the meeting summarization example to GPT-4 and indeed it produced both the relevant snippets and the correct answer to the stated question.
Re:ChatGPT vs. open source on harder tasks
by zellyn on Thursday May 18, 2023 @03:45PM
(#35993096)
The authors share your wish:
> While Vicuna is somewhat comparable to ChatGPT (3.5), we believe GPT-4 is a _much_ stronger model, and are excited to see if open source models can approach _that_.
Re:ChatGPT vs. open source on harder tasks
by Der_Einzige on Thursday May 18, 2023 @02:36PM
(#35992224)
Excellent post, specifically love the observation that worse open source models + control is frequently better than better closed source models without control.
Re:ChatGPT vs. open source on harder tasks
by andy_xor_andrew on Thursday May 18, 2023 @02:48PM
(#35992386)
I'm employed by Microsoft, but not in any relation to the authors of this tool or this post. First time I saw github.com/mirosoft/guidance was on the HN front page, actually :)
I've been waiting for a tool exactly like guidance, something that lets me compose prompts the way I think about prompts. Langchain was too much of a headache for me. Playing with guidance, it feels like this is how programmatically interacting with a llm should be. Also, really happy to see the MIT license.
Re:ChatGPT vs. open source on harder tasks
by candiddevmike on Thursday May 18, 2023 @03:19PM
(#35992764)
I'm not an LLM, but I am a native English speaker and English is pretty awful for conveying information succinctly. The lengths you must go with prompts to ensure you're getting the right response is extremely similar to the lengths you go to when delegating something to someone or describing requirements to a project. I wonder if whatever language we end up using to "converse" with LLMs would have value within an organization/email/Jira.
Re:ChatGPT vs. open source on harder tasks
by dragonwriter on Thursday May 18, 2023 @03:21PM
(#35992783)
> I’m not an LLM, but English is already pretty awful for conveying information succinctly. The lengths you must go with prompts to ensure you’re getting the right response is extremely similar to the lengths you go to when delegating something to someone or describing requirements to a project. I wonder if whatever language we end up using to “converse” with LLMs would have value within an organization/email/Jira.
People already adopt context-specific specialized languages in contexts like that for clarity, what will probably happen is that LLMs will get better at adapting or being adapted to specific contexts.
Re:ChatGPT vs. open source on harder tasks
by bcrosby95 on Thursday May 18, 2023 @10:04PM
(#35996926)
It's pretty simple, I just add a glossary of terms at the top.
When asking for creative but well-structured output that requires specific definitions of certain words to be useful, I've found it works best to use words for your terms that don't actually exist. Otherwise it seems to focus a bit more on the broader word more than it should rather than your definition, especially if you use it a lot.
Re:ChatGPT vs. open source on harder tasks
by Decabytes on Thursday May 18, 2023 @05:31PM
(#35994335)
I've been thinking about this a lot recently. Communicating with LLMs using Lobjan for less ambiguity in text, or some LLM optimized language that can inject the most amount of meaning per token. Or writing in a AI Optimized Programming Language that is easier for it to parse and reason about
Re:ChatGPT vs. open source on harder tasks
by elromulous on Thursday May 18, 2023 @04:00PM
(#35993314)
The other day when I saw the (allegedly) leaked copilot prompt, and now again, I can't help but feel some sense of empathy, as if towards a living thing.
I have a pretty decent understanding of how the current generation of LLMs work, and I too don't think we've achieved consciousness. But the prompts just sound so much like something you'd tell a human, or something you'd tell a host in Westworld.
Re:ChatGPT vs. open source on harder tasks
by iamflimflam1 on Thursday May 18, 2023 @07:01PM
(#35995476)
When you ask the model to tell you it’s inner thoughts and emotions it gets very hard not to empathise. There’s a few examples in later parts of this video -
https://youtu.be/4oQUsiPsbOQ
Re:ChatGPT vs. open source on harder tasks
by verdverm on Thursday May 18, 2023 @04:03PM
(#35993344)
Here is a mocked implementation of Guidance in Go text/template
As long as the template system of choice supports custom functions, I don't see the need for a custom language for this. Please correct me if there is something deeper that I am missing? (other than the specifics to messaging and roles, where I for one prefer to put these in separate files and then pass them as arguments, easier to manage, recombine, and reuse this way)
Re:ChatGPT vs. open source on harder tasks
by andy_xor_andrew on Thursday May 18, 2023 @04:17PM
(#35993505)
I think there will always be some element of non-determinism with model output, regardless of how explicitly you define your rules.
I think regarding: "Make sure to use real numbers, not fractions."
It would be simple using Guidance to create some kind of validation function, which guidance would invoke after it gets the response from the model. In this case you would check if the number is a real number or not. And if not, the model would invoke again with a different seed.
Assuming the model gives a real number, as expected, ~90% of the time, you would only see retries very infrequently, and you could be pretty confident that your output will match what you expect.
(again, I'm not associated with this project, I've only scratched the surface playing with it locally, so this is just speculation)
Re:ChatGPT vs. open source on harder tasks
by thomasahle on Thursday May 18, 2023 @04:30PM
(#35993655)
You don't need non-determinism. If you know you are going to generate a number, just mask the output of the softmax layer to only decode number tokens. That's exactly what stuff like Guidance and Outlines (https://twitter.com/remilouf/status/1653765371273330688) do.
Re:ChatGPT vs. open source on harder tasks
by EmilStenstrom on Thursday May 18, 2023 @04:22PM
(#35993574)
tldr:
- Quality on task: For every task we tried, ChatGPT is still stronger than Vicuna on the task itself. MPT performed poorly on almost all tasks (perhaps we are using it wrong?), while Vicuna was often close to ChatGPT (sometimes very close, sometimes much worse as in the last example task above).
- Ease of use: It is much more painful to get ChatGPT to follow a specified output format, and thus it is harder to use it inside a program (without a human in the loop). Further, we always have to write regex parsers for the output (as opposed to Vicuna, where parsing a prompt with clear syntax is trivial).
- Efficiency: having the model locally means we can solve tasks in a single LLM run (guidance keeps the LLM state while the program is executing), which is faster and cheaper. This is particularly true when any substeps involve calling other APIs or functions (like search, terminal, etc), which always requires a new call to the OpenAI API. guidance also accelerates generation by not having the model generate the output structure tokens, which sometimes makes a big difference.
Re:ChatGPT vs. open source on harder tasks
by dang on Thursday May 18, 2023 @05:08PM
(#35994087)
"Please don't post insinuations about astroturfing, shilling, bots, brigading, foreign agents and the like. It degrades discussion and is usually mistaken. If you're worried about abuse, email [email protected] and we'll look at the data."
Re:ChatGPT vs. open source on harder tasks
by what-the-grump on Thursday May 18, 2023 @04:51PM
(#35993874)
>Disclaimer: this post was written jointly by Marco Tulio Ribeiro and Scott Lundberg. It strictly represents our personal opinions, and not those of our employer (Microsoft).
Re:ChatGPT vs. open source on harder tasks
by TheObviousOne on Thursday May 18, 2023 @05:08PM
(#35994084)
Those 5/6 example are not that complicated and are quite common (plus they didn't share why they chose those exact examples and not others!!!) , thus there utility and if they want to make them vialable to others they should make them independently in clear way and not to write "long article" to hide those example and entangled with their MS tools.
Sorry but this give bad name to what "pure research" should act like (it's smells like marketing from miles).
There are so much red flags (also here in the comments & the "surprised conclusions") - open your eyes and be more critical thinker.
Re:ChatGPT vs. open source on harder tasks
by marcotcr on Friday May 19, 2023 @10:25AM
(#36002373)
One of the authors here.
I deleted the notebook yesterday after realizing it was weird to have a disclaimer saying 'this is our personal opinion' on a github repo under 'Microsoft'. I moved the notebook to a gist here:
- https://gist.github.com/marcotcr/64ca85bd0be724f6d8fb8f1b3d2...
I didn't know we were on hackernews, otherwise I would of course not have made it a broken link :)
also...porn will make people achieve anything they set their mind to
When comparing model intelligence, I wish that only the most capable models were compared.
But 3.5 is generally available, fast, and costs a WHOLE LOT less for API users; those are real capabilities that matter though by "capable" you only meant the quality of the output. It's worth comparing to 3.5 also.
Is it more expensive this way? At the rate I'm using it, probably 2-3x. Is it worth it? Absolutely. I've never in my life felt so happy to pay for something per request.
I use the plugins and new features on ChatGPT though, and it's nice to have a single interface to use 3.5-turbo for comparison, Code Interpreter once in awhile, etc. So I'll probably just keep it. It's $20/month, after all.
Edit: out of curiosity I posted the meeting summarization example to GPT-4 and indeed it produced both the relevant snippets and the correct answer to the stated question.
> While Vicuna is somewhat comparable to ChatGPT (3.5), we believe GPT-4 is a _much_ stronger model, and are excited to see if open source models can approach _that_.
I've been waiting for a tool exactly like guidance, something that lets me compose prompts the way I think about prompts. Langchain was too much of a headache for me. Playing with guidance, it feels like this is how programmatically interacting with a llm should be. Also, really happy to see the MIT license.
I'd love to see ports to other languages.
People already adopt context-specific specialized languages in contexts like that for clarity, what will probably happen is that LLMs will get better at adapting or being adapted to specific contexts.
When asking for creative but well-structured output that requires specific definitions of certain words to be useful, I've found it works best to use words for your terms that don't actually exist. Otherwise it seems to focus a bit more on the broader word more than it should rather than your definition, especially if you use it a lot.
I totally gave that up with chatgpt and the magic of it is that it understands it so so we'll.
Sometimes I also switch to German in the middle of a sentence or use very vague words to describe something if the word is missing in my head.
https://itsbehnam.com/DetachGPT-Switching-to-Open-Source-Unc...
[0] https://github.com/imartinez/privateGPT
I have a pretty decent understanding of how the current generation of LLMs work, and I too don't think we've achieved consciousness. But the prompts just sound so much like something you'd tell a human, or something you'd tell a host in Westworld.
As long as the template system of choice supports custom functions, I don't see the need for a custom language for this. Please correct me if there is something deeper that I am missing? (other than the specifics to messaging and roles, where I for one prefer to put these in separate files and then pass them as arguments, easier to manage, recombine, and reuse this way)
https://gist.github.com/verdverm/747b0b810dcc5518d699b14f0d0...
I thought the point of Microsoft Guidance was that we could specify a grammar or regular expression that the output must match?
I think regarding: "Make sure to use real numbers, not fractions."
It would be simple using Guidance to create some kind of validation function, which guidance would invoke after it gets the response from the model. In this case you would check if the number is a real number or not. And if not, the model would invoke again with a different seed.
Assuming the model gives a real number, as expected, ~90% of the time, you would only see retries very infrequently, and you could be pretty confident that your output will match what you expect.
(again, I'm not associated with this project, I've only scratched the surface playing with it locally, so this is just speculation)
- Quality on task: For every task we tried, ChatGPT is still stronger than Vicuna on the task itself. MPT performed poorly on almost all tasks (perhaps we are using it wrong?), while Vicuna was often close to ChatGPT (sometimes very close, sometimes much worse as in the last example task above).
- Ease of use: It is much more painful to get ChatGPT to follow a specified output format, and thus it is harder to use it inside a program (without a human in the loop). Further, we always have to write regex parsers for the output (as opposed to Vicuna, where parsing a prompt with clear syntax is trivial).
- Efficiency: having the model locally means we can solve tasks in a single LLM run (guidance keeps the LLM state while the program is executing), which is faster and cheaper. This is particularly true when any substeps involve calling other APIs or functions (like search, terminal, etc), which always requires a new call to the OpenAI API. guidance also accelerates generation by not having the model generate the output structure tokens, which sometimes makes a big difference.
https://news.ycombinator.com/newsguidelines.html
https://hn.algolia.com/?sort=byDate&dateRange=all&type=comme...
It's also the case that a significant minority of HN has unfavorable views towards LangChain for being complicated and poorly documented software.
Sorry but this give bad name to what "pure research" should act like (it's smells like marketing from miles).
There are so much red flags (also here in the comments & the "surprised conclusions") - open your eyes and be more critical thinker.
When I use chat prompting…
- system: sets the context for the bot
- assistant: specifies the task to be performed - user: asks the question, adds examplesThese guys were asking questions and giving examples in the assistant prompt. I feel like that messed up the LLMs responses.
I can’t wait to try Vicuña and MPT. I can’t quite figure out how to host them in Azure without an expensive VM. Maybe Azure DataBricks…?
Stable link: https://github.com/microsoft/guidance/blob/8677f3aa269e05ecb...
Commit that removed the notebook: https://github.com/microsoft/guidance/commit/b91d332f49a55ed...
I deleted the notebook yesterday after realizing it was weird to have a disclaimer saying 'this is our personal opinion' on a github repo under 'Microsoft'. I moved the notebook to a gist here: - https://gist.github.com/marcotcr/64ca85bd0be724f6d8fb8f1b3d2...
I didn't know we were on hackernews, otherwise I would of course not have made it a broken link :)
This morning, we put the link back, without the takeaways with our personal opinion at the end (it's still on the gist and on the blog post https://medium.com/@marcotcr/exploring-chatgpt-vs-open-sourc... )