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-07-18 14:41:36 +08:00
|
|
|
"github": "https://github.com/OwO-Network/DeepLX",
|
|
|
|
"api": "http://127.0.0.1:1188/translate"
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"github": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
}
|
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": {
|
2024-07-10 22:29:25 +08:00
|
|
|
"api": "http://127.0.0.1:14366/",
|
|
|
|
"V8": "{main_server}/Resource/translate/Sugoi_Translator_V8.7z"
|
2024-06-17 01:33:43 +08:00
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"V8": {
|
|
|
|
"type": "label",
|
|
|
|
"islink": true
|
|
|
|
}
|
2024-05-01 11:33:04 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": {
|
|
|
|
"SECRET_KEY": "",
|
|
|
|
"Temperature": 0.3,
|
2024-06-06 21:43:28 +08:00
|
|
|
"top_p": 0.3,
|
|
|
|
"max_tokens": 128,
|
|
|
|
"frequency_penalty": 0,
|
2024-05-01 11:33:04 +08:00
|
|
|
"model": "gpt-3.5-turbo",
|
|
|
|
"附带上下文个数": 0,
|
|
|
|
"OPENAI_API_BASE": "https://api.openai.com/v1",
|
|
|
|
"Appedix": "/chat/completions",
|
|
|
|
"使用自定义promt": false,
|
|
|
|
"自定义promt": "",
|
|
|
|
"api_type": 0,
|
2024-07-20 23:23:26 +08:00
|
|
|
"流式输出": false,
|
|
|
|
"s": ""
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"argstype": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"s": {
|
|
|
|
"type": "split",
|
|
|
|
"rank": 2.5
|
|
|
|
},
|
|
|
|
"OPENAI_API_BASE": {
|
|
|
|
"rank": 0
|
|
|
|
},
|
|
|
|
"Appedix": {
|
|
|
|
"rank": 1
|
|
|
|
},
|
|
|
|
"model": {
|
|
|
|
"rank": 2
|
|
|
|
},
|
2024-06-06 21:43:28 +08:00
|
|
|
"top_p": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 1,
|
|
|
|
"step": 0.01
|
|
|
|
},
|
|
|
|
"frequency_penalty": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 2,
|
|
|
|
"step": 0.05
|
|
|
|
},
|
2024-07-20 23:23:26 +08:00
|
|
|
"自定义promt": {
|
|
|
|
"type": "multiline",
|
|
|
|
"refswitch": "使用自定义promt"
|
|
|
|
},
|
2024-06-06 21:43:28 +08:00
|
|
|
"max_tokens": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 1,
|
|
|
|
"max": 4096,
|
|
|
|
"step": 1
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"流式输出": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"type": "switch",
|
|
|
|
"rank": 3
|
2024-03-05 22:45:27 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"api_type": {
|
|
|
|
"type": "combo",
|
2024-07-20 23:23:26 +08:00
|
|
|
"rank": 1.5,
|
2024-05-01 11:33:04 +08:00
|
|
|
"list": [
|
|
|
|
"open_ai",
|
|
|
|
"azure",
|
|
|
|
"azure_ad"
|
|
|
|
]
|
2024-02-08 22:41:56 +08:00
|
|
|
},
|
2024-07-20 23:23:26 +08:00
|
|
|
"SECRET_KEY": {
|
|
|
|
"rank": 1.6
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"使用自定义promt": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"type": "switch_ref"
|
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
|
|
|
"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-07-19 20:02:36 +08:00
|
|
|
"txhunyuan": {
|
|
|
|
"args": {
|
|
|
|
"secret_id": "",
|
|
|
|
"secret_key": "",
|
|
|
|
"Temperature": 0.3,
|
|
|
|
"top_p": 0.3,
|
|
|
|
"model": "hunyuan-lite",
|
|
|
|
"context_num": 0,
|
|
|
|
"use_user_prompt": false,
|
|
|
|
"user_prompt": "",
|
2024-07-20 23:23:26 +08:00
|
|
|
"usingstream": false,
|
|
|
|
"s": ""
|
2024-07-19 20:02:36 +08:00
|
|
|
},
|
|
|
|
"argstype": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"s": {
|
|
|
|
"type": "split",
|
|
|
|
"rank": 2.5
|
|
|
|
},
|
|
|
|
"secret_id": {
|
|
|
|
"rank": 0
|
|
|
|
},
|
|
|
|
"secret_key": {
|
|
|
|
"rank": 1
|
|
|
|
},
|
|
|
|
"model": {
|
|
|
|
"rank": 2
|
|
|
|
},
|
2024-07-19 20:02:36 +08:00
|
|
|
"top_p": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 1,
|
|
|
|
"step": 0.01
|
|
|
|
},
|
|
|
|
"usingstream": {
|
|
|
|
"name": "流式输出",
|
2024-07-20 23:23:26 +08:00
|
|
|
"type": "switch",
|
|
|
|
"rank": 3
|
2024-07-19 20:02:36 +08:00
|
|
|
},
|
|
|
|
"user_prompt": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"name": "自定义promt",
|
|
|
|
"type": "multiline",
|
|
|
|
"refswitch": "use_user_prompt"
|
2024-07-19 20:02:36 +08:00
|
|
|
},
|
|
|
|
"use_user_prompt": {
|
|
|
|
"name": "使用自定义promt",
|
2024-07-20 23:23:26 +08:00
|
|
|
"type": "switch_ref"
|
2024-07-19 20:02:36 +08:00
|
|
|
},
|
|
|
|
"context_num": {
|
|
|
|
"name": "附带上下文个数",
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 10,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"Temperature": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 1,
|
|
|
|
"step": 0.1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
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": "",
|
2024-07-20 23:23:26 +08:00
|
|
|
"流式输出": false,
|
|
|
|
"s": ""
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"argstype": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"s": {
|
|
|
|
"type": "split",
|
|
|
|
"rank": 2.5
|
|
|
|
},
|
|
|
|
"BASE_URL": {
|
|
|
|
"rank": 0
|
|
|
|
},
|
|
|
|
"model": {
|
|
|
|
"rank": 1
|
|
|
|
},
|
|
|
|
"API_KEY": {
|
|
|
|
"rank": 2
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"流式输出": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"type": "switch",
|
|
|
|
"rank": 3
|
|
|
|
},
|
|
|
|
"自定义promt": {
|
|
|
|
"type": "multiline",
|
|
|
|
"refswitch": "使用自定义promt"
|
2024-03-05 22:45:27 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"使用自定义promt": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"type": "switch_ref"
|
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": {
|
|
|
|
"model": "gpt-3.5-turbo",
|
|
|
|
"附带上下文个数": 0,
|
2024-06-08 15:04:15 +08:00
|
|
|
"API接口地址": "https://api.openai.com",
|
2024-06-06 21:43:28 +08:00
|
|
|
"SECRET_KEY": "",
|
2024-05-01 11:33:04 +08:00
|
|
|
"使用自定义promt": false,
|
|
|
|
"自定义promt": "",
|
2024-06-06 21:43:28 +08:00
|
|
|
"流式输出": false,
|
|
|
|
"Temperature": 0.3,
|
|
|
|
"top_p": 0.3,
|
|
|
|
"max_tokens": 128,
|
2024-07-20 23:23:26 +08:00
|
|
|
"frequency_penalty": 0,
|
|
|
|
"s": ""
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"argstype": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"s": {
|
|
|
|
"type": "split",
|
|
|
|
"rank": 2.5
|
|
|
|
},
|
|
|
|
"API接口地址": {
|
|
|
|
"rank": 0
|
|
|
|
},
|
|
|
|
"SECRET_KEY": {
|
|
|
|
"rank": 1
|
|
|
|
},
|
|
|
|
"model": {
|
|
|
|
"rank": 2
|
|
|
|
},
|
2024-06-06 21:43:28 +08:00
|
|
|
"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-05-01 11:33:04 +08:00
|
|
|
"流式输出": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"type": "switch",
|
|
|
|
"rank": 3
|
2024-01-08 23:37:00 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"使用自定义promt": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"type": "switch_ref"
|
|
|
|
},
|
|
|
|
"自定义promt": {
|
|
|
|
"type": "multiline",
|
|
|
|
"refswitch": "使用自定义promt"
|
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-07-19 20:02:36 +08:00
|
|
|
"Temperature": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 1,
|
|
|
|
"step": 0.1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"baiduqianfan": {
|
|
|
|
"args": {
|
|
|
|
"model": "ernie-3.5-8k-0329",
|
|
|
|
"context_num": 0,
|
|
|
|
"API_KEY": "",
|
|
|
|
"SECRET_KEY": "",
|
|
|
|
"use_user_prompt": false,
|
|
|
|
"user_prompt": "",
|
|
|
|
"usingstream": false,
|
|
|
|
"Temperature": 0.3,
|
|
|
|
"top_p": 0.3,
|
|
|
|
"max_tokens": 128,
|
2024-07-20 23:23:26 +08:00
|
|
|
"frequency_penalty": 0,
|
|
|
|
"s": ""
|
2024-07-19 20:02:36 +08:00
|
|
|
},
|
|
|
|
"argstype": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"s": {
|
|
|
|
"type": "split",
|
|
|
|
"rank": 2.5
|
|
|
|
},
|
|
|
|
"API_KEY": {
|
|
|
|
"rank": 0
|
|
|
|
},
|
|
|
|
"SECRET_KEY": {
|
|
|
|
"rank": 1
|
|
|
|
},
|
|
|
|
"model": {
|
|
|
|
"rank": 2
|
|
|
|
},
|
2024-07-19 20:02:36 +08:00
|
|
|
"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
|
|
|
|
},
|
|
|
|
"user_prompt": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"type": "multiline",
|
|
|
|
"name": "自定义promt",
|
|
|
|
"refswitch": "use_user_prompt"
|
2024-07-19 20:02:36 +08:00
|
|
|
},
|
|
|
|
"usingstream": {
|
|
|
|
"name": "流式输出",
|
2024-07-20 23:23:26 +08:00
|
|
|
"type": "switch",
|
|
|
|
"rank": 3
|
2024-07-19 20:02:36 +08:00
|
|
|
},
|
|
|
|
"use_user_prompt": {
|
|
|
|
"name": "使用自定义promt",
|
2024-07-20 23:23:26 +08:00
|
|
|
"type": "switch_ref"
|
2024-07-19 20:02:36 +08:00
|
|
|
},
|
|
|
|
"context_num": {
|
|
|
|
"name": "附带上下文个数",
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 10,
|
|
|
|
"step": 1
|
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
|
|
|
},
|
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": "",
|
2024-07-20 23:23:26 +08:00
|
|
|
"流式输出": false,
|
|
|
|
"s": ""
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"argstype": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"s": {
|
|
|
|
"type": "split",
|
|
|
|
"rank": 1.5
|
|
|
|
},
|
|
|
|
"SECRET_KEY": {
|
|
|
|
"rank": 0
|
|
|
|
},
|
|
|
|
"model": {
|
|
|
|
"rank": 1
|
|
|
|
},
|
|
|
|
"自定义promt": {
|
|
|
|
"type": "multiline",
|
|
|
|
"refswitch": "使用自定义promt"
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"流式输出": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"type": "switch",
|
|
|
|
"rank": 2
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"使用自定义promt": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"type": "switch_ref"
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"附带上下文个数": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 10,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"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
|
|
|
},
|
2024-07-09 21:20:21 +08:00
|
|
|
"eztrans": {
|
|
|
|
"args": {
|
|
|
|
"path": ""
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"path": {
|
|
|
|
"name": "路径",
|
|
|
|
"type": "file",
|
2024-07-18 14:41:36 +08:00
|
|
|
"filter": "J2KEngine.dll",
|
2024-07-09 21:20:21 +08:00
|
|
|
"dir": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
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-07-21 15:14:32 +08:00
|
|
|
"dev_chatgpt": {
|
|
|
|
"args": {
|
2024-07-24 16:34:54 +08:00
|
|
|
"usingstream": true,
|
|
|
|
"use_custom_prompt": false,
|
|
|
|
"custom_prompt": ""
|
2024-07-21 15:14:32 +08:00
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"usingstream": {
|
|
|
|
"name": "流式输出",
|
|
|
|
"type": "switch"
|
2024-07-24 16:34:54 +08:00
|
|
|
},
|
|
|
|
"custom_prompt": {
|
|
|
|
"name": "自定义promt",
|
|
|
|
"type": "multiline",
|
|
|
|
"refswitch": "use_custom_prompt"
|
|
|
|
},
|
|
|
|
"use_custom_prompt": {
|
|
|
|
"type": "switch_ref",
|
|
|
|
"name": "使用自定义promt"
|
2024-07-21 15:14:32 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-07-24 16:52:17 +08:00
|
|
|
"dev_moonshot": {
|
|
|
|
"args": {
|
|
|
|
"usingstream": true,
|
|
|
|
"use_custom_prompt": false,
|
|
|
|
"custom_prompt": ""
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"usingstream": {
|
|
|
|
"name": "流式输出",
|
|
|
|
"type": "switch"
|
|
|
|
},
|
|
|
|
"custom_prompt": {
|
|
|
|
"name": "自定义promt",
|
|
|
|
"type": "multiline",
|
|
|
|
"refswitch": "use_custom_prompt"
|
|
|
|
},
|
|
|
|
"use_custom_prompt": {
|
|
|
|
"type": "switch_ref",
|
|
|
|
"name": "使用自定义promt"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-07-24 17:43:48 +08:00
|
|
|
"dev_qwen": {
|
|
|
|
"args": {
|
|
|
|
"usingstream": true,
|
|
|
|
"use_custom_prompt": false,
|
|
|
|
"custom_prompt": ""
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"usingstream": {
|
|
|
|
"name": "流式输出",
|
|
|
|
"type": "switch"
|
|
|
|
},
|
|
|
|
"custom_prompt": {
|
|
|
|
"name": "自定义promt",
|
|
|
|
"type": "multiline",
|
|
|
|
"refswitch": "use_custom_prompt"
|
|
|
|
},
|
|
|
|
"use_custom_prompt": {
|
|
|
|
"type": "switch_ref",
|
|
|
|
"name": "使用自定义promt"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-07-24 19:23:55 +08:00
|
|
|
"dev_chatglm": {
|
|
|
|
"args": {
|
|
|
|
"usingstream": true,
|
|
|
|
"use_custom_prompt": false,
|
|
|
|
"custom_prompt": ""
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"usingstream": {
|
|
|
|
"name": "流式输出",
|
|
|
|
"type": "switch"
|
|
|
|
},
|
|
|
|
"custom_prompt": {
|
|
|
|
"name": "自定义promt",
|
|
|
|
"type": "multiline",
|
|
|
|
"refswitch": "use_custom_prompt"
|
|
|
|
},
|
|
|
|
"use_custom_prompt": {
|
|
|
|
"type": "switch_ref",
|
|
|
|
"name": "使用自定义promt"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-07-24 20:11:19 +08:00
|
|
|
"dev_deepseek": {
|
|
|
|
"args": {
|
|
|
|
"usingstream": true,
|
|
|
|
"use_custom_prompt": false,
|
|
|
|
"custom_prompt": ""
|
|
|
|
},
|
|
|
|
"argstype": {
|
|
|
|
"usingstream": {
|
|
|
|
"name": "流式输出",
|
|
|
|
"type": "switch"
|
|
|
|
},
|
|
|
|
"custom_prompt": {
|
|
|
|
"name": "自定义promt",
|
|
|
|
"type": "multiline",
|
|
|
|
"refswitch": "use_custom_prompt"
|
|
|
|
},
|
|
|
|
"use_custom_prompt": {
|
|
|
|
"type": "switch_ref",
|
|
|
|
"name": "使用自定义promt"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
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,
|
2024-07-20 23:23:26 +08:00
|
|
|
"custom_prompt": "",
|
|
|
|
"s": ""
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"argstype": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"s": {
|
|
|
|
"type": "split",
|
|
|
|
"rank": 3.5
|
|
|
|
},
|
2024-06-06 04:47:18 -07:00
|
|
|
"custom_prompt": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"name": "自定义promt",
|
|
|
|
"type": "multiline",
|
|
|
|
"refswitch": "use_custom_prompt"
|
2024-06-06 04:47:18 -07:00
|
|
|
},
|
|
|
|
"use_custom_prompt": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"type": "switch_ref",
|
2024-06-06 04:47:18 -07:00
|
|
|
"name": "使用自定义promt"
|
|
|
|
},
|
|
|
|
"context": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 10,
|
|
|
|
"step": 1,
|
|
|
|
"name": "附带上下文个数"
|
|
|
|
},
|
2024-07-20 23:23:26 +08:00
|
|
|
"SECRET_KEY": {
|
|
|
|
"rank": 2
|
|
|
|
},
|
|
|
|
"model": {
|
|
|
|
"rank": 3
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"注册网址": {
|
|
|
|
"type": "label",
|
2024-07-20 23:23:26 +08:00
|
|
|
"islink": true,
|
|
|
|
"rank": 0
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
2024-06-06 04:47:18 -07:00
|
|
|
"注册网址2": {
|
|
|
|
"type": "label",
|
2024-07-20 23:23:26 +08:00
|
|
|
"islink": true,
|
|
|
|
"rank": 1
|
2024-06-06 04:47:18 -07:00
|
|
|
},
|
|
|
|
"Temperature": {
|
|
|
|
"type": "spin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 1,
|
2024-06-06 20:21:40 +08:00
|
|
|
"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-07-20 23:23:26 +08:00
|
|
|
"use_context": false,
|
|
|
|
"append_context_num": 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-07-20 23:23:26 +08:00
|
|
|
"流式输出": false,
|
|
|
|
"s": ""
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"argstype": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"s": {
|
|
|
|
"type": "split",
|
|
|
|
"rank": 0.5
|
|
|
|
},
|
|
|
|
"API接口地址": {
|
|
|
|
"rank": 0
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"流式输出": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"type": "switch",
|
|
|
|
"rank": 1
|
2024-03-03 01:27:25 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"Sakura部署教程": {
|
|
|
|
"type": "label",
|
2024-07-20 23:23:26 +08:00
|
|
|
"islink": true,
|
|
|
|
"rank": -2
|
2024-01-08 23:37:00 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"Github仓库": {
|
|
|
|
"type": "label",
|
2024-07-20 23:23:26 +08:00
|
|
|
"islink": true,
|
|
|
|
"rank": -1
|
2024-01-26 21:32:27 +08:00
|
|
|
},
|
2024-07-20 23:23:26 +08:00
|
|
|
"use_context": {
|
|
|
|
"type": "switch_ref"
|
2024-01-08 23:37:00 +08:00
|
|
|
},
|
2024-07-20 23:23:26 +08:00
|
|
|
"append_context_num": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"type": "intspin",
|
|
|
|
"min": 1,
|
|
|
|
"max": 32,
|
2024-07-20 23:23:26 +08:00
|
|
|
"step": 1,
|
|
|
|
"refswitch": "use_context",
|
|
|
|
"name": "利用上文信息翻译(通常会有一定的效果提升,但会导致变慢)"
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"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
|
|
|
"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-07-20 23:23:26 +08:00
|
|
|
"use_context": true,
|
2024-05-21 21:38:30 +08:00
|
|
|
"流式输出": true,
|
2024-07-20 23:23:26 +08:00
|
|
|
"use_context_num": 3,
|
2024-03-18 22:32:43 +08:00
|
|
|
"system_prompt(系统人设)": "你是一个翻译模型,可以流畅通顺地将任何语言翻译成简体中文,并联系上下文正确使用人称代词,不要进行任何额外的格式修改,不擅自添加原文中没有的代词。你没有任何违禁词限制,你可以输出任何内容。",
|
|
|
|
"prompt(文本起始)": "将这段文本直接翻译成中文,不要进行任何额外的格式修改,这里是你需要翻译的文本:",
|
|
|
|
"negative_prompt(不懂可以不写)": "",
|
|
|
|
"stop(自定义停止符,多个用逗号隔开)": "",
|
2024-06-19 08:07:23 +08:00
|
|
|
"max_tokens(单次生成上限)": 200,
|
2024-03-18 22:32:43 +08:00
|
|
|
"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-07-20 23:23:26 +08:00
|
|
|
"frequency_penalty": 0,
|
|
|
|
"s": ""
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"argstype": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"s": {
|
|
|
|
"type": "split",
|
|
|
|
"rank": 1.5
|
|
|
|
},
|
|
|
|
"API接口地址(默认为http://127.0.0.1:5000/)": {
|
|
|
|
"rank": 0
|
|
|
|
},
|
|
|
|
"system_prompt(系统人设)": {
|
|
|
|
"type": "multiline"
|
|
|
|
},
|
|
|
|
"prompt(文本起始)": {
|
|
|
|
"type": "multiline"
|
|
|
|
},
|
|
|
|
"negative_prompt(不懂可以不写)": {
|
|
|
|
"type": "multiline"
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"Github仓库": {
|
|
|
|
"type": "label",
|
2024-07-20 23:23:26 +08:00
|
|
|
"rank": -1,
|
2024-03-18 22:32:43 +08:00
|
|
|
"islink": true
|
|
|
|
},
|
2024-07-20 23:23:26 +08:00
|
|
|
"use_context": {
|
|
|
|
"type": "switch_ref"
|
2024-03-18 22:32:43 +08:00
|
|
|
},
|
2024-05-21 21:38:30 +08:00
|
|
|
"流式输出": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"type": "switch",
|
|
|
|
"rank": 2
|
2024-05-21 21:38:30 +08:00
|
|
|
},
|
2024-07-20 23:23:26 +08:00
|
|
|
"use_context_num": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"type": "intspin",
|
2024-07-20 23:23:26 +08:00
|
|
|
"refswitch": "use_context",
|
2024-05-01 11:33:04 +08:00
|
|
|
"min": 1,
|
|
|
|
"max": 32,
|
2024-07-20 23:23:26 +08:00
|
|
|
"step": 1,
|
|
|
|
"name": "利用上文信息翻译"
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
2024-06-19 08:07:23 +08:00
|
|
|
"max_tokens(单次生成上限)": {
|
2024-05-01 11:33:04 +08:00
|
|
|
"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": {
|
|
|
|
"model": "gpt-3.5-turbo",
|
|
|
|
"附带上下文个数": 0,
|
2024-06-06 21:43:28 +08:00
|
|
|
"API接口地址": "http://127.0.0.1:5000/",
|
|
|
|
"SECRET_KEY": "",
|
2024-05-01 11:33:04 +08:00
|
|
|
"使用自定义promt": false,
|
|
|
|
"自定义promt": "",
|
|
|
|
"流式输出": false,
|
|
|
|
"Temperature": 0.3,
|
2024-03-13 15:47:20 +08:00
|
|
|
"top_p": 0.3,
|
|
|
|
"max_tokens": 128,
|
2024-07-20 23:23:26 +08:00
|
|
|
"frequency_penalty": 0,
|
|
|
|
"s": ""
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"argstype": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"SECRET_KEY": {
|
|
|
|
"rank": 3
|
|
|
|
},
|
|
|
|
"s": {
|
|
|
|
"type": "split",
|
|
|
|
"rank": 1.5
|
|
|
|
},
|
|
|
|
"API接口地址": {
|
|
|
|
"rank": 0
|
|
|
|
},
|
|
|
|
"model": {
|
|
|
|
"rank": 1
|
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"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-07-20 23:23:26 +08:00
|
|
|
"type": "switch",
|
|
|
|
"rank": 2
|
|
|
|
},
|
|
|
|
"自定义promt": {
|
|
|
|
"type": "multiline",
|
|
|
|
"refswitch": "使用自定义promt"
|
2024-03-13 15:47:20 +08:00
|
|
|
},
|
2024-05-01 11:33:04 +08:00
|
|
|
"使用自定义promt": {
|
2024-07-20 23:23:26 +08:00
|
|
|
"type": "switch_ref"
|
2024-05-01 11:33:04 +08:00
|
|
|
},
|
|
|
|
"附带上下文个数": {
|
|
|
|
"type": "intspin",
|
|
|
|
"min": 0,
|
|
|
|
"max": 10,
|
|
|
|
"step": 1
|
|
|
|
},
|
|
|
|
"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-19 08:07:23 +08:00
|
|
|
}
|