Update README.md
Browse files
README.md
CHANGED
|
@@ -8,30 +8,28 @@ sdk_version: 5.30.0
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
|
|
|
| 11 |
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
Deployable Gradio app using `openai-community/openai-gpt` on CPU
|
| 15 |
|
| 16 |
## Features
|
| 17 |
-
-
|
| 18 |
-
-
|
| 19 |
-
-
|
| 20 |
-
-
|
| 21 |
-
-
|
| 22 |
-
- Clear history button
|
| 23 |
-
- Export history to JSON
|
| 24 |
|
| 25 |
-
##
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
|
| 30 |
-
|
|
|
|
|
|
|
| 31 |
|
| 32 |
-
##
|
| 33 |
-
-
|
| 34 |
-
-
|
| 35 |
-
-
|
| 36 |
-
- Launch
|
| 37 |
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
+
# GPT-1 Text Generator (CPU-Optimized)
|
| 12 |
|
| 13 |
+
A CPU-friendly text generation app for the original GPT model.
|
|
|
|
|
|
|
| 14 |
|
| 15 |
## Features
|
| 16 |
+
- Conversation history tracking
|
| 17 |
+
- Custom system prompts
|
| 18 |
+
- Session saving/loading
|
| 19 |
+
- Advanced generation controls
|
| 20 |
+
- Mobile-responsive interface
|
|
|
|
|
|
|
| 21 |
|
| 22 |
+
## Requirements
|
| 23 |
+
- Python 3.8+
|
| 24 |
+
- 18GB RAM (minimum)
|
| 25 |
+
- No GPU required
|
| 26 |
|
| 27 |
+
## Installation
|
| 28 |
+
1. `pip install -r requirements.txt`
|
| 29 |
+
2. `python app.py`
|
| 30 |
|
| 31 |
+
## Usage Tips
|
| 32 |
+
- Keep prompts under 512 tokens
|
| 33 |
+
- Reduce max_new_tokens if experiencing memory issues
|
| 34 |
+
- Use repetition_penalty >1.0 to reduce loops
|
|
|
|
| 35 |
|