Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.24.0
metadata
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
- Enter a text prompt in the input box.
- Select the maximum length for the generated text.
- Click the submit button.
- View the generated text output.