Spaces:
Running
Running
|
Download README.md from Mikecode123/NeuroHealth: direct link, hf CLI and curl.
- Browser
- Download file 727 Bytes
-
https://huggingface.co/spaces/Mikecode123/NeuroHealth/resolve/main/README.md
- Command line
-
hf download hf://spaces/Mikecode123/NeuroHealth/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Mikecode123/NeuroHealth/resolve/main/README.md
727 Bytes
| 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 | |
| ``` | |