File size: 770 Bytes
79baafe
06e279a
 
 
 
79baafe
06e279a
79baafe
 
 
06e279a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
28
29
30
---
title: Next Word Prediction
emoji: 🔮
colorFrom: blue
colorTo: purple
sdk: docker
app_file: Dockerfile
pinned: false
---

# Next Word Prediction Demo

This is a demo app for next word prediction using a trained model with a .pkl tokenizer file.

## How to Use
1. Enter some text in the input box
2. Select how many words you want to predict (1-10)
3. Adjust the temperature (controls creativity vs predictability)
4. Click "Predict Next Words" to see the prediction

## Model Details
- Built with TensorFlow/Keras
- Uses .pkl format tokenizer
- Trained on [mention your dataset here]

## Files
- `model.h5`: Trained Keras model
- `tokenizer.pkl`: Tokenizer for text processing (.pkl format)
- `app.py`: Streamlit application
- `Dockerfile`: Container configuration