Skip to main content

Track risk-factor drift year over year

Problem: spot companies whose risk disclosures changed the most between annual reports. Uses: Khaos and NumPy.

Screen 8-Ks for executive departures

Problem: flag a watchlist’s current reports that mention a leadership change. Uses: Khaos and pandas.

Summarize insider selling

Problem: see which directors sold the most stock this quarter. Uses: Khaos, pandas and Matplotlib.

Check an IPO’s dilution

Problem: pull the lock-up and use-of-proceeds terms from an S-1. Uses: Khaos alone.

Inputs and outputs for each model

These are real outputs of the v1 models, run through their exported ONNX files on held-out examples. The shapes listed are the exact ONNX inputs and outputs; batch and other named sizes are dynamic.

sec_10k_core

Raw filing text in. The text is tokenized with the tokenizer saved next to the model, and the model returns a label for every token; decode_entities merges them into entities (it also returns character offsets, omitted here). The gold list is the dataset’s own labels for comparison. Model inputs: input_ids int64 [batch, seq]; attention_mask int64 [batch, seq]
Model outputs: logits float32 [batch, seq, 35]; vector float32 [batch, 768]
Input
Output

sec_8k_events

Raw filing text in. The text is tokenized with the tokenizer saved next to the model, and the model returns a label for every token; decode_entities merges them into entities (it also returns character offsets, omitted here). The gold list is the dataset’s own labels for comparison. Model inputs: input_ids int64 [batch, seq]; attention_mask int64 [batch, seq]
Model outputs: logits float32 [batch, seq, 13]; vector float32 [batch, 768]
Input
Output

sec_form4_insider

Raw filing text in. The text is tokenized with the tokenizer saved next to the model, and the model returns a label for every token; decode_entities merges them into entities (it also returns character offsets, omitted here). The gold list is the dataset’s own labels for comparison. Model inputs: input_ids int64 [batch, seq]; attention_mask int64 [batch, seq]
Model outputs: logits float32 [batch, seq, 15]; vector float32 [batch, 768]
Input
Output

sec_s1_ipo

Raw filing text in. The text is tokenized with the tokenizer saved next to the model, and the model returns a label for every token; decode_entities merges them into entities (it also returns character offsets, omitted here). The gold list is the dataset’s own labels for comparison. Model inputs: input_ids int64 [batch, seq]; attention_mask int64 [batch, seq]
Model outputs: logits float32 [batch, seq, 13]; vector float32 [batch, 768]
Input
Output