Khaos 8-K Event Extraction

A DistilBERT token classifier that finds event types, people, roles, companies, dates and deal values in SEC Form 8-K text.

sec_8k_events v1, from Khaos (a local-first library of pre-trained models for domain-specific tasks). This is the first release of the artifact.

Model

  • Architecture: FilingNER: distilbert-base-uncased encoder with a BIO token-classification head and a mean-pooled embedding output
  • Parameters: 66,372,877
  • Format: ONNX (model.onnx) plus PyTorch weights (model.pt) and manifest.json
  • Training data: fletxcher/khaos-sec_8k_events

Results

Measured on the held-out test split of the training dataset.

Metric Value
test_entity_f1 0.7808
test_entity_precision 0.7175
test_entity_recall 0.8565
n_test_examples 334
test_entity_f1_silver 0.7808

Test results by label quality

Entity-level exact match (type and token boundaries).

Label quality Examples Precision Recall F1
silver 334 0.717 0.856 0.781

Test results by entity type

Entity type Precision Recall F1 Support
COMPANY 0.540 0.653 0.591 363
DATE 0.928 1.000 0.963 438
DEAL_VALUE 0.425 0.740 0.540 50
EVENT_TYPE 0.339 0.704 0.458 27
PERSON 0.714 0.556 0.625 9
ROLE 0.820 0.971 0.889 207

Training

{
  "epochs": 5,
  "batch": 16,
  "lr": 5e-05,
  "base_model": "distilbert-base-uncased",
  "max_len": 256,
  "labels": [
    "O",
    "B-EVENT_TYPE",
    "I-EVENT_TYPE",
    "B-PERSON",
    "I-PERSON",
    "B-ROLE",
    "I-ROLE",
    "B-COMPANY",
    "I-COMPANY",
    "B-DEAL_VALUE",
    "I-DEAL_VALUE",
    "B-DATE",
    "I-DATE"
  ]
}

Best epoch 5, trained in 1.9 minutes on a single consumer GPU (RTX 3050 8 GB).

Intended use

First-pass extraction from 8-K text, followed by review.

Limitations

  • Trained on silver labels from patterns, so reported scores mostly measure agreement with those patterns.
  • PERSON and COMPANY coverage is limited to the patterns used.
  • 256-token window.

Usage

pip install khaos
khaos serve ./sec_8k_events

License

Trained on public SEC filings and openly licensed data; released under Apache-2.0.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support