aguitauwu commited on
Commit ·
f419ee9
1
Parent(s): c8f25d8
Fix YAML colors
Browse files
README.md
CHANGED
|
@@ -2,29 +2,7 @@
|
|
| 2 |
title: Yuuki Local
|
| 3 |
emoji: 🤖
|
| 4 |
colorFrom: purple
|
| 5 |
-
colorTo:
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
-
|
| 10 |
-
# Yuuki Local Inference
|
| 11 |
-
|
| 12 |
-
Local inference API for [Yuuki](https://huggingface.co/YuuKi-OS/Yuuki-best) language models.
|
| 13 |
-
|
| 14 |
-
## Endpoints
|
| 15 |
-
|
| 16 |
-
- `GET /health` — Health check
|
| 17 |
-
- `POST /generate` — Generate text
|
| 18 |
-
|
| 19 |
-
## Usage
|
| 20 |
-
|
| 21 |
-
```bash
|
| 22 |
-
curl -X POST https://opceanai-yuuki-local.hf.space/generate \
|
| 23 |
-
-H "Content-Type: application/json" \
|
| 24 |
-
-d '{
|
| 25 |
-
"prompt": "def hello():",
|
| 26 |
-
"max_new_tokens": 100,
|
| 27 |
-
"temperature": 0.7
|
| 28 |
-
}'
|
| 29 |
-
```
|
| 30 |
-
|
|
|
|
| 2 |
title: Yuuki Local
|
| 3 |
emoji: 🤖
|
| 4 |
colorFrom: purple
|
| 5 |
+
colorTo: gray
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|