|
@@ -176,22 +176,6 @@ vl_recognition:
|
|
|
formula: "Formula Recognition:"
|
|
formula: "Formula Recognition:"
|
|
|
seal: "Seal Recognition:" # 印章识别的专用提示词
|
|
seal: "Seal Recognition:" # 印章识别的专用提示词
|
|
|
|
|
|
|
|
- # 模型参数
|
|
|
|
|
- model_params:
|
|
|
|
|
- connection_pool_size: 128 # HTTP 连接池大小(应 >= max_workers)
|
|
|
|
|
- http_timeout: 300 # HTTP 请求超时时间(秒)
|
|
|
|
|
- connect_timeout: 30 # 连接超时时间(秒)
|
|
|
|
|
- retry_max_attempts: 2 # 最大重试次数
|
|
|
|
|
- retry_backoff_base_seconds: 0.5
|
|
|
|
|
- retry_backoff_max_seconds: 8.0
|
|
|
|
|
- retry_jitter_ratio: 0.2
|
|
|
|
|
- retry_status_codes: [429, 500, 502, 503, 504]
|
|
|
|
|
- max_tokens: 16384
|
|
|
|
|
- temperature: 0.1
|
|
|
|
|
- top_p: 0.0001
|
|
|
|
|
- top_k: 1
|
|
|
|
|
- repetition_penalty: 1.1
|
|
|
|
|
-
|
|
|
|
|
# 场景特定配置
|
|
# 场景特定配置
|
|
|
table_recognition:
|
|
table_recognition:
|
|
|
|
|
|