Text generation under the GPT algorithm for writing books and theme stories