larrysim commited on
Commit
06e279a
·
verified ·
1 Parent(s): d6fa6bb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -6
README.md CHANGED
@@ -1,11 +1,30 @@
1
  ---
2
- title: Demo
3
- emoji: 🦀
4
- colorFrom: indigo
5
- colorTo: gray
6
  sdk: docker
 
7
  pinned: false
8
- short_description: demo
9
  ---
10
 
11
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Next Word Prediction
3
+ emoji: 🔮
4
+ colorFrom: blue
5
+ colorTo: purple
6
  sdk: docker
7
+ app_file: Dockerfile
8
  pinned: false
 
9
  ---
10
 
11
+ # Next Word Prediction Demo
12
+
13
+ This is a demo app for next word prediction using a trained model with a .pkl tokenizer file.
14
+
15
+ ## How to Use
16
+ 1. Enter some text in the input box
17
+ 2. Select how many words you want to predict (1-10)
18
+ 3. Adjust the temperature (controls creativity vs predictability)
19
+ 4. Click "Predict Next Words" to see the prediction
20
+
21
+ ## Model Details
22
+ - Built with TensorFlow/Keras
23
+ - Uses .pkl format tokenizer
24
+ - Trained on [mention your dataset here]
25
+
26
+ ## Files
27
+ - `model.h5`: Trained Keras model
28
+ - `tokenizer.pkl`: Tokenizer for text processing (.pkl format)
29
+ - `app.py`: Streamlit application
30
+ - `Dockerfile`: Container configuration