Skip to content
Back to skills

Tat Llm Eval

ASecurity

Evaluates discrete reasoning capabilities over hybrid tabular and textual data, specifically focusing on financial question answering tasks that require arithmetic operations, counting, and span extraction. Use when the user wants to benchmark on FinQA, TAT-QA, TAT-DQA, or asks about evaluating this task. Reports EM.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchpythongo

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill tat-llm-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tat Llm Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tat Llm Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-tat-llm-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-tat-llm-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tat-llm-eval
description: Evaluates discrete reasoning capabilities over hybrid tabular and textual data, specifically focusing on financial question answering tasks that require arithmetic operations, counting, and span extraction. Use when the user wants to benchmark on FinQA, TAT-QA, TAT-DQA, or asks about evaluating this task. Reports EM.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2401.13223
  bibtex_key: zhu2024tatllm
  confidence: high
---

# tat-llm-eval

> TAT-LLM: A Specialized Language Model for Discrete Reasoning over Tabular and Textual Data — Fengbin Zhu et al. (2024) (arXiv:2401.13223, 2024)

## What this evaluates

Evaluates discrete reasoning capabilities over hybrid tabular and textual data, specifically focusing on financial question answering tasks that require arithmetic operations, counting, and span extraction.

## Datasets

- **FinQA** — total ?; splits: train (-1), val (-1), test (-1)
- **TAT-QA** — total ?; splits: train (-1), val (-1), test (-1)
- **TAT-DQA** — total ?; splits: train (-1), val (-1), test (-1)

## Metrics

- `EM` **(primary)** — range: [0, 1]
  - Exact match between the predicted answer and the ground truth answer. For FinQA, this corresponds to Execution Accuracy.
- `F1` — range: [0, 1]
  - Numeracy-focused macro-averaged F1 score measuring bag-of-words overlap between predicted and gold answers. It is forced to 0 if the predicted number does not exactly equal the ground truth number.

## Input / output format

**Input**: A question accompanied by tabular data and textual paragraphs extracted from financial reports.

**Output**: A predicted numerical answer (and scale for TAT-LLM); zero-shot LLM evaluations omit scale prediction.

## Scoring recipe

```python
def score(predictions, golds):
    em = sum(1 for p, g in zip(predictions, golds) if p == g) / len(golds)
    f1s = []
    for p, g in zip(predictions, golds):
        p_num = extract_number(p)
        g_num = extract_number(g)
        if p_num != g_num:
            f1s.append(0.0)
        else:
            p_tok, g_tok = set(p.lower().split()), set(g.lower().split())
            inter = len(p_tok & g_tok)
            union = len(p_tok | g_tok)
            f1s.append(2 * inter / union if union > 0 else 0.0)
    return em, sum(f1s) / len(f1s)
```

## Common pitfalls

- Scale prediction is omitted for zero-shot LLM evaluations but included for TAT-LLM, leading to inconsistent comparison if not handled uniformly.
- The F1 score is numeracy-focused: it drops to 0 if the predicted number does not exactly match the ground truth, regardless of textual overlap.
- FinQA uses EM (Execution Accuracy) as its primary metric, while TAT-QA and TAT-DQA report both EM and F1, requiring dataset-specific metric tracking.

## Evidence (verbatim from paper)

> For TAT-QA and TAT-DQA datasets, we adopt the Exact Match (EM) and the numeracy-focused (macro-averaged) F1 score Zhu et al. ([2021], [2022]). Both two metrics measure the overlap between a bag-of-words representation of the gold and predicted answers. The numeracy-focused F1 score is set to 0 unless the predicted number is exactly equal to the ground truth. We use EM for FinQA, which is the same as the metric of Execution Accuracy originally used in FinQA Chen et al. ([2021]).

## Citation

```bibtex
@misc{zhu2024tatllm,
  title={TAT-LLM: A Specialized Language Model for Discrete Reasoning over Tabular and Textual Data},
  author={Fengbin Zhu et al. (2024)},
  year={2024},
  note={arXiv:2401.13223}
}
```

- arXiv: 2401.13223

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.