druvx13 commited on
Commit
bba23cc
·
verified ·
1 Parent(s): 0cb8c5a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +18 -20
README.md CHANGED
@@ -8,30 +8,28 @@ sdk_version: 5.30.0
8
  app_file: app.py
9
  pinned: false
10
  ---
 
11
 
12
- # GPT Text Generation App
13
-
14
- Deployable Gradio app using `openai-community/openai-gpt` on CPU
15
 
16
  ## Features
17
- - Prompt input
18
- - Adjustable generation parameters: max length, temperature, top-k, top-p, repetition penalty
19
- - Optional seed for reproducibility
20
- - Multiple outputs per prompt
21
- - Chat history state
22
- - Clear history button
23
- - Export history to JSON
24
 
25
- ## Setup
26
- 1. Clone repository
27
- 2. `pip install -r requirements.txt`
28
- 3. `python app.py`
29
 
30
- Access UI at `http://localhost:7860`
 
 
31
 
32
- ## Deployment on HuggingFace Spaces
33
- - Create new Space (Gradio SDK)
34
- - Upload files
35
- - HF auto-installs `requirements.txt`
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