Skip to content
Back to skills

Flame Eval

ASecurity

Evaluates foundation and reasoning-reinforced language models across 20 core financial NLP tasks. It probes capabilities in numeric reasoning, entity classification, information retrieval, question answering, and summarization, while also measuring inference efficiency and cost. Use when the user wants to benchmark on FLaME, or asks about evaluating this task. Reports F1.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
researchpythongogitperformance

Security analysis

A100/100

Scanned September 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Flame Eval?

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

Security grade badge for Flame Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-flame-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-flame-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: flame-eval
description: Evaluates foundation and reasoning-reinforced language models across 20 core financial NLP tasks. It probes capabilities in numeric reasoning, entity classification, information retrieval, question answering, and summarization, while also measuring inference efficiency and cost. Use when the user wants to benchmark on FLaME, or asks about evaluating this task. Reports F1.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2506.15846
  bibtex_key: matlin2025flame
  confidence: medium
---

# flame-eval

> Finance Language Model Evaluation (FLaME) — Matlin et al. (2025) (arXiv:2506.15846, 2025)

## What this evaluates

Evaluates foundation and reasoning-reinforced language models across 20 core financial NLP tasks. It probes capabilities in numeric reasoning, entity classification, information retrieval, question answering, and summarization, while also measuring inference efficiency and cost.

## Datasets

- **FLaME** — total ?; splits: test (-1); repo https://github.com/gtfintechlab/FLaME

## Metrics

- `F1` **(primary)** — range: [0, 1]
  - Harmonic mean of precision and recall, calculated as 2 * (precision * recall) / (precision + recall). Used for classification and retrieval tasks.
- `BERTScore` — range: [0, 1]
  - Similarity metric computed using contextual embeddings from BERT models to compare generated summaries against reference texts.

## Input / output format

**Input**: Task-dependent: text pairs for classification/retrieval, question-answer pairs for QA, and financial documents for summarization.

**Output**: Task-dependent: discrete class labels, numeric values, ranked lists, or generated text summaries.

## Scoring recipe

```python
def compute_f1(preds, golds):
    tp = sum(p == g for p, g in zip(preds, golds))
    fp = sum(p != g and p in golds for p, g in zip(preds, golds))
    fn = sum(g != p and g not in preds for p, g in zip(preds, golds))
    prec = tp / (tp + fp) if (tp + fp) > 0 else 0.0
    rec = tp / (tp + fn) if (tp + fn) > 0 else 0.0
    return 2 * prec * rec / (prec + rec) if (prec + rec) > 0 else 0.0
```

## Common pitfalls

- Numeric reasoning tasks suffer sharp performance drops due to requirements for step-by-step deductions and cross-referencing.
- Models may produce off-list label predictions on tasks with large label sets (e.g., Banking77), artificially lowering F1 scores.
- Larger parameter sizes do not strictly guarantee higher performance; cost and throughput must be considered alongside accuracy.

## Evidence (verbatim from paper)

> Numeric reasoning tasks (like FNXL for numeric labeling or ConvFinQA for multi-step financial statements) remain especially challenging, with F1 scores for FNXL often below 0.06, signaling that even large models struggle to precisely map an extremely large amount of categories to numeric content.

## Citation

```bibtex
@misc{matlin2025flame,
  title={Finance Language Model Evaluation (FLaME)},
  author={Matlin et al. (2025)},
  year={2025},
  note={arXiv:2506.15846}
}
```

- arXiv: 2506.15846

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.