Large Language Models can be trained by a process called unsupervised learning. They are fed with a huge amount of text data, and with that data, the model recognizes and learns to predict the next word in a sentence based on the context. This process is usually used on high-performance computing infrastructure.