Update README.md
Browse files
README.md
CHANGED
|
@@ -8,5 +8,19 @@ pinned: false
|
|
| 8 |
license: mit
|
| 9 |
short_description: Work
|
| 10 |
---
|
|
|
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 8 |
license: mit
|
| 9 |
short_description: Work
|
| 10 |
---
|
| 11 |
+
# Phi-1.5 Chatbot (CPU)
|
| 12 |
|
| 13 |
+
This is an open-source chatbot backend using the Phi-1.5 (1.3B) instruction-tuned model. It runs entirely on CPU (no API keys needed) and responds in a friendly, assistant-like tone.
|
| 14 |
+
|
| 15 |
+
## Requirements
|
| 16 |
+
|
| 17 |
+
- CPU with at least 2 cores and 16GB RAM (e.g. Hugging Face Spaces free tier).
|
| 18 |
+
- Python 3.10+.
|
| 19 |
+
- The dependencies listed in `requirements.txt` (FastAPI, Transformers, Torch, Gradio).
|
| 20 |
+
|
| 21 |
+
## Setup and Run
|
| 22 |
+
|
| 23 |
+
1. **Install dependencies:**
|
| 24 |
+
```bash
|
| 25 |
+
pip install -r requirements.txt
|
| 26 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|