ChatGPT uses GPT-3 language model. There's a paper about this if you interested but take at least 175 billions parameters in total to training this with advanced infrastructure. Besides that the trainings' datasets wasn't published by OpenAI.