Spaces:
Sleeping
Sleeping
File size: 841 Bytes
1932f44 2d4d72d 1932f44 2d4d72d 1932f44 2d4d72d | 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 | ---
title: GPT-2 Text Generation
emoji: 🤖
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.34.0
app_file: app.py
pinned: false
---
# GPT-2 Text Generation Application
## Overview
This application generates human-like text using the pre-trained GPT-2 model from Hugging Face Transformers. Users can enter a prompt and receive AI-generated text based on the given input.
## Features
- Text generation using GPT-2
- Adjustable output length
- Simple and interactive Gradio interface
- Built with Python, PyTorch, and Transformers
## Technologies Used
- Python 3.x
- Hugging Face Transformers
- GPT-2 Pre-trained Model
- PyTorch
- Gradio
## How to Use
1. Enter a text prompt in the input box.
2. Select the maximum length for the generated text.
3. Click the submit button.
4. View the generated text output.
## Example Prompt |