This commit is contained in:
josc146 2023-09-16 12:23:16 +08:00
parent a25965530c
commit f89e89c1c9
3 changed files with 4 additions and 3 deletions

View File

@ -250,5 +250,5 @@
"VRAM": "VRAM",
"GPU Usage": "GPU使用率",
"Use Custom Tokenizer": "カスタムトークナイザーを使用する",
"Tokenizer Path": "トークナイザーパス"
"Tokenizer Path (e.g. backend-python/rwkv_pip/20B_tokenizer.json)": "トークナイザーパス (例: backend-python/rwkv_pip/20B_tokenizer.json)"
}

View File

@ -250,5 +250,5 @@
"VRAM": "显存",
"GPU Usage": "GPU占用",
"Use Custom Tokenizer": "使用自定义Tokenizer",
"Tokenizer Path": "Tokenizer路径"
"Tokenizer Path (e.g. backend-python/rwkv_pip/20B_tokenizer.json)": "Tokenizer路径 (例如: backend-python/rwkv_pip/20B_tokenizer.json)"
}

View File

@ -453,7 +453,8 @@ export const Configs: FC = observer(() => {
useCustomTokenizer: data.checked as boolean
});
}} />
<Input className="grow" placeholder={t('Tokenizer Path')!}
<Input className="grow"
placeholder={t('Tokenizer Path (e.g. backend-python/rwkv_pip/20B_tokenizer.json)')!}
value={selectedConfig.modelParameters.customTokenizer}
onChange={(e, data) => {
setSelectedConfigModelParams({