Roll out your own ChatGPT
harishgarg.com
harishgarg.com
Not something you can run on your own machine (or data center) unfortunately.
Maybe you could rent GPU space on a service like vast.ai. But I imagine it would be difficult to set up, and at that point currently you’re better off just using GPT3…
https://github.com/kingoflolz/mesh-transformer-jax/#gpt-j-6b
They even have a google colab notebook thingie. Not much setup needed, just an account.
https://colab.research.google.com/github/kingoflolz/mesh-tra...
"Building a chat app with GPT-3, ReactJS, and NextJS..."
Not
"Roll out your own ChatGPT"
which is rather unrealistic.
On first skim, it looks like a useful guide so good luck with it.
I wonder if one of the open models would work the same
While Stable Diffusion is pretty comparable to DALL-E 2 even on small hardware (such as M1 MacBook Air), this doesn't hold true for large language models. These need much, much more VRAM.
ChatGPT runs on a heavily modified version of GPT3 nicknamed “GPT3.5” that is also not available via API.
Is there a working demo, video, screenshots, or git repo for this solution that gives us a glimpse of what to expect once this is built?
So you will be able to mainly focus on the prompt template and the rest will be handled including the hosting, probably by something like a template app built in the system I have now. The main thing missing to enable easy creation of dialog agents is for me to add a completions endpoint and maybe things like socket.io integration in the template app.
https://stackoverflow.com/questions/74924661/typeerror-opena...