Views
No views yet
| Metric | Score | Interpretation |
|---|---|---|
| Global Weighted F1 | 93.5% | State-of-the-art performance for unstructured financial text. |
| Top-2 Router Accuracy | 97.3% | The correct specialist is consulted 97.3% of the time. |
| Call Transcript Precision | 100% | Zero false positives for transcripts. |
| Delisting Precision | 100% | High-precision signal for critical negative corporate events. |
| Filing Type | Precision | Recall | F1-Score |
|---|---|---|---|
| Interest Rate Update/Notice | 98.9% | 98.1% | 0.99 |
| Proxy Solicitation | 98.6% | 94.4% | 0.96 |
| Annual Report | 96.7% | 95.6% | 0.96 |
| Investor Presentation | 97.3% | 94.2% | 0.96 |
| Voting Results | 94.9% | 96.4% | 0.96 |
| Audit Report | 94.7% | 96.4% | 0.96 |
| Director's Dealing | 95.9% | 95.0% | 0.95 |
| Dividend Notice | 97.8% | 93.0% | 0.95 |
| Fund Factsheet | 96.0% | 94.4% | 0.95 |
| Net Asset Value (NAV) | 92.6% | 97.6% | 0.95 |
| Interim / Quarterly Report | 93.7% | 96.3% | 0.95 |
| AGM Information | 95.0% | 93.9% | 0.94 |
| Remuneration Info | 97.3% | 91.4% | 0.94 |
| Report Publication Announcement | 93.5% | 94.8% | 0.94 |
| Earnings Release | 93.2% | 94.0% | 0.94 |
| ESG / Sustainability Info | 96.3% | 90.7% | 0.93 |
| Governance Info | 97.1% | 89.5% | 0.93 |
| Capital/Financing Update | 97.0% | 89.2% | 0.93 |
| Call Transcript | 100.0% | 86.7% | 0.93 |
| Major Shareholding Notification | 93.0% | 92.5% | 0.93 |
| Board/Management Info | 91.8% | 93.4% | 0.93 |
| Transaction in Own Shares | 90.0% | 94.8% | 0.92 |
| Legal Proceedings | 92.7% | 90.3% | 0.91 |
| Regulatory Filings (Generic) | 89.3% | 93.2% | 0.91 |
| Management Reports | 90.8% | 88.2% | 0.89 |
| M&A Activity | 95.1% | 81.4% | 0.88 |
| Share Issue/Capital Change | 86.0% | 89.3% | 0.88 |
| Delisting Announcement | 100.0% | 75.9% | 0.86 |
log1p(length) using the True Original Length of the document, not the truncated string length.1from huggingface_hub import snapshot_download
2import sys
3
4# 1. Download Models
5model_path = snapshot_download(repo_id="FinancialReports/hierarchical-filing-classifier")
6
7# 2. Add path and import wrapper
8sys.path.append(model_path)
9from inference_wrapper import FinancialFilingClassifier
10
11# 3. Initialize
12classifier = FinancialFilingClassifier(model_path)
13
14# 4. Scenario: A 2MB Annual Report
15real_doc_length = 2500000 # 2.5 Million chars
16truncated_text = "ACME CORP ANNUAL REPORT 2024... [Truncated at 32k chars]"
17
18# 5. Predict (Ensure your wrapper/API handles the length argument)
19result = classifier.predict(
20 text=truncated_text,
21 # Logic note: Ensure the classifier applies log1p to this value
22 # instead of len(truncated_text) before passing to XGBoost.
23)
24
25print(result)
26# Output:
27# {
28# 'category': 'Financial Reporting',
29# 'label': 'Annual Report',
30# 'score': 0.985,
31# }| Financial Reporting | Equity Information | Listing & Regulatory |
|---|---|---|
| • Annual Report • Earnings Release • Interim / Quarterly Report • Audit Report | • Major Shareholding Notification • Transaction in Own Shares (Buyback) • Share Issue / Capital Change • Notice of Dividend Amount | • Regulatory Filings (RNS) • Delisting Announcement • Prospectus • Registration Form |
| AGM Information | Management | Investor Comm |
|---|---|---|
| • AGM Information (Pre/Post) • Voting Results • Proxy Solicitation | • Director's Dealing • Management Reports • Remuneration Info • Board Changes | • Investor Presentation • Call Transcript • Report Publication Announcement |
| M&A and Legal | Debt Information | Investment Vehicle |
|---|---|---|
| • M&A Activity • Legal Proceedings Report | • Capital/Financing Update • Interest Rate Notice | • Net Asset Value (NAV) • Fund Factsheet |
Annual Report category).| Component | Recommendation | Notes |
|---|---|---|
| GPU | NVIDIA T4 (16GB) | The "Sweet Spot" for cost/performance. Capable of ~50 docs/sec in batch mode. |
| Alternative | NVIDIA L4 / A10 | Recommended for high-concurrency production APIs. |
| VRAM | 16 GB Minimum | Required to embed long documents without OOM errors. |
| System RAM | 16 GB+ | Standard requirement for PyTorch + XGBoost overhead. |
HF_TRUST_REMOTE_CODE=True