File size: 814 Bytes
ba16f8a
 
 
 
 
 
 
 
 
 
 
 
b779be4
ba16f8a
 
 
 
 
b779be4
ba16f8a
b779be4
ba16f8a
 
 
 
 
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
---
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)