ModernBERT-base, pre-trained on BDC filings (ablation)
ModernBERT-base (150M parameters) with continued masked-language-model training on private-credit text: 172,084 lines (6.8 million tokens) from the schedules of investments that U.S. business development companies filed with the SEC up to the end of 2024. It is the starting encoder for Tranche-Terms-0.15B and for the ablation model lenderbench-hybrid-pretrained.
Use
from transformers import AutoModel, AutoTokenizer
tok = AutoTokenizer.from_pretrained("areevai/modernbert-base-bdc-pretrained")
model = AutoModel.from_pretrained("areevai/modernbert-base-bdc-pretrained")
The masked-language-model head is included, so AutoModelForMaskedLM also works.
What the pre-training did, and did not do
| Value | |
|---|---|
| Held-out masked-token loss | 3.44 before, 0.53 after three epochs |
| Training time | 33 minutes on one A10G GPU (9 GB memory) |
| Effect on lender matching, hybrid model | −0.000 MRR (95% interval −0.003 to 0.003) |
| Effect on lender matching, plain encoder | +0.009 MRR (95% interval 0.001 to 0.016); not significant after correction for multiple tests (adjusted p = 0.49) |
The pre-training gave no confirmed gain on the downstream tasks. The model learned the wording of filings, but lender matching depends on names, existing lenders and recency, not on language. The paper also found no measurable gain for loan terms. We publish the encoder so the negative result can be checked, not because we recommend the step. Skipping it also makes a rebuild after a data-removal request much quicker: about 4 minutes instead of 37.
The corpus holds two kinds of line: each lender's schedule line as filed, and one normalised record per lender, borrower and loan type with its terms. Nothing from the validation (2025) or test (2026) periods is included.
Limits
- Trained on business development company filings only, which cover part of private credit. It sees holdings, not the lenders that declined or lost a deal.
- An encoder only; it makes no predictions without a task head.
- Tested on two full quarters of 2026 (plus 31 events from a third). Lender behaviour changes; refit on newer filings before relying on it.
- A shortlist aid for people, not a decision-maker. Nothing here is financial advice.
Licence and citation
Weights: Apache-2.0, as for the base model. Training data: LenderBench, derived from public SEC filings.
@misc{palanisamy2026lenderbench,
title = {LenderBench: Benchmarking Specialized Decision Models for Private Credit},
author = {Palanisamy, Sathish Kumar},
year = {2026},
note = {MindGryd Software Private Limited}
}