gpt2-text-generator / README.md
asmhashenry12345's picture
Update README.md
66a26f6 verified
metadata
title: GPT-2 Text Generator
emoji: 🤖
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.42.0
app_file: app.py
pinned: false
license: apache-2.0

GPT-2 Text Generation Server

A simple text generation server using GPT-2, optimized for Hugging Face Spaces free tier.

Features

  • Text generation using GPT-2
  • Adjustable parameters (temperature, top-p, top-k)
  • Free tier compatible
  • Easy-to-use web interface

Usage

  1. Enter your text prompt
  2. Adjust generation parameters if desired
  3. Click "Generate Text"
  4. View the generated continuation

API Access

You can also access this via the Gradio API. Check the "Use via API" tab in the interface.