aguitauwu commited on
Commit ·
5500263
1
Parent(s): 849ec65
cuayo
Browse files
readme.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Yuuki Local
|
| 3 |
+
emoji: 🤖
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: black
|
| 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 |
+
|