Spaces:
Sleeping
Sleeping
File size: 727 Bytes
4898067 c432aae 4898067 c432aae 4898067 c432aae 4898067 c432aae 4898067 c432aae 4898067 c432aae | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | ---
title: NeuroHealth GGUF Space
emoji: 🤖
colorFrom: gray
colorTo: green
sdk: docker
sdk_version: "1.0"
python_version: "3.11"
app_file: app.py
pinned: false
---
# NeuroHealth GGUF Space
This space exposes the `qwen2-1_5b-instruct-q4_0.gguf` model in `backend/saved_models` for text generation.
## Endpoints
- `GET /health` — GGUF file availability
- `POST /generate` — text generation
## Request body example
```json
{
"prompt": "Explain the role of dopamine in Parkinson's disease.",
"max_tokens": 256,
"temperature": 0.8,
"top_p": 0.95
}
```
## Run locally with Docker
```bash
docker build -t neurohealth-gguf .
docker run --rm -p 7860:7860 neurohealth-gguf
```
|