File size: 18,123 Bytes
bb67b50
 
 
 
 
 
 
 
 
c93afa8
 
bb67b50
c93afa8
 
 
 
 
bb67b50
 
 
c93afa8
bb67b50
 
 
c93afa8
bb67b50
 
c93afa8
 
fefdcda
c93afa8
 
 
 
 
 
99ae0fa
 
 
 
 
 
3e20eed
99ae0fa
 
 
bb67b50
2950498
7d829fe
2950498
7d829fe
2950498
7d829fe
 
 
 
 
68b4ede
0572118
bf2b370
 
 
 
 
 
 
 
 
 
 
 
0572118
 
7d829fe
 
 
 
 
 
 
 
bf2b370
 
68b4ede
 
 
2950498
bf2b370
2950498
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68b4ede
 
2950498
bf2b370
 
0572118
bf2b370
 
0572118
 
 
2950498
8e172ba
bf2b370
8e172ba
 
 
 
 
2950498
8e172ba
 
 
2950498
8e172ba
2950498
 
 
 
0572118
2950498
 
bf2b370
2950498
bf2b370
 
 
 
0572118
bf2b370
2950498
0572118
2950498
bf2b370
2950498
 
bf2b370
 
 
 
 
2950498
 
bf2b370
 
 
 
 
2950498
0572118
2950498
 
 
 
 
 
 
 
 
0572118
bf2b370
 
 
0572118
bf2b370
2950498
 
 
 
 
 
 
 
 
bf2b370
68b4ede
 
bf2b370
 
 
 
 
 
8e172ba
7d829fe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bf2b370
8e172ba
bf2b370
 
 
68b4ede
bf2b370
68b4ede
bf2b370
68b4ede
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
---
language: code
tags:
- code
- gpt2
- generation
datasets:
- lvwerra/codeparrot-clean-train
widget:
- text: from transformer import
  example_title: Transformers
- text: "def print_hello_world():\n\t"
  example_title: Hello World!
- text: 'def get_file_size(filepath):'
  example_title: File size
- text: import numpy as
  example_title: Numpy
model-index:
- name: codeparrot
  results:
  - task:
      name: Code Generation
      type: code-generation
    dataset:
      name: HumanEval
      type: openai_humaneval
    metrics:
    - name: pass@1
      type: code_eval
      value: 3.14
    - name: pass@10
      type: code_eval
      value: 8.69
    - name: pass@100
      type: code_eval
      value: 17.88
  - dataset:
      name: HumanEval!
      type: openai_humaneval
    metrics:
    - name: pass@1
      type: code_eval
      value: 3.17
    task:
      name: Code Generation
      type: code-generation
---

# Science Timeline

The org card can't display JS HTML embedded in the markdown. So the workaround is to render it in a model card (here) and export the rendered HTML. Steps:

- Edit the `const releases` section in embedded HTML here with the new release data
- Export the static HTML with the buttons below
- If you are nice, prettify the resulting HTML
- Copy-paste the result into the Org [README](https://huggingface.co/spaces/science/README/blob/main/README.md)
- Tada!

<style>
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.timeline-container { max-width: 1000px; margin: 20px auto; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.timeline-row { display: flex; margin-bottom: 20px; min-height: 120px; position: relative; }
.timeline-row.reverse { flex-direction: row-reverse; }
.month-box { flex: 1; padding: 10px; text-align: center; position: relative; }
.month-arrow { width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 12px solid #666; margin: 0 auto 8px; }
.reverse .month-arrow { border-left: none; border-right: 12px solid #666; }
.month-title { font-weight: 600; font-size: 12px; color: #666; text-transform: uppercase; margin-bottom: 8px; }
.event-list { font-size: 11px; color: #333; }
.event-item { margin: 3px 0; padding: 2px 4px; background: #f8f9fa; border-radius: 3px; }
.timeline-row::before { content: ''; position: absolute; top: 12px; left: 0; right: 0; height: 1px; background: #ddd; z-index: 1; }
.month-box { z-index: 2; background: white; }
</style>

<!-- ADD THESE BUTTONS WHEREVER YOU WANT THEM -->
<div style="margin: 20px 0;">
    <button onclick="exportStaticHTML()" style="background: #007bff; color: white; border: none; padding: 10px 20px; border-radius: 6px; cursor: pointer; margin-right: 10px;">๐Ÿ“‹ Export Static HTML</button>
    <button onclick="copyToClipboard()" style="background: #28a745; color: white; border: none; padding: 10px 20px; border-radius: 6px; cursor: pointer;">๐Ÿ“‹ Copy to Clipboard</button>
</div>

<div id="static-output" style="display: none;"></div>

<div id="snake-timeline-container" style="max-width: 1000px; margin: 20px auto; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.1);">
Loading timeline...
</div>

<script>
// Release data with links
const releases = [
    { month: "2024-01", name: "๐Ÿ”ฅ Warming up", link: null },
    { month: "2024-02", name: "โš™๏ธ Nanotron Release", link: "https://github.com/huggingface/nanotron/" },
    { month: "2024-02", name: "โ›… Lighteval Release", link: "https://github.com/huggingface/lighteval/" },
    { month: "2024-02", name: "โš™๏ธ Datatrove Release", link: "https://github.com/huggingface/datatrove/" },
    { month: "2024-02", name: "โญ๏ธ The Stack v2", link: "https://huggingface.co/datasets/bigcode/the-stack-v2" },
    { month: "2024-02", name: "โญ๏ธ StarCoder2", link: "https://huggingface.co/bigcode/starcoder2-15b" },
    { month: "2024-03", name: "๐Ÿช Zephyr Gemma", link: "https://huggingface.co/HuggingFaceH4/zephyr-7b-gemma-v0.1" },
    { month: "2024-03", name: "๐Ÿช Cosmopedia", link: "https://huggingface.co/datasets/HuggingFaceTB/cosmopedia" },
    { month: "2024-04", name: "๐Ÿท FineWeb", link: "https://huggingface.co/datasets/HuggingFaceFW/fineweb" },
    { month: "2024-04", name: "๐Ÿ•ต๏ธ JAT Agent", link: "https://huggingface.co/blog/jat" },
    { month: "2024-04", name: "๐Ÿช Zephyr Mixtral", link: "HuggingFaceH4/zephyr-orpo-141b-A35b-v0.1" },
    { month: "2024-04", name: "๐Ÿถ Idefics 2", link: "https://huggingface.co/HuggingFaceM4/idefics2-8bb" },
    { month: "2024-04", name: "๐Ÿ† Community Leaderboards", link: "https://huggingface.co/blog/leaderboard-medicalllm" },
    { month: "2024-05", name: "๐Ÿฆพ LeRobot Release", link: "https://github.com/huggingface/lerobot" },
    { month: "2024-05", name: "๐Ÿ“ˆ WSD Analysis", link: "https://arxiv.org/abs/2405.18392" },
    { month: "2024-06", name: "๐Ÿท FineWeb Report", link: "https://huggingface.co/spaces/HuggingFaceFW/blogpost-fineweb-v1f" },
    { month: "2024-06", name: "๐Ÿท FineWeb-Edu", link: "https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu" },
    { month: "2024-06", name: "๐ŸŒบ Florence 2 Blog", link: "https://huggingface.co/blog/finetune-florence2" },
    { month: "2024-06", name: "๐Ÿ† Open LLM Leaderboard v2", link: "https://huggingface.co/spaces/open-llm-leaderboard/blog" },
    { month: "2024-06", name: "๐Ÿ‘ฉโ€๐Ÿซ Stanford CS25", link: "https://www.youtube.com/watch?v=jm2hyJLFfN8" },
    { month: "2024-07", name: "๐Ÿ›Ÿ Ring attention", link: "https://x.com/Haojun_Zhao14/status/1815419356408336738" },
    { month: "2024-07", name: "๐Ÿฆพ LeRobot TeleOps", link: "https://x.com/RemiCadene/status/1805583409382932620" },
    { month: "2024-07", name: "๐Ÿฅ‡ Win AIMO", link: "https://x.com/_lewtun/status/1808898804822720769" },
    { month: "2024-07", name: "๐Ÿถ Docmatix", link: "https://huggingface.co/blog/docmatix" },
    { month: "2024-07", name: "๐Ÿค SmolLM", link: "https://huggingface.co/blog/smollm" },
    { month: "2024-08", name: "๐Ÿฆพ LeRobot Tutorial", link: "https://github.com/huggingface/lerobot/blob/main/examples/7_get_started_with_real_robot.md" },
    { month: "2024-08", name: "๐Ÿ“ฃ Speech-to-Speech", link: "https://github.com/huggingface/speech-to-speech" },
    { month: "2024-08", name: "๐Ÿถ Idefics 3", link: "https://huggingface.co/HuggingFaceM4/Idefics3-8B-Llama3" },
    { month: "2024-08", name: "๐Ÿค Instant SmolLM", link: "https://huggingface.co/spaces/HuggingFaceTB/instant-smollm" },
    { month: "2024-09", name: "๐Ÿฆพ LeRobot Video", link: "https://x.com/alibert_s/status/1828760527730082024" },
    { month: "2024-09", name: "๐ŸŽฅ FineVideo", link: "https://huggingface.co/spaces/HuggingFaceFV/FineVideo-Explorer" },
    { month: "2024-09", name: "๐Ÿ“ฃ Speech-to-Speech Multilingual", link: "https://x.com/andi_marafioti/status/1830862304906268725" },
    { month: "2024-10", name: "๐Ÿ”Ž LLM Evaluation Guidebook", link: "https://github.com/huggingface/evaluation-guidebook" },
    { month: "2024-10", name: "๐Ÿฆพ LeRobot Hackathon", link: "https://x.com/Thom_Wolf/status/1851557379294286176" },
    { month: "2024-10", name: "๐Ÿ—บ๏ธ FineTasks", link: "https://huggingface.co/spaces/HuggingFaceFW/blogpost-fine-tasks" },
    { month: "2024-10", name: "โ›… Lighteval now Multilingual", link: "https://x.com/nathanhabib1011/status/1849160216438587466" },
    { month: "2024-11", name: "๐Ÿค SmolLM2", link: "https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct" },
    { month: "2024-11", name: "๐Ÿค“ SmolVLM", link: "https://huggingface.co/HuggingFaceTB/SmolVLM-Instruct" },
    { month: "2024-12", name: "๐Ÿ”ข Number Tokenization Blog", link: "https://huggingface.co/spaces/huggingface/number-tokenization-blog" },
    { month: "2024-12", name: "๐Ÿฅ‚ FineWeb 2", link: "https://huggingface.co/datasets/HuggingFaceFW/fineweb-2" },
    { month: "2024-12", name: "๐Ÿ“ˆ Scaling Test Time Compute", link: "https://huggingface.co/spaces/HuggingFaceH4/blogpost-scaling-test-time-compute" },
    { month: "2024-12", name: "๐Ÿค– Picotron", link: "https://github.com/huggingface/picotron" },
    { month: "2024-12", name: "๐Ÿ“ FineMath", link: "https://huggingface.co/datasets/HuggingFaceTB/finemath" },
    // 2025
    { month: "2025-01", name: "๐Ÿงฎ Math Verify", link: "https://x.com/HKydlicek/status/1881734376696041659" },
    { month: "2025-01", name: "๐Ÿณ Open-R1", link: "https://github.com/huggingface/open-r1" },
    { month: "2025-01", name: "๐Ÿ› ๏ธ SmolAgents", link: "https://huggingface.co/docs/smolagents" },
    { month: "2025-02", name: "๐ŸŽฅ SmolVLM2", link: "https://huggingface.co/blog/smolvlm2" },
    { month: "2025-02", name: "๐Ÿช Ultra-Scale Playbook", link: "https://huggingface.co/spaces/nanotron/ultrascale-playbook" },
    { month: "2025-02", name: "๐Ÿ‹ OpenR1-Math-220k", link: "https://huggingface.co/datasets/open-r1/OpenR1-Math-220k" },
    { month: "2025-02", name: "๐Ÿ•บ DABstep", link: "https://huggingface.co/blog/dabstep" },
    { month: "2025-02", name: "๐Ÿ”Ž Open Deep Research", link: "https://huggingface.co/blog/open-deep-research" },
    { month: "2025-02", name: "๐Ÿ“ SmolLM2 report", link: "https://huggingface.co/papers/2502.02737" },
    { month: "2025-02", name: "๐Ÿค– Pi0 Integration", link: "https://x.com/RemiCadene/status/1886823939856589296" },
    { month: "2025-03", name: "๐Ÿ“„ SmolDocling", link: "https://huggingface.co/ds4sd/SmolDocling-256M-preview" },
    { month: "2025-03", name: "๐Ÿง‘โ€๐ŸŽ“ DCLM-edu", link: "https://huggingface.co/datasets/HuggingFaceTB/dclm-edu" },
    { month: "2025-03", name: "๐Ÿ’พ Stack-edu", link: "https://huggingface.co/datasets/HuggingFaceTB/stack-edu" },
    { month: "2025-03", name: "๐Ÿ… Olympic Coder", link: "https://huggingface.co/open-r1/OlympicCoder-7B" },
    { month: "2025-03", name: "๐ŸŒ… Leaderboard Sunset", link: "https://x.com/clefourrier/status/1900280339613860057" },
    { month: "2025-03", name: "๐Ÿ”Ž Find a Leaderboard", link: "https://huggingface.co/spaces/OpenEvals/find-a-leaderboard" },
    { month: "2025-03", name: "๐Ÿš— LeKiwi", link: "https://x.com/RemiCadene/status/1896535455325442390" },
    { month: "2025-04", name: "๐Ÿช‘ YourBench", link: "https://huggingface.co/spaces/yourbench/demo" },
    { month: "2025-04", name: "๐Ÿฆพ SO-101", link: "https://x.com/RemiCadene/status/1916751964807057515" },
    { month: "2025-04", name: "๐Ÿง‘โ€๐ŸŽ“ DeepLearning AI Agent Course", link: "https://x.com/DeepLearningAI/status/1915081924302839984" },
    { month: "2025-05", name: "๐Ÿค nanoVLM", link: "https://github.com/huggingface/nanoVLM" },
    { month: "2025-05", name: "๐Ÿ“ OpenR1-Codeforces", link: "https://huggingface.co/datasets/open-r1/codeforces" },
    { month: "2025-05", name: "๐Ÿง  Mixture of Thoughts", link: "https://huggingface.co/datasets/open-r1/Mixture-of-Thoughts" },
    { month: "2025-05", name: "๐Ÿ’ป Open Computer Agent", link: "https://huggingface.co/spaces/smolagents/computer-agent" },
    { month: "2025-05", name: "๐Ÿฃ Reachy Mini", link: "https://x.com/Thom_Wolf/status/1928103448970473962" },
    { month: "2025-06", name: "๐Ÿค– LeRobot Hackathon", link: "https://x.com/RemiCadene/status/1917118988959813699" },
    { month: "2025-06", name: "๐Ÿค– SmolVLA", link: "https://huggingface.co/collections/lerobot/smolvla-683c072ec3ef6ab0fcb87e60" },
    { month: "2025-06", name: "๐Ÿ–ฅ๏ธ ScreenSuite", link: "https://github.com/huggingface/screensuite" }
];


function createSnakeTimeline() {
    // Group by month
    const grouped = {};
    releases.forEach(item => {
        if (!grouped[item.month]) grouped[item.month] = [];
        grouped[item.month].push(item);
    });
    
    const months = Object.keys(grouped).sort().reverse(); // Reverse to show latest first
    
    // Create rows of 4 months each
    const rows = [];
    for (let i = 0; i < months.length; i += 4) {
        rows.push(months.slice(i, i + 4));
    }
    
    let html = '<div style="font-family: -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif; position: relative;">';
    
    rows.forEach((row, rowIndex) => {
        const isReverse = rowIndex % 2 === 1;
        // For reverse rows, we need to reverse the month order, not the display order
        const displayRow = isReverse ? [...row].reverse() : row;
        const isLastRow = rowIndex === rows.length - 1;
        
        // Row container - the flex direction should always be normal
        html += `<div style="display: flex; margin-bottom: 32px; min-height: 140px; position: relative;">`;
        
        // Horizontal connecting line (aligned with arrows)
        html += `<div style="position: absolute; top: 8px; left: 0; right: 0; height: 1px; background: #e0e0e0; z-index: 1;"></div>`;
        
        displayRow.forEach((monthKey, monthIndex) => {
            const [year, month] = monthKey.split('-');
            const monthName = new Date(year, month - 1).toLocaleString('en', { month: 'short' }).toUpperCase();
            const events = grouped[monthKey] || [];
            const isYearMarker = month === '01';
            
            // Month container
            html += `<div style="flex: 1; padding: 0 15px; text-align: center; position: relative; z-index: 2;">`;
            
            // Arrow (positioned to align with horizontal line) - flipped for reverse chronological order
            const arrowStyle = isReverse 
                ? 'width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid #666; margin: 2px auto 12px;'
                : 'width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-right: 10px solid #666; margin: 2px auto 12px;';
            
            html += `<div style="${arrowStyle}"></div>`;
            
            // Month title
            const titleStyle = isYearMarker 
                ? 'font-weight: 600; font-size: 14px; color: #1a1a1a; background: #f0f0f0; padding: 4px 12px; border-radius: 12px; margin-bottom: 16px; display: inline-block;'
                : 'font-weight: 500; font-size: 13px; color: #666; text-transform: uppercase; margin-bottom: 16px; letter-spacing: 0.5px;';
            
            const titleText = isYearMarker ? `${monthName} ${year}` : monthName;
            html += `<div style="${titleStyle}">${titleText}</div>`;
            
            // Events
            html += `<div style="font-size: 12px; color: #4a4a4a; max-width: 180px; margin: 0 auto; display: flex; flex-direction: column; gap: 6px;">`;
            events.forEach(event => {
                if (event.link && event.link !== '#') {
                    // Clickable event with link
                    html += `<a href="${event.link}" target="_blank" style="text-decoration: none; color: inherit;">
                                <div style="padding: 6px 8px; background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 6px; line-height: 1.4; transition: all 0.2s ease; box-shadow: 0 1px 2px rgba(0,0,0,0.05); cursor: pointer;" onmouseover="this.style.transform='translateY(-1px)'; this.style.boxShadow='0 2px 4px rgba(0,0,0,0.1)'; this.style.background='#e3f2fd'" onmouseout="this.style.transform='translateY(0)'; this.style.boxShadow='0 1px 2px rgba(0,0,0,0.05)'; this.style.background='#f8f9fa'">${event.name}</div>
                             </a>`;
                } else {
                    // Non-clickable event
                    html += `<div style="padding: 6px 8px; background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 6px; line-height: 1.4; color: #6c757d;">${event.name}</div>`;
                }
            });
            html += `</div>`;
            
            html += `</div>`; // Close month container
        });
        
        // Add vertical connector if not the last row
        if (!isLastRow) {
            const connectorStyle = isReverse 
                ? 'position: absolute; width: 1px; height: calc(100% + 32px); background: #e0e0e0; top: 8px; left: 0; z-index: 1;'
                : 'position: absolute; width: 1px; height: calc(100% + 32px); background: #e0e0e0; top: 8px; right: 0; z-index: 1;';
            
            html += `<div style="${connectorStyle}"></div>`;
        }
        
        html += `</div>`; // Close row
    });
    
    html += '</div>';
    
    // Insert the timeline
    const container = document.getElementById('snake-timeline-container');
    if (container) {
        container.innerHTML = html;
    }
    return html;
}

// Export functions - ADD THESE TO YOUR EXISTING SCRIPT
function exportStaticHTML() {
    const staticHTML = createSnakeTimeline();
    const output = document.getElementById('static-output');
    if (!output) {
        // Create output div if it doesn't exist
        const outputDiv = document.createElement('div');
        outputDiv.id = 'static-output';
        outputDiv.style.cssText = 'background: #f8f9fa; border: 1px solid #ddd; padding: 15px; border-radius: 6px; font-family: monospace; font-size: 12px; max-height: 300px; overflow-y: auto; white-space: pre-wrap; word-break: break-all; margin-top: 15px;';
        document.body.appendChild(outputDiv);
    }
    output.style.display = 'block';
    output.textContent = `<div id="snake-timeline-container" style="max-width: 1000px; margin: 20px auto; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.1);">
${staticHTML}
</div>`;
}

function copyToClipboard() {
    const output = document.getElementById('static-output');
    if (output && output.textContent) {
        navigator.clipboard.writeText(output.textContent).then(() => {
            alert('โœ… Static HTML copied to clipboard!');
        });
    } else {
        alert('โš ๏ธ Please export first!');
    }
}

// Run with multiple fallbacks
setTimeout(createSnakeTimeline, 100);
setTimeout(createSnakeTimeline, 500);
if (document.readyState === 'loading') {
    document.addEventListener('DOMContentLoaded', createSnakeTimeline);
} else {
    createSnakeTimeline();
}
</script>