Multi-model · ProsusAI FinBERT (110.72 MB q8 · CC-BY-NC-SA-4.0) → DeBERTa-v3 Zero-Shot Risk & Materiality NLI (87.3 MB q8 · Apache-2.0)

2-Stage Earnings Risk & Materiality NLI Audit

Chain two independent WASM models totaling 198.02 MB offline: Stage 1 (Xenova/finbert, 110.72 MB q8, CC-BY-NC-SA-4.0) scores 3-class financial sentiment, then Stage 2 (Xenova/nli-deberta-v3-xsmall, 87.3 MB q8, Apache-2.0, reusing ../../zero-shot-text/worker.js with dynamic res.classNames NLI mapping) classifies Earnings Risk / Materiality category.

Educational NLP & Non-Commercial License Notice: Stage 1 (ProsusAI/finbert) is licensed under CC-BY-NC-SA-4.0 (non-commercial) and Stage 2 (Xenova/nli-deberta-v3-xsmall) is Apache-2.0. Materiality audit verdicts demonstrate chained browser NLP — NOT financial, legal, or investment advice.

1. Two Independent On-Device Models (198.02 MB Total)

Stage 1 · FinBERT Financial Sentiment (110.72 MB WASM q8 · CC-BY-NC-SA-4.0)

Stage 2 · DeBERTa-v3 Risk & Materiality NLI (87.3 MB WASM q8 · Apache-2.0)

2. Chained FinBERT Sentiment × Materiality NLI Audit

Initialize both stages above to run the 198.02 MB FinBERT × DeBERTa-v3 Materiality Audit workflow.

Materiality Audit Verdict: Run both stages above to pair FinBERT Sentiment with Risk & Materiality NLI.
Stage 1 Sentiment–
Net Polarity–
Stage 2 Materiality–
Materiality Tier–
Stage 1 / Stage 2 ms–
Stage 2 id2label order–

Stage 1 · FinBERT 3-Class Probabilities

Run Stage 1 to inspect positive / neutral / negative probabilities.

Stage 2 · Dynamic 3-Way NLI Materiality Logits (res.classNames)

Zero-shot NLI materiality probabilities mapped dynamically from res.classNames
Risk / Materiality Score Entailment Neutral Contradiction
Run Stage 2 to classify materiality category.

3. Earnings Sentiment × Materiality Audit Log

Every completed 2-stage audit run appends or updates in the live Materiality Audit matrix below.

Combined FinBERT Sentiment by Materiality Risk Audit matrix rows
Preset / Item Stage 1 Polarity Net Polarity Stage 2 Category Materiality Tier Latency Disclosure Text
Run the chained pipeline above to populate the audit matrix.

4. Inspect Reused Zero-Shot Client & Dynamic NLI Mapping

Show the code · finbert.js — ZeroShotMaterialityClient (reusing ../zero-shot-text/worker.js)
Show the code · finbert-core.mjs — mapNliClassProbabilities() (dynamic res.classNames)