From dbf0dccc9dc627dc59445d884f84ddfccd29e4bb Mon Sep 17 00:00:00 2001 From: josc146 Date: Mon, 20 Nov 2023 20:11:45 +0800 Subject: [PATCH] add tokenizer(/switch-model) to /docs --- backend-python/routes/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend-python/routes/config.py b/backend-python/routes/config.py index ba489b8..6862723 100644 --- a/backend-python/routes/config.py +++ b/backend-python/routes/config.py @@ -25,7 +25,7 @@ class SwitchModelBody(BaseModel): "example": { "model": "models/RWKV-4-World-3B-v1-20230619-ctx4096.pth", "strategy": "cuda fp16", - "tokenizer": None, + "tokenizer": "", "customCuda": False, "deploy": False, }