Downloads · 30 days
41
44% of all-time downloads
Arthur210/M3-market-microstructure
M3-market-microstructure is a machine learning model from Arthur210. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as cc-by-nc-4.0.
Downloads · 30 days
41
44% of all-time downloads
All-time downloads
94
Public
Repo size
6.2 GB
Likes
2
Public
Click a slice to open those files.
.pt1.7 GB · 100%
From the Hugging Face model README
tiny/best.pt
small/best.pt
base/best.pt
tokenizer/base/best.pt
vq_order_model/
examples/minimal_inference.py
requirements.txt
config.json
LICENSE
AR model release status:
| Model | Size | Open-sourced |
|---|---|---|
| tiny | 10M | ✅ |
| small | 25M | ✅ |
| base | 75M | ✅ |
| large | 366M | ❌ |
| xlarge | 1.27B | ❌ |
Released tokenizer:
| Component | Checkpoint |
|---|---|
| VQ tokenizer2 base | tokenizer/base/best.pt |
Tokenizer checkpoint may still contain legacy time_head.* parameters from an earlier zero-inflated time modeling
experiment. This branch is deprecated and is not used in the M3 tokenizer.
For the released tokenizer, time decoding is performed with decode_time_mode="reconstruction", i.e., delta_time_seconds is
decoded directly from the continuous reconstruction head. Users should ignore this head and use the reconstruction-based time output.
pip install -r requirements.txt
The examples/ folder contains one tiny smoke-test sample (prompt_ids.npy, conditioning.npz, and example_metadata.json). Then run:
python examples/minimal_inference.py --model-size base
Switch model size with:
python examples/minimal_inference.py --model-size tiny
python examples/minimal_inference.py --model-size small
The tokenizer decoded feature order is:
[relative_open_price, log_volume, delta_time_seconds, action, side]