--- title: GPT Text Generator emoji: 🤖 colorFrom: blue colorTo: purple sdk: gradio sdk_version: 5.14.0 app_file: app.py pinned: false --- # GPT Text Generation App This is a Gradio app that generates text using a trained GPT model. The model was trained on custom data and can generate text continuations based on user prompts. ## Usage 1. Enter your prompt text in the input box 2. Adjust the maximum length and temperature settings if desired 3. Click submit to generate text ## Parameters - **Maximum Length**: Controls how many tokens the model will generate (10-200) - **Temperature**: Controls the randomness of the output (0.1-2.0) - Lower values make the output more focused and deterministic - Higher values make the output more creative and diverse ## Examples The app includes several example prompts you can try: - "The quick brown fox" - "Once upon a time" - "In a world where" ## Model Details This is a GPT-style model with: - 12 layers - 12 attention heads - 768 embedding dimensions