首页 > AI前沿 > BIRD-Persona: A Persona-Aware Benchmark for SQL and pandas Analytics Code Generation

BIRD-Persona: A Persona-Aware Benchmark for SQL and pandas Analytics Code Generation

arXiv自然语言 2026-11-21 11:58 8 阅读 查看原文
用户需要我作为专业的新闻排版工程师,将一段纯文本的新闻正文排版成语义化的HTML片段。我需要遵循以下规则: 1. 只输出HTML片段本身,不要Markdown围栏、不要解释 2. 每个自然段落用

包裹,长文用

/

划分小节 3. 列表内容用
  • ,引用用
    ,代码用
    ,重要句子可用
    4. 保留原文所有信息,不得增删改内容
    5. 不要输出//等文档级标签
    
    让我分析这段正文的内容结构:
    
    这段文本是关于BIRD-Persona的学术/技术新闻,可以分为几个部分:
    
    1. 背景介绍:Production text-to-code systems...
    2. 现有问题:Existing benchmarks cover both tasks...
    3. 新方案介绍:We introduce BIRD-Persona...
    4. 实验结果:Across 1,534 tasks...
    5. 详细分析:The gap varies by condition...
    6. 意义和可用性:By making user phrasing...The dataset is available...
    
    我需要合理划分小节,用

    或

    来组织。让我考虑如何划分: - 可以有一个引言部分(背景+问题) - BIRD-Persona介绍部分 - 实验结果与分析部分 - 总结部分 让我来构建HTML: 原文内容: "Production text-to-code systems use large language models to turn natural-language analytics requests into executable SQL and pandas code. Existing benchmarks cover both tasks but do not isolate when performance diverges between them. We introduce BIRD-Persona, a persona-stratified extension of BIRD-Python that adds novice and expert rewrites to tasks with matched SQL and pandas ground truth, along with schema variants and task-structure annotations. Across 1,534 tasks, nine models, and 245,592 evaluations, SQL outperforms pandas for eight of nine systems. The gap varies by condition: expert, schema-explicit prompts improve both paradigms but help SQL more; schema representations have mixed, model-dependent effects; and selected-column burden widens the gap while subqueries do not. By making user phrasing a controlled benchmark dimension, BIRD-Persona supports persona-aware and paradigm-aware evaluation of natural-language analytics systems. The dataset is available at https://huggingface.co/datasets/optum-cognition-lab/BIRD-Persona." 我需要保留所有信息,不增删改。让我合理划分: 可以考虑: - 一个引言段落(前两句关于背景和现有问题) - 一个介绍BIRD-Persona的段落 - 一个实验结果段落 - 一个条件分析段落(可以包含列表来展示三个条件) - 一个总结段落 但要注意,原文是一个连续的文本,我需要合理划分段落。让我仔细看原文: 1. "Production text-to-code systems use large language models to turn natural-language analytics requests into executable SQL and pandas code." - 背景 2. "Existing benchmarks cover both tasks but do not isolate when performance diverges between them." - 问题 3. "We introduce BIRD-Persona, a persona-stratified extension of BIRD-Python that adds novice and expert rewrites to tasks with matched SQL and pandas ground truth, along with schema variants and task-structure annotations." - 新方案 4. "Across 1,534 tasks, nine models, and 245,592 evaluations, SQL outperforms pandas for eight of nine systems." - 实验结果 5. "The gap varies by condition: expert, schema-explicit prompts improve both paradigms but help SQL more; schema representations have mixed, model-dependent effects; and selected-column burden widens the gap while subqueries do not." - 条件分析 6. "By making user phrasing a controlled benchmark dimension, BIRD-Persona supports persona-aware and paradigm-aware evaluation of natural-language analytics systems." - 意义 7. "The dataset is available at https://huggingface.co/datasets/optum-cognition-lab/BIRD-Persona." - 可用性 我可以考虑用

    划分几个小节,然后用

    包裹段落。但原文实际上可以分成几个自然段落。 让我考虑:原文是一个连续的文本,没有明显的分段。我需要合理划分段落。 一种方式是: -

    背景与问题

    Production...diverges between them.

    -

    BIRD-Persona:新基准

    We introduce BIRD-Persona...task-structure annotations.

    -

    实验结果与分析

    Across 1,534 tasks...eight of nine systems.

    The gap varies by condition...

    (这里可以用列表来展示三个条件) -

    意义与可用性

    By making user phrasing...

    The dataset is available...

    但要注意,原文中"The gap varies by condition"后面用分号分隔了三个条件,这比较适合用列表。 但是规则说"不得增删改内容",如果我用列表来展示,需要确保内容不变。原文是"The gap varies by condition: expert, schema-explicit prompts improve both paradigms but help SQL more; schema representations have mixed, model-dependent effects; and selected-column burden widens the gap while subqueries do not." 如果我拆开成列表,可能需要重新组织,但规则说不能增删改内容。让我谨慎处理。 我可以保持为一个段落,或者将"condition:"后面的部分用列表展示,但要确保语义和内容不变。 让我考虑一个保守的方式:将原文合理分段,用

    /

    划分,重要句子用,链接可以保留或用合适方式处理。 实际上,原文没有明显的列表或引用或代码,所以我不需要强制使用这些标签,除非内容适合。 让我重新规划:

    背景与问题

    Production text-to-code systems use large language models to turn natural-language analytics requests into executable SQL and pandas code. Existing benchmarks cover both tasks but do not isolate when performance diverges between them.

    BIRD-Persona 基准

    We introduce BIRD-Persona, a persona-stratified extension of BIRD-Python that adds novice and expert rewrites to tasks with matched SQL and pandas ground truth, along with schema variants and task-structure annotations.

    实验结果

    Across 1,534 tasks, nine models, and 245,592 evaluations, SQL outperforms pandas for eight of nine systems.

    条件分析

    The gap varies by condition:

    • expert, schema-explicit prompts improve both paradigms but help SQL more;
    • schema representations have mixed, model-dependent effects;
    • selected-column burden widens the gap while subqueries do not.

    意义与可用性

    By making user phrasing a controlled benchmark dimension, BIRD-Persona supports persona-aware and paradigm-aware evaluation of natural-language analytics systems. The dataset is available at https://huggingface.co/datasets/optum-cognition-lab/BIRD-Persona.

    等等,我需要检查:原文"The gap varies by condition: expert, schema-explicit prompts improve both paradigms but help SQL more; schema representations have mixed, model-dependent effects; and selected-column burden widens the gap while subqueries do not." 如果我拆成列表,第三项原文有"and",在列表中可能显得多余。但规则说不得增删改内容。让我保持原文完整,可能不用列表,或者用列表但保留原文内容。 实际上,在HTML列表中,每个
  • 可以包含原文中对应部分。原文用分号分隔,我可以这样: - expert, schema-explicit prompts improve both paradigms but help SQL more; - schema representations have mixed, model-dependent effects; - and selected-column burden widens the gap while subqueries do