add tokenizer(/switch-model) to /docs

This commit is contained in:
josc146 2023-11-20 20:11:45 +08:00
parent 437de2be20
commit dbf0dccc9d

View File

@ -25,7 +25,7 @@ class SwitchModelBody(BaseModel):
"example": { "example": {
"model": "models/RWKV-4-World-3B-v1-20230619-ctx4096.pth", "model": "models/RWKV-4-World-3B-v1-20230619-ctx4096.pth",
"strategy": "cuda fp16", "strategy": "cuda fp16",
"tokenizer": None, "tokenizer": "",
"customCuda": False, "customCuda": False,
"deploy": False, "deploy": False,
} }