39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
api:
|
||
endpoint: "http://139.9.229.200:8080/v1/chat/completions"
|
||
api_key: "devserver-9aB3-7fG5q2Yd-8C4T-1R6k-Ew9p-3MnL7bZx4Wv2"
|
||
model: "DeepSeek-R1"
|
||
|
||
prompt_templates:
|
||
short:
|
||
target_tokens: 50
|
||
templates:
|
||
- "什么是{concept}?"
|
||
- "请简要解释{concept}的基本原理。"
|
||
- "简述{topic}的主要观点。"
|
||
- "{country}的首都是哪里?"
|
||
- "如何快速入门{concept}?"
|
||
long:
|
||
target_tokens: 1000
|
||
templates:
|
||
- "请撰写一篇关于{country}历史的详细介绍,包括主要历史事件和文化发展。"
|
||
- "请对{topic}进行深入分析,包括其背景、现状、问题和未来发展趋势。"
|
||
- "请撰写一份关于{event}影响的综合报告,包括社会、经济和政治层面的分析。"
|
||
- "请详细介绍{concept}的技术原理、应用场景和未来发展方向。"
|
||
- "请撰写一篇关于{topic}的学术论文,包括研究背景、方法、结果和讨论。"
|
||
|
||
requests:
|
||
- type: "short"
|
||
weight: 0.7
|
||
- type: "long"
|
||
weight: 0.3
|
||
|
||
concurrency:
|
||
steps: [1,2]
|
||
duration_per_step: 60 # 秒
|
||
|
||
timeout: 60 # 秒
|
||
poisson_lambda: 1.0 # 请求间隔泊松分布参数
|
||
|
||
tokenizer:
|
||
model: "gpt-3.5-turbo" # 用于tiktoken-go的分词器模型
|