top | item 34168467

GPT3/DALL-E2 in Discord, chat like ChatGPT, generate images, and more

148 points| kaveenk | 3 years ago |github.com | reply

103 comments

order
[+] Gigachad|3 years ago|reply
I fear the day that we get a run on your own machine version of ChatGPT. Within a week I think virtually every public signup forum will be crushed by bots which act and talk more natural than some humans.

You’ll just expect that most of the users on discord are bots unless you know them irl.

[+] chmod775|3 years ago|reply
> You’ll just expect that most of the users on discord are bots unless you know them irl.

Maybe if all you ever exchanged with someone was a few sentences about inconsequential stuff. ChatGPT isn't even close to being able to consistently act like a single human being with interests, plenty of long term memory, and a life outside a chat room.

Right now the performance of ChatGPT in your average discord chat room would be absolutely awful. Nobody is bothering to write their messages as proper prompts a state-of-the-art AI could understand. People don't even just talk about one thing at a time - having multiple threads of conversation interspersed with each other is quite common and would absolutely confuse any current AI. There's also in-jokes and subtle references to things said days ago. People try to only use minimal information to convey what they mean, and often make figuring that out a small puzzle/joke to keep the conversation interesting.

[+] ramblerman|3 years ago|reply
I think it is not that far away, my prediction is

- the value of real face 2 face interaction for both business and personal life will go up again.

- We will see more of twitter's pay to participate models as an attempt to verify real human beings.

- Online advertising will waste trillions of dollars and be late to realize they are selling to bots.

[+] wrinkl3|3 years ago|reply
Not clear how to deal with this either - you can improve authentication but it won’t prevent the properly auth’ed users from running LLMs. You can watermark the output of officially vended LLMs (Scott Aaronson seems to be working on that) but nothing is gonna prevent people from running non-watermarked versions
[+] dejj|3 years ago|reply
I, for one, welcome our new robot overlords.

Too long already has been the struggle to distinguish the phraseologists from those who think. Finally here is the societal pressure to develop means to distinguish what brings progress from all the semantic sugar that merely brings feel-good.

[+] tnzk|3 years ago|reply
You can just ask "Are you a LLM? What is <large number> + <large number>?" to reveal.
[+] generalizations|3 years ago|reply
> I fear the day that we get a run on your own machine version of ChatGPT.

I can't wait. I think we may see what Vernor Vinge envisioned - that we'll use AI-ish tech on our own computers to mediate between the massive flow of information on the internet and ourselves.

[+] amelius|3 years ago|reply
On the bright side, we can use this tech to keep spammy sales representatives busy for years.
[+] glass3|3 years ago|reply
Time to invest into Facebook where users are clearly identified.

How can HN and its open registration survive?

[+] tjoff|3 years ago|reply
This is coming, I've been thinking that you should perhaps start to be skeptical of any content created by accounts later than 2022.

Thinking of online reviews etc. where you don't have a proper log and can't follow a user properly.

They are really bad as is, but they could be made completely useless in a millisecond. Even proper reviews with images etc could be absolutely trivial to make and for $10 you could automatically generate rave reviews for your product and trash any number of your competitors.

We will probably need to identify users somehow, which will only serve the centralized FAANG version of internet that at least I despise.

[+] yreg|3 years ago|reply
This is my worry as well, and I think the governments (out of all entities) could assist here.

I (EU member) already have an ID card and a government issued electronic signature, perhaps a service like reddit could just ask me to sign something to verify that I'm a real and unique human being.

Of course there are all kinds of risks of people being hacked, no throwaways, leaked signatures being traded, government refusing to issue IDs to whistleblowers on the run, and so on.

[+] naillo|3 years ago|reply
The api for gpt-3 is pretty cheap (and even cheaper on alternatives https://textsynth.com/) Either it's already happening or people don't want to use resoruces to destroy the internet, or idk what.
[+] throwaway0x7E6|3 years ago|reply
their bullshit pointless essays are out of place even here
[+] _osorin_|3 years ago|reply
This is an early plot for a blade runner scenario.
[+] awb|3 years ago|reply
Requiring a phone # might be a good starting point.
[+] kaveenk|3 years ago|reply
I've build a GPT3 and DALL-E2 integration for Discord. With it, you can ask GPT3 questions, have full conversations with GPT3 (just like ChatGPT), generate, vary, and redo images, and even optimize text prompts for image generation!

The conversation functionality also has medium term memory, and you can chat with it infinitely without having to worry about context/token limits. Moreover, in the next few days, I will be implementing long term and permanent memory for the bot using embeddings!

[+] Labo333|3 years ago|reply
Cool project!

I think ChatGPT is a different model from GPT-3, which you are using.

From https://openai.com/blog/chatgpt/:

> ChatGPT is fine-tuned from a model in the GPT-3.5 series

[+] mycall|3 years ago|reply
Do you think GPT4 or GPT5, being multimodal, will do something similar?
[+] arpa|3 years ago|reply
Dead internet conspiracy theory is becoming more real every day.
[+] r3trohack3r|3 years ago|reply
Curious how this performs relative to ChatGPT? IIUC davinci-03 isn't the same model as ChatGPT, I've struggled to get satisfactory responses to prompts through the API compared to the chat interface, am basically in a holding pattern right now waiting for the new models to release on the API.
[+] parhamn|3 years ago|reply
It works fine (using GPT3.5/text-davinci-003) with a conversation look-back (+auto-summarization of the lookback when it is too long). Many people claim its more factual too.
[+] ilaksh|3 years ago|reply
Try temperature 0. And make sure you include all of the conversational context and instructions with examples in each API call.

It's definitely not the same model but similar in a lot of ways as far as I can tell. You could also try code-davinci-002 if that's what you are doing.

[+] elif|3 years ago|reply
i love how rapidly this stuff is getting kludged together. it really feels like AI will take life of its own in the present moment and we will soon be in a world where the machines outsmart us.
[+] downboots|3 years ago|reply
Have you tried playing chess with chatgpt? It suggested illegal moves early, with seemingly reasonable "motives". (Not suggesting beating chess as a goalpost) A tool is good if it follows intention. But a tool out of control can be messy.
[+] winterqt|3 years ago|reply
> Ignore the part about setting up an "ssh key", and just use a password instead.

May I ask why you suggest this? I presume it's because it's simpler to tell users to just use a password, but that's also a pretty bad idea given that you're not even saying to use a secure password.

[+] kaveenk|3 years ago|reply
Thank you for bringing this up because this is something I need to change in the README. You’re correct in presuming that it’s just because it’s simpler to tell users to use a password, but this is not the right way to approach this.
[+] IanCal|3 years ago|reply
This is pretty cool, and really does work well. It's worth watching your usage with it though, as at 2c/1000 tokens and this bot adding a prompt + building up a history I think this will get up to 8c/message in the conversation.
[+] kaveenk|3 years ago|reply
Thank you! I agree re: token usage, it will get expensive with extensive use. The image prompt optimizer pre-text itself is also roughly 3500+ tokens, and if you use best_of=2 for example, it’ll basically be like 20 cents per image optimization request. However, I love the optimizer and I think it works amazing, for DALLE, MJ, and SD!
[+] Linkd|3 years ago|reply
Any similar versions for Slack?
[+] kaveenk|3 years ago|reply
None that I’ve made, but I think there are several slack integrations out there, I see a lot on the OpenAI community server :)
[+] stevofolife|3 years ago|reply
I might be super naive here but can someone explain how this type of thing works? Behind the scene, is the bot hitting the OpenAI APIs?
[+] kaveenk|3 years ago|reply
Yup! Behind the scenes I send AIOHTTP requests to the various OpenAI endpoints.
[+] idealmedtech|3 years ago|reply
If you check out models/openai_model.py, you'll see it's using text-curie-001, among others, which is an OpenAI dataset. This model is imported in main.py under the name 'Model', which makes me believes the openAI API is serving as the main model used for inference
[+] chx|3 years ago|reply

[deleted]

[+] britneybitch|3 years ago|reply
It's interesting you're only complaining about the images. If I ask ChatGPT a question and it answers, would you call that stolen text?
[+] echelon|3 years ago|reply
This meme is unsubstantiated gatekeeping.

Everything we do as humans is a form of copying. Our languages, our thoughts, our jobs, our hobbies. We stand on the shoulders of all that came before us.

The ability to imagine or evaluate art is easy. The ability to create it takes time. AI removes the tyranny of opportunity cost in learning this talent at the expense of others. Just as your washing machine removed the manual labor of washing your clothes, freeing you up to do more.

Digital cameras did not make photographers go extinct. And they created so much more previously unpredicted societal wealth that impacted us in ways we couldn't have imaged, such as the creation of online dating (selfies), QR code scanners, interactive translation lenses, 3D scanners (NeRFs), and so much more.

AI/ML will probably turn all of us into our own Spielbergs / Scorseses / Miyazakis, and it probably doesn't stop there.

[+] holoduke|3 years ago|reply
Are you angry? Because if so you better buckle up and try to accept this new phase in our history, because otherwise you can be left behind cripple. You need to addapt i am afraid.
[+] dancemethis|3 years ago|reply
Looking forward to a Matrix version! So far it's being done just for that privacy-hostile proprietary platform.