ChatGPT
lastmod 2026-10-01created 2022-12-0956 edits
ChatGPT is a prototype artificial intelligence chatbot developed by OpenAI that focuses on usability and dialogue. The chatbot uses a large language model trained with reinforcement learning and is based on the GPT-3.5 architecture.
ChatGPT was launched in November 2022 and has garnered attention for its detailed responses and historical knowledge, although its accuracy has been criticized.
Categories
- Generative Pre-trained Transformer#Store - Collection of recommended models by field in the GPTs store
- Prompt Engineering
- Prompt Engineering Tips
- ChatGPT Atlas - A browser with ChatGPT built in.
Projects
- ChatGPT for Google
- Chrome extension that shows ChatGPT answers next to Google search results (github.com/wong2)
- Asks ChatGPT the same phrase you typed into Google search and shows its answer on the results page
- Requires logging in to ChatGPT with your own account
- Build it directly from source, or install it in Chrome/Edge/Firefox (web store)
- PRs for Kagi / DuckDuckGo support are also up, so they will likely be added soon
- Open-source concierge bot using ChatGPT with Telegram and voice
- Prompt composition and history memory for ChatGPT with LangChainJS, integrates with Google
- Speech recognition with OpenAI Whisper
- Generates Text-To-Voice with Play.ht to answer by voice
- GPT4 & LangChain - Building a ChatGPT chatbot for PDFs
- Load many large PDF files into an LLM and chat about their contents
- When you add a PDF, it extracts the text into many chunks, generates embeddings, and stores them in the Pinecone vector store
- For a question, it finds the relevant parts of the document with the OpenAI Embeddings API, passes them to GPT, and generates an answer
- LangChain + Pinecone + TypeScript + OpenAI Embeddings / GPT-3.5 & GPT-4 + Next.js
- Upload a PDF or enter a PDF URL, then chat about the PDF's contents
- On upload, it builds a semantic index of every sentence in the PDF; when answering a question, it finds the relevant sentences and answers through the ChatGPT API
- The free version supports up to 3 PDFs / 50 questions per day. (PDFs up to 120 pages, 10MB or less)
Alternative
ChatGPT is GPT-3.5 with RLHF applied for chat
Lists only open-source projects that apply other language models to chat systems
Bare (no data, no model weights, no chat system)
- lucidrains/PaLM-rlhf-pytorch - Implementation of RLHF (Reinforcement Learning with Human Feedback) on top of the PaLM architecture. Basically ChatGPT but with PaLM
- carperai/trlx - A repo for distributed training of language models with Reinforcement Learning via Human Feedback (RLHF), supporting online RL up to 20b params and offline RL to larger models. Basically what you would use to finetune GPT into ChatGPT.
Mildly bare (data, model weights, basic chat through an API)
- bigscience-workshop/xmtf - This repository provides an overview of all components used for the creation of BLOOMZ & mT0 and xP3 introduced in the paper Crosslingual Generalization through Multitask Finetuning.
Full (data, model weights, fancy chat system including TUI and GUI)
- togethercomputer/OpenChatKit - OpenChatKit provides a powerful, open-source base to create both specialized and general purpose chatbots for various applications.
- Alternative Web UI: Akegarasu/ChatGLM-webui
- Slim version (remove 20K image tokens to reduce memory usage): silver/chatglm-6b-slim
- Fintune ChatGLM-6b using low-rank adaptation (LoRA): lich99/ChatGLM-finetune-LoRA
- Deploying ChatGLM on Modelz: tensorchord/modelz-ChatGLM
- Docker image with built-on playground UI and streaming API compatible with OpenAI, using Basaran: peakji92/chatglm:6b
Complicated (semi-open source, not actually open source, based on closed models, ...)
- tatsu-lab/stanford_alpaca - This is the repo for the Stanford Alpaca project, which aims to build and share an instruction-following LLaMA model.
- Related links
Fine-tuning
hyper parameters
- Studying ChatGPT: A summary of hyperparameters
- Using hyperparameters in ChatGPT
- ChatGPT hyperparameters | PKGPL
There are hyperparameters you can use when calling the API of OpenAI's GPT models. Hyperparameters are not trained neural network weights but parameters the user enters directly, and they affect the model's responses. The main hyperparameters are as follows.
| Hyperparameter | Default | Range |
| temperature | 1 | 0.0~2.0 |
| top-p | 1 | 0.0~1.0 |
| max_tokens | inf | Integer |
| frequency_penalty | 0 | -2.0~2.0 |
| presence_penalty | 0 | -2.0~2.0 |
Let's look at the results you can get with each hyperparameter.
temperature
Controls the diversity and predictability of the results. Higher values give more random (more creative) responses. When you need predictable, consistent responses, use a value close to 0. Usually you adjust either top_p (below) or temperature, not both.
top_p
The top portion of the probability distribution used when sampling words. For example, with top_p=0.9, words are sampled only from the top 90% of the probability distribution. This has the effect of removing outliers. With top_p=0.1, words are sampled only from the top 10% of the probability distribution, so you get more predictable results.
max_tokens
Used to limit the maximum number of tokens in the answer.
presence_penalty
A value greater than 0 discourages words (tokens) that have already appeared from appearing again. In other words, the model becomes more likely to talk about new things.
frequency_penalty
A value greater than 0 discourages the frequency of a specific word (token) from increasing. In other words, it prevents the model from repeating the same thing verbatim.
Predicted Outputs
A Chat Completion API feature that speeds up responses, mainly when the response is predictable. You provide the expected output to the model with the prediction parameter so it can generate results efficiently. Currently (2024-11-24) supported only on the gpt-4o and gpt-4o-mini models.
- OpenAI recently released a powerful feature called Predicted Outputs
- It did not get much attention in the tech media, but it deserves attention
- This feature can reduce API response wait time and greatly speed up generation of output that can be predicted in advance
- When most of the content is already predictable, you can provide that content to the model as a prediction
- The model uses this prediction to accelerate response generation and improve performance
Limitations
- Model compatibility: available only on the gpt-4o and gpt-4o-mini models
- Cost: rejected prediction tokens are charged the same as generated tokens. Monitor rejected_prediction_tokens to manage costs
- Unsupported parameters:
- n (values greater than 1)
- logprobs
- presence_penalty (values greater than 0)
- frequency_penalty (values greater than 0)
- max_completion_tokens
- tools (no function calling)
ChatGPT models appear to leave watermarks in text
Use case: photo-based location tracking
- ChatGPT can now pinpoint where a photo was taken | GeekNews
- Running 'reverse location search' on photos with ChatGPT is trending | GeekNews
Image-based location tracking with ChatGPT is spreading as a viral trend
- OpenAI's latest models o3 and o4-mini combine image analysis and web search to perform highly accurate location inference
- Users feed o3 restaurant menus, street scenes, portraits, and so on, trying to guess locations like in the game "GeoGuessr"
- Privacy concerns are growing; OpenAI has safeguards but lacks clear preventive measures
- OpenAI says it has systems to detect and respond to abuse, but critics point out that actual restrictions are still lacking
Trend of image-based reverse tracking with ChatGPT
- Recently, tracking the location in images with ChatGPT has become a spreading trend among users
- OpenAI's new models o3 and o4-mini can reason about visual information in images
- Even blurry or distorted photos can be analyzed after preprocessing such as cropping, rotating, and zooming
- Combined with web search, this feature performs excellently at inferring the location of cities, landmarks, restaurants, bars, and so on
ChatGPT used like GeoGuessr
- Users ask o3 to "act like GeoGuessr" and try to estimate locations from Instagram story captures, street photos, menus, and so on
- GeoGuessr is an online game where you are shown a photo and find its location
See also
- OpenAI
- GPT
- LLM
- LLaMA - 65b-parameter LLM released by Meta
- ChatLLaMA - Open-source implementation of ChatGPT based on LLaMa
- OpenChatKit - Open-source project for implementing ChatGPT
- Alpaca.cpp - Running a ChatGPT-like model on your own laptop
- Vicuna - An open-source chatbot impressing GPT-4 with 90%* ChatGPT quality
- nanoGPT
- ColossalChat - Open-source RLHF pipeline solution for cloning ChatGPT
- Databricks - Released the ChatGPT-like Dolly 2.0 as open source
- AgentGPT - Bringing AI agents to the browser
- DeepSpeed Chat - Framework for training ChatGPT-like models with RLHF
- Open Assistant - Conversational AI for everyone, released
- Auto-GPT - Experimental open source that automates GPT-4
- MiniGPT-4 - Enhancing vision-language understanding with advanced LLMs
- LocalAI - Self-hostable OpenAI-compatible API
- langchain
- Streamlit - Easy web-building tool for data scientists
- Jev
Favorite site
Article
- [Original] Building A Virtual Machine inside ChatGPT
- Instructed ChatGPT to act like a Linux terminal, then tried various commands
- Basic operations like ls, cd, touch, and cat work. It also understands the file system
- It also understands Dockerfiles, so running Docker is possible
- External ping / curl also work, and browsing with lynx is possible
- You can instruct it to send curl to the ChatGPT URL to ask itself, and get an answer
- Used curl to command itself to act as a Linux terminal (recursion back to the start of this post..)
- ChatGPT is now finding bugs in databases
- StarRocks, an open-source OLAP project, compared ChatGPT with other automated testing tools
- AgentGPT
- Alpaca
- Alpaca.cpp
- Artificial intelligence
- Auto-GPT
- AutoGPT
- CEF Python
- ChatGDB
- ChatGPT Atlas
- ChatGPT Deep Research
- ChatHub
- ChatLLaMA
- ChatPDF
- Chrome:Extensions
- ColossalChat
- Cython
- Databricks
- Deep learning
- DeepSearcher
- DeepSpeed Chat
- English:Word
- FFmpeg:CLI
- Filecoin
- GDB
- Generative Pre-trained Transformer
- GirlfriendGPT
- GPT-Code UI
- GPTCache
- HuggingChat
- Jev
- JSON Lines
- Landing page
- Large language model
- LegoGPT
- LLaMA
- Llama.cpp
- LocalAI
- Manus
- MiniGPT-4
- NanoChat
- NewsBytes
- Non-Uniformity Correction
- NVIDIA DeepStream
- Open Deep Research
- Open WebUI
- Openai-oauth
- OpenChatKit
- Perplexity
- Phind
- RedPajama
- Scrapeghost
- Search engine
- Sia
- Storj
- Streamlit
- SuperAgent
- TeleportHQ
- Vicuna
- Whisper