Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.7.0
metadata
title: Text Generation & Summarization
emoji: 🤖
colorFrom: blue
colorTo: green
sdk: docker
pinned: false
Text Generation & Summarization App
This application provides two AI-powered features:
- Text Generation: Generate text completions using Qwen2.5-0.5B-Instruct with interactive token visualization
- Summarization: Summarize long text using BART-large-CNN
Features
- FastAPI backend
- Interactive web interface
- Interactive Token Visualization: Hover over any generated token to see the top 5 alternative tokens the model considered
- Real-time text generation and summarization
- Next word prediction with probability scores
- Adjustable parameters (max tokens, sampling)
Models Used
- Qwen/Qwen2.5-0.5B-Instruct (Text Generation)
- facebook/bart-large-cnn (Summarization)