Datasets:
Formats:
parquet
Languages:
English
Size:
100K - 1M
Tags:
cosmopedia-v2
cerebro-spheroid
teacher-digestion
qwen2.5
dynamic-loss-weighting
information-density
License:
Initialize Cosmopedia v2 digested dataset card
Browse files43 unmodified lines4445464748495051525354555643 unmodified lines## Information-Density Mathematical FormulationFor each sequence with teacher causal language model $Q$:$$\mathcal{L}_{Q, t} = -\log P_Q(x_t \mid x_{<t})$$$$\mathcal{H}_{Q, t} = -\sum_{v \in \mathcal{V}_Q} P_Q(v \mid x_{<t}) \log P_Q(v \mid x_{<t})$$$$D_t = \mathcal{L}_{Q, t} + \beta \mathcal{H}_{Q, t}$$$$z_t = \frac{D_t - \mu_D}{\sigma_D}$$$$w_t = \text{clip}\left(1 + \alpha \tanh(z_t), w_{\min}, w_{\max}\right)$$Normalized so that $\frac{1}{T}\sum_{t=1}^T w_t = 1.0$.## Streaming Usage with PyTorch & CerebroSpheroid43 unmodified lines4445464748495051525354555643 unmodified lines## Information-Density Mathematical FormulationFor each sequence with teacher causal language model $Q$:$$\\mathcal{L}_{Q, t} = -\\log P_Q(x_t \\mid x_{<t})$$$$\\mathcal{H}_{Q, t} = -\\sum_{v \\in \\mathcal{V}_Q} P_Q(v \\mid x_{<t}) \\log P_Q(v \\mid x_{<t})$$$$D_t = \\mathcal{L}_{Q, t} + \\beta \\mathcal{H}_{Q, t}$$$$z_t = \\frac{D_t - \\mu_D}{\\sigma_D}$$$$w_t = \\text{clip}\\left(1 + \\alpha \\tanh(z_t), w_{\\min}, w_{\\max}\\right)$$Normalized so that $\\frac{1}{T}\\sum_{t=1}^T w_t = 1.0$.## Streaming Usage with PyTorch & CerebroSpheroid
README.md+6-6