File size: 1,016 Bytes
601d9fa
 
 
 
 
 
097d477
601d9fa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
097d477
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
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