Update README.md
Browse files
README.md
CHANGED
|
@@ -9,4 +9,33 @@ app_file: app.py
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Qwen3-0.6B Text-to-Text Chat Interface
|
| 13 |
+
|
| 14 |
+
A Gradio-powered web interface for interacting with the Qwen3-0.6B language model from HuggingFace.
|
| 15 |
+
|
| 16 |
+
## Features
|
| 17 |
+
- Interactive chat interface
|
| 18 |
+
- Adjustable generation parameters
|
| 19 |
+
- Input validation and error handling
|
| 20 |
+
- Mobile-responsive design
|
| 21 |
+
- Example prompts for inspiration
|
| 22 |
+
|
| 23 |
+
## Requirements
|
| 24 |
+
- Python 3.8+
|
| 25 |
+
- CUDA-compatible GPU recommended but not required
|
| 26 |
+
- At least 8GB RAM (16GB recommended)
|
| 27 |
+
|
| 28 |
+
## Installation
|
| 29 |
+
1. Install dependencies: `pip install -r requirements.txt`
|
| 30 |
+
2. Run the app: `python app.py`
|
| 31 |
+
|
| 32 |
+
## Deployment on HuggingFace Spaces
|
| 33 |
+
1. Create new Space with Gradio SDK
|
| 34 |
+
2. Upload all files
|
| 35 |
+
3. Add `/model_cache` to `.gitignore`
|
| 36 |
+
4. Enable GPU hardware in Space settings
|
| 37 |
+
|
| 38 |
+
## Tips
|
| 39 |
+
- For production use, consider adding rate limiting
|
| 40 |
+
- Can be extended to support multi-turn conversations
|
| 41 |
+
- Add system prompt functionality for role-playing
|