custom tokenizer (#77)

This commit is contained in:
josc146
2023-09-16 00:34:11 +08:00
parent 971124d0d7
commit a25965530c
6 changed files with 77 additions and 6 deletions

View File

@@ -186,6 +186,7 @@ export const RunButton: FC<{ onClickRun?: MouseEventHandler, iconMode?: boolean
switchModel({
model: modelPath,
strategy: strategy,
tokenizer: modelConfig.modelParameters.useCustomTokenizer ? modelConfig.modelParameters.customTokenizer : undefined,
customCuda: customCudaFile !== ''
}).then(async (r) => {
if (r.ok) {