Add selectable tokenizer supports on Ooba

This commit is contained in:
justpain02
2024-01-05 23:57:59 +09:00
parent 809d8706cf
commit ff4c67b993
3 changed files with 15 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ export interface OobaChatCompletionRequestParams {
greeting?: string
chat_instruct_command?: string
preset?: string; // The '?' denotes that the property is optional
tokenizer?: string;
min_p?: number;
top_k?: number;
repetition_penalty?: number;