Live data from Hacker News

Demo of an OpenAI language model applied to code generation [video]

twitter.com

61–70 of 158 posts

Re: Demo of an OpenAI language model applied to code generation [video]

#63
post #18

I had trouble accessing the relevant video snippet even after going through the conference registration, so here's a summary. You can view the demo at https://twitter.com/i/broadcasts/1OyKAYWPRrWKb starting around 29:00. It's Sam Altman demoing a massive Open AI model that was trained on GitHub OSS repos using a Microsoft supercomputer. It's not Intellicode, but the host says that they're working on compressing the m…

Thanks, but it's Sam McCandlish doing the demo (and the project).

Re: Demo of an OpenAI language model applied to code generation [video]

#64
I'am a bit confused, is this built by OpenAI or Microsoft? Microsoft released the paper IntelliCode Compose: Code Generation Using Transformer [1] 4 days ago and there is no attribution to anyone from OpenAI in it.

Are those two entirely separate and yet exactly similar initiatives?

[1]: https://arxiv.org/abs/2005.08025v1

Re: Demo of an OpenAI language model applied to code generation [video]

#67

I mean it is cool. But there is the thing, the natural description of a function is not always this unambiguous. When you are telling a function to 'compute XYZ', what you are actually doing is 'check whether X.a exists, if so execute branch 1), else branch 2)'. If the logic gets really complicated, then describing it accurately in human language isn't necessarily faster than doing it in code directly. Otherwise, we…

I agree that code generation of complex functions is hard.

But I think the example given of unit testing - ie. natural language description of specific behavior of function -> code is extremely useful.

Re: Demo of an OpenAI language model applied to code generation [video]

#68
post #18

I had trouble accessing the relevant video snippet even after going through the conference registration, so here's a summary. You can view the demo at https://twitter.com/i/broadcasts/1OyKAYWPRrWKb starting around 29:00. It's Sam Altman demoing a massive Open AI model that was trained on GitHub OSS repos using a Microsoft supercomputer. It's not Intellicode, but the host says that they're working on compressing the m…

Great, even more lag coming in the next version of visual studio.

Re: Demo of an OpenAI language model applied to code generation [video]

#70

I mean it is cool. But there is the thing, the natural description of a function is not always this unambiguous. When you are telling a function to 'compute XYZ', what you are actually doing is 'check whether X.a exists, if so execute branch 1), else branch 2)'. If the logic gets really complicated, then describing it accurately in human language isn't necessarily faster than doing it in code directly. Otherwise, we…

This might be more useful for a task like "read files off a list, and download them in parallel, with no more than 20 concurrent downloads." That particular task might be a one-liner in some programming languages, but there are a lot of programs like that which need significant bookkeeping and/or boilerplate even though their plain-language description of intended behavior is not complicated.

Or implementing a sophisticated protocol that has a formal specification. If you can express the correct behavior in some kind of pithy pseudocode, a tool like this could "compile" that to code in various programming languages. Like a super-powered version of SWIG.

Post reply on HN