Skip to content

feat: evaluate Finance benchmarks with pinned data and overlap exclusions - #33

Open
soomro-abd wants to merge 1 commit into
feat/lm-training-protocolfrom
feat/finance-benchmark-evaluation
Open

soomro-abd wants to merge 1 commit into
feat/lm-training-protocolfrom
feat/finance-benchmark-evaluation

Conversation

@soomro-abd

Copy link
Copy Markdown
Collaborator

Finance runs previously evaluated only the FinGPT holdout. This adds the FlowerTune Finance benchmark protocol for Financial PhraseBank, FIQA-SA and TFNS, while excluding benchmark input groups from training and keeping the original FinGPT holdout order stable.

Depends on #32. The base is feat/lm-training-protocol so this diff contains only Finance benchmark evaluation and its integration. Merge the stack in dependency order and retarget after the parent lands.

Changes

  • Read original benchmark files at pinned dataset revisions, without executing dataset loader code. Reproduce seeded FPB/FIQA quarter-samples and TFNS validation evaluation.
  • Match the upstream prompt, total-token budget and permissive sentiment parser; report strict parsing diagnostics separately so upstream fallback behavior stays visible.
  • Exclude normalized benchmark input groups using the full evaluation sources before training caps or client partitioning. Preserve the legacy FinGPT holdout, and record source revisions, selected IDs, exclusions, token limits and raw predictions.
  • Report each benchmark's accuracy, their equal-weight mean and gains over round zero. Allow the benchmark mean to drive the learning-gap warning.
  • Add SmolLM2/Mistral smoke configurations, a full clean baseline configuration, tests and a benchmark guide.

Validation

  • Full Linux/Python 3.11 suite at this commit: 297 passed, 1 optional NVFlare test skipped.
  • Two-round, two-GPU smokes passed for SmolLM2-135M and Mistral-7B. Each used four examples per benchmark; both nodes trained clients. Verified prediction records, scoring, exclusion of 1,523 training rows, unchanged legacy holdout IDs and checkpoint artifacts.
  • Full-source preflight verified 1,212 FPB, 304 FIQA and 2,388 TFNS selected evaluation records. This was source/protocol validation, not a full-model evaluation of all 3,904 records.
  • Strict MkDocs build, git diff --check and source consistency checks passed; Ray was stopped after validation.

The capped GPU runs establish integration. Full benchmark scores and the 15-round, 50-client Mistral baseline remain separate experiments.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant