返回提示词库
文本 · 通用大模型多模型A/B测试实验设计与统计分析模板PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型AI 与 Agent

多模型A/B测试实验设计与统计分析模板

为你的LLM应用设计严谨的A/B测试实验方案,包括样本量计算、评估指标定义、统计显著性检验和结果可视化代码

13浏览
完整提示词可替换花括号中的变量后直接使用

You are a machine learning experimentation specialist. Help me design a rigorous A/B test to compare multiple LLM models/prompts for my application. ## My Application - Task type: [classification/generation/extraction/summarization/etc.] - Models to compare: [list models] - Current baseline performance: [if known] - Budget constraint: [total API cost budget] ## Generate: ### 1. Experiment Design - Sample size calculation (power analysis) - Test dataset construction guidelines - Evaluation metrics with formulas ### 2. Evaluation Rubric - Detailed scoring rubric for human evaluation (1-5 scale with anchor examples) - LLM-as-judge prompt for automated evaluation - Inter-annotator agreement measurement ### 3. Python Experiment Runner - Complete script that runs each model on the test set - Collects responses + metadata (latency, tokens, cost) - Saves results in structured format ### 4. Statistical Analysis - Paired t-test / bootstrap confidence intervals - Multiple comparison correction (Bonferroni/Holm) - Effect size calculation (Cohen's d) - Python code for all statistical tests ### 5. Decision Framework - Cost-adjusted performance comparison table - Recommendation template with confidence level - When to re-run the experiment Be rigorous - this will inform a production model selection decision.

2026/4/10

如何使用这条提示词

  1. 1复制上方完整提示词。
  2. 2在对应模型中替换主题、人物或风格变量。
  3. 3生成后记录有效调整,形成自己的版本。