Can111 commited on
Commit
bea6649
·
verified ·
1 Parent(s): f55c5d8

Landing page

Browse files
Files changed (4) hide show
  1. .gitattributes +1 -0
  2. README.md +6 -4
  3. figure1.png +3 -0
  4. index.html +96 -17
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ figure1.png filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
  title: ShellElastic
3
- emoji: 👀
4
- colorFrom: gray
5
  colorTo: yellow
6
  sdk: static
7
- pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
  title: ShellElastic
3
+ emoji: 🐚
4
+ colorFrom: blue
5
  colorTo: yellow
6
  sdk: static
7
+ pinned: true
8
+ license: apache-2.0
9
+ short_description: "Scalable elastic pretraining: checkpoints and data"
10
  ---
11
 
12
+ The landing page of ShellElastic: Scalable Elastic Pretraining with Simultaneous Maximal Updates and Hyperparameter Transfer. It links the checkpoints and the data of the paper.
figure1.png ADDED

Git LFS Details

  • SHA256: 862a06b1ece5306e31ce0b1653b16de6865289105aa385367170d8ec5110049c
  • Pointer size: 131 Bytes
  • Size of remote file: 135 kB
index.html CHANGED
@@ -1,19 +1,98 @@
1
  <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
  <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>ShellElastic: Scalable Elastic Pretraining with Simultaneous Maximal Updates and Hyperparameter Transfer</title>
7
+ <style>
8
+ :root { --fg: rgb(31,35,40); --muted: rgb(89,99,110); --line: rgb(208,215,222); --bg: white; --soft: rgb(246,248,250);
9
+ --link: rgb(9,105,218); }
10
+ @media (prefers-color-scheme: dark) {
11
+ :root { --fg: rgb(230,237,243); --muted: rgb(145,152,161); --line: rgb(61,68,77); --bg: rgb(13,17,23);
12
+ --soft: rgb(22,27,34); --link: rgb(68,147,248); }
13
+ }
14
+ * { box-sizing: border-box; }
15
+ body { margin: 0; background: var(--bg); color: var(--fg);
16
+ font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif; }
17
+ main { max-width: 980px; margin: 0 auto; padding: 32px 16px 56px; }
18
+ a { color: var(--link); text-decoration: none; }
19
+ a:hover { text-decoration: underline; }
20
+ header { text-align: center; }
21
+ h1 { font-size: 2.6em; margin: 0.2em 0 0.3em; padding-bottom: 0.25em; border-bottom: 1px solid var(--line); }
22
+ .subtitle { font-size: 1.55em; font-weight: 600; line-height: 1.3; margin: 0.6em 0; }
23
+ .authors { font-size: 1.15em; margin: 0.9em 0 0.4em; }
24
+ .authors b { font-weight: 600; }
25
+ .author { white-space: nowrap; }
26
+ .affil, .corr { margin: 0.4em 0; }
27
+ .badges { margin: 1.1em 0 0.2em; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
28
+ .badges img { height: 28px; display: block; }
29
+ h2 { font-size: 1.5em; margin: 1.6em 0 0.6em; padding-bottom: 0.3em; border-bottom: 1px solid var(--line); }
30
+ figure { margin: 1.4em 0; }
31
+ figure img { width: 100%; height: auto; background: white; border-radius: 6px; }
32
+ p { margin: 0.7em 0; }
33
+ .table-wrap { overflow-x: auto; }
34
+ table { width: 100%; border-collapse: collapse; font-size: 0.95em; }
35
+ th, td { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; text-align: left; }
36
+ th { background: var(--soft); font-weight: 600; }
37
+ td .note { color: var(--muted); font-size: 0.9em; }
38
+ td.links { white-space: nowrap; }
39
+ @media (max-width: 640px) { td.links { white-space: normal; } }
40
+ .scale-link { display: inline-block; margin: 2px 4px 2px 0; padding: 3px 10px; border: 1px solid var(--line);
41
+ border-radius: 6px; background: var(--soft); font-size: 0.92em; }
42
+ code, .repo { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-size: 0.86em; }
43
+ .repo { overflow-wrap: anywhere; }
44
+ .muted { color: var(--muted); }
45
+ </style>
46
+ </head>
47
+ <body>
48
+ <main>
49
+ <header>
50
+ <h1>ShellElastic</h1>
51
+ <div class="subtitle">Scalable Elastic Pretraining with Simultaneous Maximal Updates and Hyperparameter Transfer</div>
52
+ <p class="authors"><span class="author"><b>Can Jin</b><sup>1*</sup></span> · <span class="author"><b>Yan Kang</b><sup>2</sup></span> · <span class="author"><b>Yifan Gong</b><sup>2</sup></span> · <span class="author"><b>Chongjian Ge</b><sup>2</sup></span> · <span class="author"><b>Mingze Xu</b><sup>2</sup></span> · <span class="author"><b>Yuanjun Xiong</b><sup>2</sup></span> · <span class="author"><b>Dimitris N. Metaxas</b><sup>1</sup></span> · <span class="author"><b>Hongwu Peng</b><sup>2</sup></span></p>
53
+ <p class="affil"><sup>1</sup>Rutgers University &emsp; <sup>2</sup>Adobe Research</p>
54
+ <p class="corr"><sup>*</sup>Corresponding author: <a href="mailto:can.jin@rutgers.edu">can.jin@rutgers.edu</a>. Work done during an
55
+ internship at Adobe Research.</p>
56
+ <div class="badges">
57
+ <a href="https://github.com/jincan333/ShellElastic/tree/main/paper"><img alt="Paper" src="https://img.shields.io/badge/Paper-PDF-b31b1b?style=for-the-badge"></a>
58
+ <a href="http://localhost:8765/"><img alt="Project Page" src="https://img.shields.io/badge/Project-Page-2f6db5?style=for-the-badge"></a>
59
+ <a href="https://github.com/jincan333/ShellElastic"><img alt="Code" src="https://img.shields.io/badge/Code-GitHub-181717?style=for-the-badge&amp;logo=github&amp;logoColor=white"></a>
60
+ <a href="https://huggingface.co/collections/Can111/shellelastic-checkpoints-and-data-6ac41e3a763d5a3fd0e79111"><img alt="Checkpoints" src="https://img.shields.io/badge/Checkpoints-Hugging%20Face-ffd21e?style=for-the-badge&amp;logo=huggingface&amp;logoColor=white"></a>
61
+ <a href="https://huggingface.co/collections/Can111/shellelastic-checkpoints-and-data-6ac41e3a763d5a3fd0e79111"><img alt="Datasets" src="https://img.shields.io/badge/Datasets-Hugging%20Face-ffd21e?style=for-the-badge&amp;logo=huggingface&amp;logoColor=white"></a>
62
+ <a href="https://github.com/jincan333/ShellElastic/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/badge/License-Apache--2.0-3da639?style=for-the-badge&amp;logo=apache&amp;logoColor=white"></a>
63
+ </div>
64
+ </header>
65
+
66
+ <h2>About ShellElastic</h2>
67
+ <figure><img src="figure1.png" alt="Figure 1 of the paper: the ShellElastic architecture"></figure>
68
+ <p>Foundation models need to support diverse inference budgets. Elastic models train several nested sub-networks inside one weight-shared supernet. ShellElastic is an elastic transformer that organizes hidden dimensions into a dense core and successive shells, so that every hidden matrix is block lower triangular. One full-width forward pass contains the exact hidden states of every sub-network, so joint training keeps a fixed computation graph and costs about as much per step as training the widest sub-network alone.</p>
69
+ <p>µ-Elastic extends maximal update parameterization (µP) to ShellElastic and other elastic architectures. Its scaling rules keep all sub-networks of a supernet maximally updated simultaneously, and hyperparameters tuned on a small non-elastic proxy stay near-optimal for elastic families and larger supernets. A single ShellElastic run produces sub-networks that outperform MatFormer and fully elastic baselines at matched parameter counts, and approach separately trained models that together take several times the steps.</p>
70
+
71
+ <h2>Checkpoints</h2>
72
+ <p>Final checkpoints of ShellElastic and four baselines at the three scales of the paper, with sub-networks of about
73
+ 119M–285M, 375M–906M and 675M–1.69B parameters (Section 4.1). Each supernet repository holds all five sub-networks
74
+ (Low, Medium, High, Extra, Max) and its reference implementation; each Standalone and Sampled standalone repository
75
+ holds the five models in the folders <code>low/</code> to <code>max/</code>. The repositories are named
76
+ <code class="repo">Can111/ShellElastic-&lt;scale&gt;</code> and
77
+ <code class="repo">Can111/ShellElastic-baseline-&lt;method&gt;-&lt;scale&gt;</code>.</p>
78
+ <div class="table-wrap"><table>
79
+ <tr><th>Method</th><th>Checkpoints (sub-network sizes)</th></tr>
80
+ <tr><td><b>ShellElastic</b><br><span class="note">Supernet with its five sub-networks (Low, Medium, High, Extra, Max)</span></td><td class="links"><a class="scale-link" title="Can111/ShellElastic-119M-285M" href="https://huggingface.co/Can111/ShellElastic-119M-285M">119M–285M</a> <a class="scale-link" title="Can111/ShellElastic-375M-906M" href="https://huggingface.co/Can111/ShellElastic-375M-906M">375M–906M</a> <a class="scale-link" title="Can111/ShellElastic-675M-1.69B" href="https://huggingface.co/Can111/ShellElastic-675M-1.69B">675M–1.69B</a></td></tr>
81
+ <tr><td><b>MatFormer</b><br><span class="note">Baseline trained for the paper: a supernet that nests only the FFN hidden width</span></td><td class="links"><a class="scale-link" title="Can111/ShellElastic-baseline-MatFormer-119M-285M" href="https://huggingface.co/Can111/ShellElastic-baseline-MatFormer-119M-285M">119M–285M</a> <a class="scale-link" title="Can111/ShellElastic-baseline-MatFormer-375M-906M" href="https://huggingface.co/Can111/ShellElastic-baseline-MatFormer-375M-906M">375M–906M</a> <a class="scale-link" title="Can111/ShellElastic-baseline-MatFormer-675M-1.69B" href="https://huggingface.co/Can111/ShellElastic-baseline-MatFormer-675M-1.69B">675M–1.69B</a></td></tr>
82
+ <tr><td><b>Fully elastic</b><br><span class="note">Baseline trained for the paper: a supernet that slices shared dense matrices</span></td><td class="links"><a class="scale-link" title="Can111/ShellElastic-baseline-FullyElastic-119M-285M" href="https://huggingface.co/Can111/ShellElastic-baseline-FullyElastic-119M-285M">119M–285M</a> <a class="scale-link" title="Can111/ShellElastic-baseline-FullyElastic-375M-906M" href="https://huggingface.co/Can111/ShellElastic-baseline-FullyElastic-375M-906M">375M–906M</a> <a class="scale-link" title="Can111/ShellElastic-baseline-FullyElastic-675M-1.69B" href="https://huggingface.co/Can111/ShellElastic-baseline-FullyElastic-675M-1.69B">675M–1.69B</a></td></tr>
83
+ <tr><td><b>Standalone</b><br><span class="note">Baseline: five separately trained models, each on the full budget</span></td><td class="links"><a class="scale-link" title="Can111/ShellElastic-baseline-Standalone-119M-285M" href="https://huggingface.co/Can111/ShellElastic-baseline-Standalone-119M-285M">119M–285M</a> <a class="scale-link" title="Can111/ShellElastic-baseline-Standalone-375M-906M" href="https://huggingface.co/Can111/ShellElastic-baseline-Standalone-375M-906M">375M–906M</a> <a class="scale-link" title="Can111/ShellElastic-baseline-Standalone-675M-1.69B" href="https://huggingface.co/Can111/ShellElastic-baseline-Standalone-675M-1.69B">675M–1.69B</a></td></tr>
84
+ <tr><td><b>Sampled standalone</b><br><span class="note">Baseline: the five Standalone models trained within the steps of one elastic run</span></td><td class="links"><a class="scale-link" title="Can111/ShellElastic-baseline-SampledStandalone-119M-285M" href="https://huggingface.co/Can111/ShellElastic-baseline-SampledStandalone-119M-285M">119M–285M</a> <a class="scale-link" title="Can111/ShellElastic-baseline-SampledStandalone-375M-906M" href="https://huggingface.co/Can111/ShellElastic-baseline-SampledStandalone-375M-906M">375M–906M</a> <a class="scale-link" title="Can111/ShellElastic-baseline-SampledStandalone-675M-1.69B" href="https://huggingface.co/Can111/ShellElastic-baseline-SampledStandalone-675M-1.69B">675M–1.69B</a></td></tr>
85
+ </table></div>
86
+
87
+ <h2>Data</h2>
88
+ <p><a class="repo" href="https://huggingface.co/datasets/Can111/ShellElastic-data">Can111/ShellElastic-data</a>: the tokenized training and validation data that these runs
89
+ read, in the layout that the code reads. Training: 3,136 shards of DCLM-Baseline
90
+ (141.32 GB, 25,690,112 sequences of 2,049 tokens); validation: 11 shards of held-out C4
91
+ text (1.12 GB, 84,999 sequences).</p>
92
+
93
+ <h2>License</h2>
94
+ <p>The code is released under the <a href="https://github.com/jincan333/ShellElastic/blob/main/LICENSE">Apache License 2.0</a>. The checkpoints and the data are
95
+ released under CC BY 4.0; the data also carry the terms of their sources (see the dataset card).</p>
96
+ </main>
97
+ </body>
98
  </html>