books/gu-zhenren/rerun2/pipeline-arm-dspro-rerun2.yaml.bak-pre-pack15

75 lines
2.1 KiB
Text

# Pere-run rerun2 pipeline — SWAP ARM: editor deepseek-v4-pro reasoning (WS6/D39.9). Identical to
# pipeline-rerun2.yaml EXCEPT edit.model glm-5 -> deepseek-v4-pro + few_shot:false.
# ⚠ ECHO-MINE: deepseek-v4-pro resolves to ReasoningNone (no reasoning capability => reasoning:off is a
# NO-OP, thinking stays ON) => echoMineViolation does NOT arm. Editor input is the RUSSIAN draft (not CJK),
# so the echo class is degenerate here, but thinking-ON is held by provider discipline.
# few_shot:false (D38.4): a reasoning editor's own CoT is disturbed by hand-written few-shot examples
# (exp14 §2a) => the ---FEWSHOT--- block is dropped. Folded into snapshot_edit (deliberate).
core: C1
version: 1
defaults:
max_output_ratio: 2.2
min_max_tokens: 2048
context:
glossary_injection: selective
glossary_token_budget: 800
cache_ttl: "5m"
segmentation:
draft_budget_out: 1797
edit_ceiling_out: 3200
fertility:
cjk: 1.1978
other: 0.3852
waves:
workers: 4
retries:
regenerate_before_escalate: 1
stages:
- name: draft
role: translator
model: deepseek-v4-flash
prompts:
zh-ru: /home/ubuntu/projects/textmachine/backend/prompts/translator.md
prompt_version: v1-reflow
temperature: 0.3
reasoning: "off"
escalate_to: deepseek-v4-pro
- name: edit
role: editor
model: deepseek-v4-pro
prompts:
zh-ru: /home/ubuntu/projects/textmachine/backend/prompts/editor.md
prompt_version: v3-discourse-reflow
temperature: 0.4
reasoning: "off" # NO-OP on deepseek-v4-pro (ReasoningNone) -> thinking ON; does NOT arm echo-mine
few_shot: false # reasoning editor: own CoT vs hand-written examples (exp14 §2a) -> drop ---FEWSHOT---
gates:
coverage:
enabled: false
len_ratio_bounds:
zh-ru: [2.2, 4.2]
ja-ru: [1.4, 2.6]
en-ru: [0.70, 1.4]
sent_cov_min: 0.75
min_chunk_chars: 500
sanitizer:
enabled: true
escalation:
chains:
default: [deepseek-v4-pro, glm-5.1, gemini-3.1-pro-preview]
adult: [grok-4.3]
budget_usd: 3.0
fanout:
candidates: 1
mining:
contrast_path: /home/ubuntu/projects/textmachine/eval/exp16/data/jieba_dict_general_zh.txt