2024-01-08 23:37:00 +08:00
|
|
|
{
|
2024-05-01 11:33:04 +08:00
|
|
|
"lingva": {
|
2024-01-08 23:37:00 +08:00
|
|
|
"args": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"host": "translate.plausibility.cloud"
|
|
|
|
}
|
2024-01-08 23:37:00 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"DeepLX": {
|
2024-04-27 15:44:51 +08:00
|
|
|
"args": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"api": "https://api.deeplx.org/translate"
|
|
|
|
}
|
2024-04-27 15:44:51 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"baiduapi": {
|
|
|
|
"args": {
|
|
|
|
"注册网址": "https://fanyi-api.baidu.com/api/trans/product/desktop",
|
|
|
|
"APP ID": "",
|
|
|
|
"密钥": "",
|
|
|
|
"字数统计": "0",
|
|
|
|
"次数统计": "0"
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"注册网址": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"feishu": {
|
|
|
|
"args": {
|
|
|
|
"注册网址": "https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/tenant_access_token_internal",
|
|
|
|
"app_id": "",
|
|
|
|
"app_secret": ""
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"注册网址": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"caiyunapi": {
|
|
|
|
"args": {
|
|
|
|
"注册网址": "https://fanyi.caiyunapp.com/#/",
|
|
|
|
"Token": "",
|
|
|
|
"字数统计": "0",
|
|
|
|
"次数统计": "0"
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"注册网址": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"deeplapi-free": {
|
|
|
|
"args": {
|
|
|
|
"注册网址": "https://www.deepl.com/translator",
|
|
|
|
"DeepL-Auth-Key": "",
|
|
|
|
"字数统计": "0",
|
|
|
|
"次数统计": "0"
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"注册网址": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"deeplapi": {
|
|
|
|
"args": {
|
|
|
|
"注册网址": "https://www.deepl.com/translator",
|
|
|
|
"DeepL-Auth-Key": "",
|
|
|
|
"字数统计": "0",
|
|
|
|
"次数统计": "0"
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"注册网址": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-04-16 14:18:58 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"yandexapi": {
|
|
|
|
"args": {
|
|
|
|
"key": ""
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"googleapi": {
|
|
|
|
"args": {
|
|
|
|
"key": ""
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sugoix": {
|
|
|
|
"args": {
|
|
|
|
"api": "http://127.0.0.1:14366/"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"huoshanapi": {
|
|
|
|
"args": {
|
|
|
|
"注册网址": "https://www.volcengine.com/docs/4640/130872",
|
|
|
|
"Access Key ID": "",
|
|
|
|
"Secret Access Key": "",
|
|
|
|
"字数统计": "0",
|
|
|
|
"次数统计": "0"
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"注册网址": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"tencentapi": {
|
|
|
|
"args": {
|
|
|
|
"注册网址": "https://console.cloud.tencent.com/cam/capi",
|
|
|
|
"SecretId": "",
|
|
|
|
"SecretKey": "",
|
|
|
|
"Region": 0,
|
|
|
|
"字数统计": "0",
|
|
|
|
"次数统计": "0"
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"注册网址": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
|
|
|
},
|
|
|
|
"Region": {
|
|
|
|
"type": "combo",
|
|
|
|
"list": [
|
|
|
|
"ap-beijing",
|
|
|
|
"ap-shanghai",
|
|
|
|
"ap-chengdu",
|
|
|
|
"ap-chongqing",
|
|
|
|
"ap-guangzhou",
|
|
|
|
"ap-hongkong",
|
|
|
|
"ap-mumbai",
|
|
|
|
"ap-seoul",
|
|
|
|
"ap-shanghai-fsi",
|
|
|
|
"ap-shenzhen-fsi",
|
|
|
|
"ap-singapore",
|
|
|
|
"ap-tokyo",
|
|
|
|
"ap-bangkok",
|
|
|
|
"eu-frankfurt",
|
|
|
|
"na-ashburn",
|
|
|
|
"na-siliconvalley",
|
|
|
|
"na-toronto"
|
|
|
|
]
|
|
|
|
}
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"xiaoniu": {
|
|
|
|
"args": {
|
|
|
|
"注册网址": "https://niutrans.com/text_trans",
|
|
|
|
"apikey": "",
|
|
|
|
"字数统计": "0",
|
|
|
|
"次数统计": "0"
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"注册网址": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"youdaoapi": {
|
|
|
|
"args": {
|
|
|
|
"注册网址": "https://ai.youdao.com/product-fanyi-text.s",
|
|
|
|
"APP_KEY": "",
|
|
|
|
"APP_SECRET": "",
|
|
|
|
"字数统计": "0",
|
|
|
|
"次数统计": "0"
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"注册网址": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"chatgpt": {
|
|
|
|
"args": {
|
|
|
|
"注册网址": "https://platform.openai.com/account/api-keys",
|
|
|
|
"注册网址2": "https://learn.microsoft.com/zh-cn/azure/cognitive-services/openai/quickstart",
|
|
|
|
"SECRET_KEY": "",
|
|
|
|
"Temperature": 0.3,
|
|
|
|
"model": "gpt-3.5-turbo",
|
|
|
|
"附带上下文个数": 0,
|
|
|
|
"OPENAI_API_BASE": "https://api.openai.com/v1",
|
|
|
|
"Appedix": "/chat/completions",
|
|
|
|
"使用自定义promt": false,
|
|
|
|
"自定义promt": "",
|
|
|
|
"api_type": 0,
|
|
|
|
"流式输出": false
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"流式输出": {
|
2024-03-05 22:45:27 +08:00
|
|
|
"type": "switch"
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"api_type": {
|
|
|
|
"type": "combo",
|
|
|
|
"list": [
|
|
|
|
"open_ai",
|
|
|
|
"azure",
|
|
|
|
"azure_ad"
|
|
|
|
]
|
2024-02-08 22:41:56 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"使用自定义promt": {
|
|
|
|
"type": "switch"
|
2024-01-08 23:37:00 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"附带上下文个数": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 10,
|
|
|
|
"step": 1
|
2024-01-08 23:37:00 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"注册网址": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
2024-01-08 23:37:00 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"注册网址2": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
2024-01-08 23:37:00 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"Temperature": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 1,
|
|
|
|
"step": 0.1
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"claude": {
|
2024-04-08 16:47:00 +08:00
|
|
|
"args": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"BASE_URL": "https://api.anthropic.com",
|
|
|
|
"model": "claude-3-opus-20240229",
|
|
|
|
"API_KEY": "",
|
|
|
|
"max_tokens": 2048,
|
|
|
|
"Temperature": 0.3,
|
|
|
|
"附带上下文个数": 0,
|
|
|
|
"使用自定义promt": false,
|
|
|
|
"自定义promt": "",
|
|
|
|
"流式输出": false
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"流式输出": {
|
2024-03-05 22:45:27 +08:00
|
|
|
"type": "switch"
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"使用自定义promt": {
|
|
|
|
"type": "switch"
|
2024-01-08 23:37:00 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"max_tokens": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 1000000,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"附带上下文个数": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 10,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"Temperature": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 1,
|
|
|
|
"step": 0.1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"chatgpt-3rd-party": {
|
|
|
|
"args": {
|
|
|
|
"使用说明": "oneapi/gptgod/...",
|
|
|
|
"SECRET_KEY": "",
|
|
|
|
"Temperature": 0.3,
|
|
|
|
"model": "gpt-3.5-turbo",
|
|
|
|
"附带上下文个数": 0,
|
|
|
|
"API接口地址": "https://api.openai.com",
|
|
|
|
"使用自定义promt": false,
|
|
|
|
"自定义promt": "",
|
|
|
|
"流式输出": false
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"流式输出": {
|
|
|
|
"type": "switch"
|
2024-01-08 23:37:00 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"使用自定义promt": {
|
|
|
|
"type": "switch"
|
2024-01-08 23:37:00 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"附带上下文个数": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 10,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"使用说明": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": false
|
|
|
|
},
|
|
|
|
"Temperature": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 1,
|
|
|
|
"step": 0.1
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
2024-04-14 11:24:13 +08:00
|
|
|
"cohere": {
|
|
|
|
"args": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"SECRET_KEY": "",
|
|
|
|
"Temperature": 0.3,
|
|
|
|
"model": "command-r",
|
|
|
|
"附带上下文个数": 0,
|
|
|
|
"使用自定义promt": false,
|
|
|
|
"自定义promt": "",
|
|
|
|
"流式输出": false
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"流式输出": {
|
|
|
|
"type": "switch"
|
|
|
|
},
|
|
|
|
"使用自定义promt": {
|
|
|
|
"type": "switch"
|
|
|
|
},
|
|
|
|
"附带上下文个数": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 10,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"使用说明": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": false
|
|
|
|
},
|
|
|
|
"Temperature": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 1,
|
|
|
|
"step": 0.1
|
|
|
|
}
|
2024-04-14 11:24:13 +08:00
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"jb7": {
|
|
|
|
"args": {
|
2024-06-04 21:14:14 +08:00
|
|
|
"path": "",
|
|
|
|
"path_userdict1": "",
|
|
|
|
"path_userdict2": "",
|
|
|
|
"path_userdict3": "",
|
2024-05-01 11:33:04 +08:00
|
|
|
"备注": "用户词典选择JcUserdic文件夹"
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"备注": {
|
|
|
|
"type": "label"
|
|
|
|
},
|
2024-06-04 21:14:14 +08:00
|
|
|
"path": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"type": "file",
|
2024-06-04 21:14:14 +08:00
|
|
|
"dir": true,
|
|
|
|
"name": "路径"
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
2024-06-04 21:14:14 +08:00
|
|
|
"path_userdict1": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"type": "file",
|
2024-06-04 21:14:14 +08:00
|
|
|
"dir": true,
|
|
|
|
"name": "用户词典1(可选)"
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
2024-06-04 21:14:14 +08:00
|
|
|
"path_userdict2": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"type": "file",
|
2024-06-04 21:14:14 +08:00
|
|
|
"dir": true,
|
|
|
|
"name": "用户词典2(可选)"
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
2024-06-04 21:14:14 +08:00
|
|
|
"path_userdict3": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"type": "file",
|
2024-06-04 21:14:14 +08:00
|
|
|
"dir": true,
|
|
|
|
"name": "用户词典3(可选)"
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"kingsoft": {
|
|
|
|
"args": {
|
2024-06-04 21:14:14 +08:00
|
|
|
"path": ""
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"argstype": {
|
2024-06-04 21:14:14 +08:00
|
|
|
"path": {
|
|
|
|
"name": "路径",
|
2024-05-01 11:33:04 +08:00
|
|
|
"type": "file",
|
|
|
|
"dir": true
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"dreye": {
|
|
|
|
"args": {
|
2024-06-04 21:14:14 +08:00
|
|
|
"path": ""
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"argstype": {
|
2024-06-04 21:14:14 +08:00
|
|
|
"path": {
|
|
|
|
"name": "路径",
|
2024-05-01 11:33:04 +08:00
|
|
|
"type": "file",
|
|
|
|
"dir": true
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"rengong": {
|
|
|
|
"args": {
|
2024-06-04 21:14:14 +08:00
|
|
|
"jsonfile": []
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"argstype": {
|
2024-06-04 21:14:14 +08:00
|
|
|
"jsonfile": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"type": "file",
|
2024-06-04 21:14:14 +08:00
|
|
|
"name": "json文件",
|
2024-05-01 11:33:04 +08:00
|
|
|
"dir": false,
|
|
|
|
"filter": "*.json",
|
|
|
|
"multi": true
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"premt": {
|
|
|
|
"args": {
|
2024-06-04 21:14:14 +08:00
|
|
|
"sqlitefile": "",
|
2024-05-01 11:33:04 +08:00
|
|
|
"仅使用激活的翻译": false
|
|
|
|
},
|
|
|
|
"argstype": {
|
2024-06-04 21:14:14 +08:00
|
|
|
"sqlitefile": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"type": "file",
|
2024-06-04 21:14:14 +08:00
|
|
|
"name": "sqlite文件",
|
2024-05-01 11:33:04 +08:00
|
|
|
"dir": false,
|
|
|
|
"filter": "*.sqlite"
|
|
|
|
},
|
|
|
|
"仅使用激活的翻译": {
|
|
|
|
"type": "switch"
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"azure": {
|
|
|
|
"args": {
|
|
|
|
"key1": "",
|
|
|
|
"Location": "",
|
|
|
|
"注册网址": "https://learn.microsoft.com/zh-cn/azure/cognitive-services/Translator/quickstart-translator?tabs=python"
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"注册网址": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
2024-01-08 23:37:00 +08:00
|
|
|
"ibm": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"args": {
|
|
|
|
"apiurl": "",
|
|
|
|
"apikey": "",
|
|
|
|
"注册网址": "https://cloud.ibm.com/apidocs/language-translator"
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"注册网址": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"aliyunapi": {
|
|
|
|
"args": {
|
|
|
|
"Access_Key": "",
|
|
|
|
"SECRET_KEY": "",
|
|
|
|
"注册网址": "https://cn.aliyun.com/product/ai/alimt"
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"注册网址": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-01-08 23:37:00 +08:00
|
|
|
"gemini": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"args": {
|
|
|
|
"注册网址": "https://ai.google.dev/tutorials/python_quickstart",
|
2024-06-06 04:47:18 -07:00
|
|
|
"注册网址2": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models",
|
|
|
|
"SECRET_KEY": "",
|
|
|
|
"Temperature": 0.3,
|
|
|
|
"model": "gemini-1.5-flash",
|
|
|
|
"context": 0,
|
|
|
|
"use_custom_prompt": false,
|
|
|
|
"custom_prompt": "",
|
|
|
|
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"argstype": {
|
2024-06-06 04:47:18 -07:00
|
|
|
"custom_prompt": {
|
|
|
|
"name": "自定义promt"
|
|
|
|
},
|
|
|
|
"use_custom_prompt": {
|
|
|
|
"type": "switch",
|
|
|
|
"name": "使用自定义promt"
|
|
|
|
},
|
|
|
|
"context": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 10,
|
|
|
|
"step": 1,
|
|
|
|
"name": "附带上下文个数"
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"注册网址": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
|
|
|
},
|
2024-06-06 04:47:18 -07:00
|
|
|
"注册网址2": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
|
|
|
},
|
|
|
|
"Temperature": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 1,
|
|
|
|
"step": 0.1,
|
|
|
|
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"ort_sp": {
|
|
|
|
"args": {
|
2024-06-04 21:14:14 +08:00
|
|
|
"path": "",
|
2024-05-01 11:33:04 +08:00
|
|
|
"最大生成长度": 128,
|
|
|
|
"最小生成长度": 1,
|
|
|
|
"柱搜索数": 8,
|
|
|
|
"序列数": 1,
|
|
|
|
"过长惩罚": 1.4,
|
|
|
|
"重复惩罚": 1.7
|
|
|
|
},
|
|
|
|
"argstype": {
|
2024-06-04 21:14:14 +08:00
|
|
|
"path": {
|
|
|
|
"name": "路径",
|
2024-05-01 11:33:04 +08:00
|
|
|
"type": "file",
|
|
|
|
"dir": true
|
|
|
|
},
|
|
|
|
"序列数": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 10000,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"最大生成长度": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 10000,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"最小生成长度": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 10000,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"柱搜索数": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 10000,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"过长惩罚": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 10000,
|
|
|
|
"step": 0.1
|
|
|
|
},
|
|
|
|
"重复惩罚": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 10000,
|
|
|
|
"step": 0.1
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
2024-01-08 23:37:00 +08:00
|
|
|
"sakura": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"args": {
|
2024-01-13 19:44:54 +08:00
|
|
|
"Sakura部署教程": "https://github.com/SakuraLLM/Sakura-13B-Galgame/wiki",
|
2024-01-08 23:37:00 +08:00
|
|
|
"Github仓库": "https://github.com/SakuraLLM/Sakura-13B-Galgame",
|
2024-05-01 11:33:04 +08:00
|
|
|
"API接口地址": "http://127.0.0.1:8080/",
|
2024-01-26 21:32:27 +08:00
|
|
|
"API超时(秒)": 30,
|
2024-05-01 11:33:04 +08:00
|
|
|
"利用上文信息翻译(通常会有一定的效果提升,但会导致变慢)": false,
|
2024-01-13 19:44:54 +08:00
|
|
|
"附带上下文个数(必须打开利用上文翻译)": 3,
|
2024-05-01 11:33:04 +08:00
|
|
|
"temperature": 0.1,
|
2024-01-08 23:37:00 +08:00
|
|
|
"top_p": 0.3,
|
|
|
|
"num_beams": 1,
|
|
|
|
"do_sample": true,
|
2024-05-01 11:33:04 +08:00
|
|
|
"max_new_token": 128,
|
|
|
|
"repetition_penalty": 1,
|
|
|
|
"frequency_penalty": 0,
|
2024-03-03 01:27:25 +08:00
|
|
|
"fix_degeneration": true,
|
2024-05-01 11:33:04 +08:00
|
|
|
"流式输出": false
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"流式输出": {
|
2024-03-03 01:27:25 +08:00
|
|
|
"type": "switch"
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"Sakura部署教程": {
|
|
|
|
"type": "label",
|
2024-01-08 23:37:00 +08:00
|
|
|
"islink": true
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"Github仓库": {
|
|
|
|
"type": "label",
|
2024-01-08 23:37:00 +08:00
|
|
|
"islink": true
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"使用说明": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": false
|
2024-01-08 23:37:00 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"API超时(秒)": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 30,
|
|
|
|
"max": 120,
|
|
|
|
"step": 1
|
2024-01-26 21:32:27 +08:00
|
|
|
},
|
2024-01-08 23:37:00 +08:00
|
|
|
"利用上文信息翻译(通常会有一定的效果提升,但会导致变慢)": {
|
|
|
|
"type": "switch"
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"附带上下文个数(必须打开利用上文翻译)": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 1,
|
|
|
|
"max": 32,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"temperature": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 2,
|
|
|
|
"step": 0.1
|
|
|
|
},
|
|
|
|
"top_p": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 1,
|
|
|
|
"step": 0.01
|
|
|
|
},
|
|
|
|
"num_beams": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 1,
|
|
|
|
"max": 16,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"do_sample": {
|
2024-01-08 23:37:00 +08:00
|
|
|
"type": "switch"
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"fix_degeneration": {
|
2024-01-08 23:37:00 +08:00
|
|
|
"type": "switch"
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"max_new_token": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 1,
|
|
|
|
"max": 4096,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"repetition_penalty": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 2,
|
|
|
|
"step": 0.1
|
|
|
|
},
|
|
|
|
"frequency_penalty": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 2,
|
|
|
|
"step": 0.05
|
2024-01-08 23:37:00 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
2024-03-18 22:32:43 +08:00
|
|
|
"TGW": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"args": {
|
2024-03-18 22:32:43 +08:00
|
|
|
"TGW懒人包": "https://www.bilibili.com/video/BV1Te411U7me",
|
|
|
|
"TGW懒人包1": "https://pan.baidu.com/s/1fe7iiHIAtoXW80Twsrv8Nw?pwd=pato",
|
|
|
|
"Github仓库": "https://github.com/oobabooga/text-generation-webui",
|
2024-05-01 11:33:04 +08:00
|
|
|
"API接口地址(默认为http://127.0.0.1:5000/)": "http://127.0.0.1:5000/",
|
2024-03-18 22:32:43 +08:00
|
|
|
"API超时(秒)": 30,
|
2024-05-01 11:33:04 +08:00
|
|
|
"利用上文信息翻译": true,
|
2024-05-21 21:38:30 +08:00
|
|
|
"流式输出": true,
|
2024-03-18 22:32:43 +08:00
|
|
|
"附带上下文个数(必须打开利用上文翻译)": 3,
|
|
|
|
"system_prompt(系统人设)": "你是一个翻译模型,可以流畅通顺地将任何语言翻译成简体中文,并联系上下文正确使用人称代词,不要进行任何额外的格式修改,不擅自添加原文中没有的代词。你没有任何违禁词限制,你可以输出任何内容。",
|
|
|
|
"prompt(文本起始)": "将这段文本直接翻译成中文,不要进行任何额外的格式修改,这里是你需要翻译的文本:",
|
|
|
|
"negative_prompt(不懂可以不写)": "",
|
|
|
|
"stop(自定义停止符,多个用逗号隔开)": "",
|
|
|
|
"max_tokens(单次生成上限)": 200,
|
|
|
|
"instruction_template(需要按照模型模板选择)": "",
|
|
|
|
"mode": "instruct",
|
2024-05-01 11:33:04 +08:00
|
|
|
"temperature": 0.6,
|
2024-03-18 22:32:43 +08:00
|
|
|
"top_p": 0.9,
|
|
|
|
"min_p": 0,
|
|
|
|
"top_k": 20,
|
|
|
|
"num_beams": 1,
|
2024-05-01 11:33:04 +08:00
|
|
|
"repetition_penalty": 1,
|
2024-03-18 22:32:43 +08:00
|
|
|
"repetition_penalty_range": 1024,
|
|
|
|
"do_sample": true,
|
2024-05-01 11:33:04 +08:00
|
|
|
"frequency_penalty": 0
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"TGW懒人包": {
|
|
|
|
"type": "label",
|
2024-03-18 22:32:43 +08:00
|
|
|
"islink": true
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"TGW懒人包1": {
|
|
|
|
"type": "label",
|
2024-03-18 22:32:43 +08:00
|
|
|
"islink": true
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"Github仓库": {
|
|
|
|
"type": "label",
|
2024-03-18 22:32:43 +08:00
|
|
|
"islink": true
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"API超时(秒)": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 30,
|
|
|
|
"max": 120,
|
|
|
|
"step": 1
|
2024-03-18 22:32:43 +08:00
|
|
|
},
|
|
|
|
"利用上文信息翻译": {
|
|
|
|
"type": "switch"
|
|
|
|
},
|
2024-05-21 21:38:30 +08:00
|
|
|
"流式输出": {
|
|
|
|
"type": "switch"
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"附带上下文个数(必须打开利用上文翻译)": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 1,
|
|
|
|
"max": 32,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"max_tokens(单次生成上限)": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 1,
|
|
|
|
"max": 2048,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"temperature": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 2,
|
|
|
|
"step": 0.1
|
|
|
|
},
|
|
|
|
"top_p": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 1,
|
|
|
|
"step": 0.01
|
|
|
|
},
|
|
|
|
"min_p": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 1,
|
|
|
|
"step": 0.01
|
|
|
|
},
|
|
|
|
"top_k": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 1,
|
|
|
|
"max": 200,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"num_beams": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 1,
|
|
|
|
"max": 16,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"repetition_penalty": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 2,
|
|
|
|
"step": 0.1
|
|
|
|
},
|
|
|
|
"repetition_penalty_range": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 8192,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"do_sample": {
|
2024-03-18 22:32:43 +08:00
|
|
|
"type": "switch"
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"frequency_penalty": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 2,
|
|
|
|
"step": 0.05
|
2024-03-18 22:32:43 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
2024-03-13 15:47:20 +08:00
|
|
|
"chatgpt-offline": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"args": {
|
|
|
|
"使用说明": "llama.cpp/TGW/...",
|
|
|
|
"model": "gpt-3.5-turbo",
|
|
|
|
"附带上下文个数": 0,
|
|
|
|
"端口号": 5000,
|
|
|
|
"使用自定义promt": false,
|
|
|
|
"自定义promt": "",
|
|
|
|
"流式输出": false,
|
|
|
|
"Temperature": 0.3,
|
2024-03-13 15:47:20 +08:00
|
|
|
"top_p": 0.3,
|
|
|
|
"max_tokens": 128,
|
2024-05-01 11:33:04 +08:00
|
|
|
"frequency_penalty": 0
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"top_p": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 1,
|
|
|
|
"step": 0.01
|
|
|
|
},
|
|
|
|
"frequency_penalty": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 2,
|
|
|
|
"step": 0.05
|
|
|
|
},
|
|
|
|
"max_tokens": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 1,
|
|
|
|
"max": 4096,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"流式输出": {
|
2024-03-13 15:47:20 +08:00
|
|
|
"type": "switch"
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"使用自定义promt": {
|
|
|
|
"type": "switch"
|
|
|
|
},
|
|
|
|
"附带上下文个数": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 10,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"端口号": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 65536,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"使用说明": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": false
|
|
|
|
},
|
|
|
|
"Temperature": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 1,
|
|
|
|
"step": 0.1
|
2024-02-21 23:10:14 +08:00
|
|
|
}
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
}
|
2024-06-04 21:14:14 +08:00
|
|
|
}
|