CITtextgeneration / README.md
VethaNarayananG's picture
Update README.md
2d4d72d verified
|
Raw
History Blame Contribute Delete
841 Bytes

A newer version of the Gradio SDK is available: 6.24.0

Upgrade
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

  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