An NVIDIA technical post published November 24, 2026 walks through preparing intraday market bars for training with Megatron Core and Megatron-LM. Inputs are Parquet files with one row per bar per instrument, carrying symbol, date, timestamp, close, volume and optional numeric features; the preprocessing script sorts each instrument's day by timestamp, derives within-day log returns and log volumes itself so that overnight gaps never enter the inputs, and writes tensors into training splits. A memory-mapped loader then supplies batches, with reads shared inside each tensor-parallel group. Rather than converting market values into text, a learned patch embedding turns each group of observations into model input. One shared forecasting model trains across histories from many instruments, and each window carries its instrument identifier so the model can learn instrument-specific behavior within shared parameters. The example forecasts returns and trading volume at several horizons from the same context, and the metadata records patch size, context length and horizons so a different architecture or optimizer can reuse the prepared dataset.
Our takeThe interesting claim is architectural: keeping prices continuous and letting a learned patch embedding carry the representation skips the tokenisation detour most language-model-for-time-series work takes. That should avoid the pathologies of writing numbers as tokens, but it also means the model is no longer a language model, so the transferable part is the data contract, not the checkpoint: one row schema, explicit metadata, instrument-aware windows. Single-vendor Parquet examples rarely survive contact with real tick feeds.