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 files
README.md
CHANGED
|
@@ -44,13 +44,13 @@ Each row contains:
|
|
| 44 |
## Information-Density Mathematical Formulation
|
| 45 |
|
| 46 |
For each sequence with teacher causal language model $Q$:
|
| 47 |
-
$$\mathcal{L}_{Q, t} = -\log P_Q(x_t \mid x_{<t})$$
|
| 48 |
-
$$\mathcal{H}_{Q, t} = -\sum_{v \in \mathcal{V}_Q} P_Q(v \mid x_{<t}) \log P_Q(v \mid x_{<t})$$
|
| 49 |
-
$$D_t = \mathcal{L}_{Q, t} + \beta \mathcal{H}_{Q, t}$$
|
| 50 |
-
$$z_t = \frac{D_t - \mu_D}{\sigma_D}$$
|
| 51 |
-
$$w_t = \text{clip}\left(1 + \alpha \tanh(z_t), w_{\min}, w_{\max}\right)$$
|
| 52 |
|
| 53 |
-
Normalized so that $\frac{1}{T}\sum_{t=1}^T w_t = 1.0$.
|
| 54 |
|
| 55 |
## Streaming Usage with PyTorch & CerebroSpheroid
|
| 56 |
|
|
|
|
| 44 |
## Information-Density Mathematical Formulation
|
| 45 |
|
| 46 |
For each sequence with teacher causal language model $Q$:
|
| 47 |
+
$$\\mathcal{L}_{Q, t} = -\\log P_Q(x_t \\mid x_{<t})$$
|
| 48 |
+
$$\\mathcal{H}_{Q, t} = -\\sum_{v \\in \\mathcal{V}_Q} P_Q(v \\mid x_{<t}) \\log P_Q(v \\mid x_{<t})$$
|
| 49 |
+
$$D_t = \\mathcal{L}_{Q, t} + \\beta \\mathcal{H}_{Q, t}$$
|
| 50 |
+
$$z_t = \\frac{D_t - \\mu_D}{\\sigma_D}$$
|
| 51 |
+
$$w_t = \\text{clip}\\left(1 + \\alpha \\tanh(z_t), w_{\\min}, w_{\\max}\\right)$$
|
| 52 |
|
| 53 |
+
Normalized so that $\\frac{1}{T}\\sum_{t=1}^T w_t = 1.0$.
|
| 54 |
|
| 55 |
## Streaming Usage with PyTorch & CerebroSpheroid
|
| 56 |
|