Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
添加文件版本(0.2.3)
添加配置(仅在
OpenAI
模式下生效)UseDict
默认为空字符串DictMode
默认为Full
Dict
默认为空字符串其中
UseDict
为false时是老的OpenAI PromptDictMode
为Full
时传递整个字典,为Partial
或其他时,传递当前翻译句子包含的字典部分Dict
为json编码的字符串,格式同MTool,为{"k1":"v1","k2":"v2"}
,暂未发现SakuraLLM官方示例中给的字典注释有什么作用llama.cpp-b2355,sakura-13b-qwen2beta-v0.10pre0-Q6_K.gguf,Windows和Linux下测试
理论上高版本llama.cpp和Kaggle都能用,不过我未测试Kaggle
配置: