4 ms·
You can program GPT in English. Let me repeat that: You can program GPT in English. ENGLISH! You're complaining about the first nuclear test bomb being imprac
by jiggawatts 4y ago
You can program GPT in English.
Let me repeat that: You can program GPT in English. ENGLISH!
You're complaining about the first nuclear test bomb being impractical and uninteresting. How will this change the world? That huge monstrosity had to be affixed to the top of a test gantry and took years of effort by a veritable army of the best and brightest to make! No way it could change war, or geopolitics, or anything. No way..
This is the day after Trinity. The bomb has gone off. A lot of physicists are very excited, some are terrified, and the military is salivating. The politicians are confused and scared, and the general public doesn't even know yet.
That doesn't mean the world hasn't changed, forever.
- valenterry 4y ago> You can program GPT in English. > Let me repeat that: You can program GPT in English. ENGLISH! What does that mean to "program GPT"? Do you mean program (software) USING GPT? I thought we already had COBOL, which is pretty much like English so business people can use it. Same for SQL. And don't we already have lots of low-code or no-code tools? Why do we need to program with ChatGPT if we already are beyond programming?
- brookst 4y agoNot the person you replied to, but I see it the same way. GPT is an English (and other natural language) compiler. Not in the sense that you get a computer program out (though you can), but in the sense that it can automate anything without even needing a programming language, compiler, and domain specific UX. Low code and no-code tools still require thinking like a programmer. You define what you need to do, then implement, then get results. GPT often lets you go directly from spec to results. If the goal is programming, GPT is nothing special. If the goal is quickly reasoning over very abstract instructions, it’s amazing. The trick is seeing the new use cases. It really does come back to the GUI revolution: if you want to list files in a directory, the CLI is just as good, maybe better. But GUI makes photoshop possible. GPT makes it possible to say “summarize the status emails I sent over the past year, with one section per quarter and three bullet points per section”. And the magic is that is the programming.
- newswasboring 4y ago> What does that mean to "program GPT"? Do you mean program (software) USING GPT? A sibling comment already explained the second part of the question, but there is something I find more exciting. You can program GPT, as in you can tell it to change its behavior. The innumerable "jail break" prompts are just programs written in English which modify GPT itself. Like macros in lisp I guess. The first time I truly saw this potential was when someone showed me you don't actually have to change the temperature of chatGPT in code, you can just tell it to give low and high temperature answers in the prompt[1]. That's programming the model itself in english. [1] https://news.ycombinator.com/item?id=34801574 https://news.ycombinator.com/item?id=34801574
- ThalesX 4y ago> You can program GPT in English. > Let me repeat that: You can program GPT in English. ENGLISH! How? Let me repeat that: How? I had a little script that from time to time parses a list of jobs from a specific board, extracts some categories, inserts them into an SQLite and have a frontend that displays them to me in a way I want. The board has since changed some things which would mean maybe 2 hours of commitment from me to update the script. How do I program GPT in English. ENGLISH! To do that for me? What are the steps involved? I've been using ChatGPT and GPT-4 for awhile and I can't imagine what the steps are to make this happen without a lot of back and forth. I can't imagine how to program the infrastructure. I can't imagine how the API endpoint is more than a fancy autocomplete. I need help understanding what it means that I can program it in ENGLISH! (I can also program it in my country's language for what it's worth). > That doesn't mean the world hasn't changed, forever. I sort of agree with this.
- DANmode 4y agoThe same way people used to write code in the early days: trial and error, and a boatload of cursing!
- adammarples 4y agoHonestly don't think it will be long before gpt can read this comment, then politely ask you for the urls of the job board and your git repo and 2 seconds later you will have a pull request to review
- rovr138 4y agoYou might find this interesting - https://github.com/Torantulino/Auto-GPT https://github.com/Torantulino/Auto-GPT > Auto-GPT is an experimental open-source application showcasing the capabilities of the GPT-4 language model. This program, driven by GPT-4, autonomously develops and manages businesses to increase net worth. As one of the first examples of GPT-4 running fully autonomously, Auto-GPT pushes the boundaries of what is possible with AI.
- ThalesX 4y agoPerhaps, but I'm talking about right now. I would love to be able to do this as I have 1000 ideas and no time to try them out.
- palata 4y ago> Let me repeat that: You can program GPT in English. ENGLISH! For problems that are fine being defined ambiguously. Try to program a database in English, let's see where it goes.
- jiggawatts 4y agoYou laugh, but this is why SQL reads kinda-sorta like English. People have tried, and failed. Meanwhile, if you give Chat GPT your database schema and ask it to write a SQL query for a report, it can do that for you.
- jazzyjackson 4y agoIf anyone wants to see the output of GPT4 when asked to define the tables and some sample queries for a hackernews clone in sqlite: https://poe.com/lookaroundyou/1512927999932134 https://poe.com/lookaroundyou/1512927999932134
- cudgy 4y agoThis is a very simple case that doesn’t reflect the complexity of a real project. Like so many attempts before to produce code, using a little effort, it degrades when the complexity level increases even slightly. Once there are more tables, ones that have names which cannot be easily translated from English, it breaks down quickly. These types of tools work ok for brand new projects, but work on existing projects will prove to be exponentially harder or more difficult than it is worth. Nonetheless, it could prove useful for looking up algorithms, patterns, and generating boilerplate code. However, an important issue is will it generate similar code if queried at a later time? Not likely, which will make it less useful or result in an inconsistent codebase. Maybe you can request a version of the code generation? In-house code generators will generate consistent code, so it will be interesting to see how it is used in real projects.
- int_19h 4y agoHere's a more extreme example, using SQL as an API to give model access to game world state to reason about it. https://gist.github.com/int19h/4f5b98bcb9fab124d308efc19e5309fb https://gist.github.com/int19h/4f5b98bcb9fab124d308efc19e530... Note that in this case it isn't even asked to write specific queries for specific tasks - it's just given one high-level task and the schema to work with. You're right, though, that the effectiveness of this approach depends very much on schema design and things like descriptive table/column names etc (and even then sometimes you have to make it more explicit than a human would need). You really need to design the schema around the capabilities of the model for best results, which makes it that much harder to integrate with legacy stuff. Similarly, not all representations of data work equivalently well - originally, I gave the model direct access to the typed object graph, and it handles that much worse than SQL. So if your legacy software has a data model that is not easy to map to relational, too bad. On the other hand, GPT-4 is already vastly better at this kind of task than GPT-3.5, so I think we can't assume that this will remain a limitation with larger models.
- YurgenJurgensen 4y agoThe Ford Nucleon was a 1957 concept car that featured a compact nuclear reactor. Look at how well that prediction aged. It's apt that you mention the Trinity test, since 1950s inflated expectations of the applicability of nuclear everything are exactly where we are now. Perhaps I could interest you in some Radium Water? It's new and trendy and good for your health.
- alexvoda 4y agoWikipedia has a fascinating article: https://en.wikipedia.org/wiki/Radioactive_quackery https://en.wikipedia.org/wiki/Radioactive_quackery
- alexvoda 4y agoYou can't program GTP in anything if you can't program. If your prompt is garbage then the output will be garbage and if you don't know how to program you won't even realize the output was garbage. It's not the language part of programming language that is hard. It's the programming part because it means you have to have a good understanding of what you want. Just like a human programmer won't read your mind an AI programmer won't read your mind either. But I can already foresee bosses dismissing employees that raise issues (performance, maintainability, scalability, etc., etc.) by saying "Look, the AI can do it. So if it can do it you can do it too.". I foresee this because I have already seen it.
- r00fus 4y ago> You can't program GTP in anything if you can't program. That's why it makes this so interesting - this type of automation impacts our jobs directly. Of course, I'm not sure who would use this in a corporate codebase without legal concerns.
- pipes 4y agoWork in a financial place, we have a contract with open AI so they don't hoover our user input. Normal URL is blocked.
- deleted 4y ago[deleted]
- JohnFen 4y ago> Let me repeat that: You can program GPT in English. ENGLISH! The very existence of "prompt engineering", numerous discussions about how to prompt ChatGPT in order to get the result you want, etc. imply that while it may be in English, it still requires similar care and attention to do properly as a programming language does. Which makes me wonder what the advantage of using English is. A formal language seems like it would be more productive and accurate.
- pixl97 4y agoFor one, GPT-4 requires far less prompt engineering and generally interprets intent better. The advantage of using English (natural language that is), the humans around you tend to speak it. I don't naturally speak powershell. Instead I want a script that searches for particular filenames, under a particular size, between a particular date in a directory path I specify. I told GPT I wanted that and in a few seconds it dumped out what I needed. It wrote the script in a formal language, which is then interpreted by the machine in an even more formal manner. Let the code deal with accuracy, and lets let language models argue back and forth with humans on intent.
- JohnFen 4y ago> The advantage of using English (natural language that is), the humans around you tend to speak it. This is true, but of limited utility. English is so bad at this sort of thing that even native-speaking humans are constantly misunderstanding each other. Especially when it comes to describing things and giving instructions. That's why we have more formal languages (even ignoring programming languages) for when we need to speak with precision.
- int_19h 4y agoThat's the other nice thing about ChatGPT - if you say it something and it misunderstands, you can correct it by saying, "no, actually, what I meant is ...". Which, again, is how people generally do that kind of thing outside of programming. The advantage is that you're still remaining on a much higher level of abstraction. As far as formal languages... GPT doesn't know Lojban well, presumably because of its very small presence in the training data (and dearth of material in general). But it would be interesting to see how training on that specifically would turn out.