AjitKumar-Bio commited on
Commit
2156241
·
verified ·
1 Parent(s): 3ae5d0b

Initialize Cosmopedia v2 digested dataset card

Browse files
Files changed (1) hide show
  1. README.md +6 -6
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