Spaces:
Running
Running
Download index.html from ElBalor/AlienX-GP-Lab: direct link, hf CLI and curl.
- Browser
- Download file 8.26 kB
-
https://huggingface.co/spaces/ElBalor/AlienX-GP-Lab/resolve/main/index.html
- Command line
-
hf download hf://spaces/ElBalor/AlienX-GP-Lab/index.html
-
curl -L -o index.html https://huggingface.co/spaces/ElBalor/AlienX-GP-Lab/resolve/main/index.html
8.26 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>AlienX GP Lab β Gross-Pitaevskii, Rotation-Flat</title> | |
| <script src="https://cdn.plot.ly/plotly-2.35.2.min.js"></script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;800&family=Cormorant+Garamond:ital,wght@0,500;1,500&display=swap'); | |
| html,body { background:#050508; color:#cfc9c0; font-family:'Cormorant Garamond',serif; margin:0; } | |
| #rune-canvas {position:fixed; inset:0; pointer-events:none; z-index:0; opacity:.5;} | |
| .wrap { position:relative; z-index:1; max-width:1100px; margin:0 auto; padding:24px 18px 60px; } | |
| .necro-title {text-align:center; font-family:'Cinzel',serif; font-weight:800; | |
| font-size:2.3em; letter-spacing:.12em; margin:.15em 0 0; | |
| background:linear-gradient(90deg,#b26bff,#00ffd0 55%,#b26bff); | |
| -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; | |
| animation:necroPulse 3.2s ease-in-out infinite;} | |
| .necro-sub {text-align:center; font-style:italic; color:#8a8577; font-size:1.15em; margin-bottom:.4em;} | |
| @keyframes necroPulse {0%,100%{filter:drop-shadow(0 0 5px #00ffd055)} 50%{filter:drop-shadow(0 0 16px #b26bff99)}} | |
| .card {border:1px solid #2b1c28;border-radius:12px;padding:1.1em 1.3em;margin:1.1em 0; | |
| background:linear-gradient(160deg,#0d0a12,#0d1117); box-shadow:0 0 14px #b26bff14;} | |
| .metrics {font-size:1.15em; color:#d8c9f0; border-left:2px solid #b26bff55; padding-left:.8em;} | |
| .metrics b {color:#b26bff; text-shadow:0 0 8px #b26bff66;} | |
| .impossible {text-align:center; font-family:'Cinzel',serif; font-size:1.45em; color:#e8e3d8; margin:1.1em 0 .3em;} | |
| .impossible .no {color:#b26bff; text-shadow:0 0 14px #b26bff88;} | |
| code {color:#00ffd0;} | |
| a {color:#00ffd0;} | |
| </style> | |
| </head> | |
| <body> | |
| <canvas id="rune-canvas"></canvas> | |
| <div class="wrap"> | |
| <div class="necro-title">ALIENX Β· GP LAB</div> | |
| <div class="necro-sub">a quantum superfluid (GrossβPitaevskii) β walked onto by weights forged on Darcy flow</div> | |
| <div class="card"> | |
| <div class="impossible">"A Darcy-network cannot evolve a quantum wavefunction."</div> | |
| <div class="impossible">It can. <span class="no">0.34β0.40% error at every angle.</span></div> | |
| <div id="angles" style="height:340px;margin-top:.6em;"></div> | |
| <div class="metrics"> | |
| Single-step rel RMSE (interior, 64Β²) of <b>alienx_gp_best.pt</b> against the | |
| split-step Fourier spectral solver β at five rotations it was never rotated-trained on. | |
| The message-weight structure (even complex harmonics, invariant under ΞΈ β ΞΈ + Ο) | |
| simply does not care where north is. <b>This is cross-PDE transfer</b>: same stencil, | |
| same frame machinery, a different equation of physics.</div> | |
| </div> | |
| <div class="card"> | |
| <div class="impossible">"The dark field: let the network walk <i>its own</i> predictions."</div> | |
| <div style="display:flex; gap:8px; justify-content:center; margin:.6em 0;"> | |
| <button class="btn" data-step="0">t = 0</button> | |
| <button class="btn" data-step="1">t = 1</button> | |
| <button class="btn" data-step="2">t = 2</button> | |
| <button class="btn" data-step="3">t = 3</button> | |
| <button class="btn" data-step="4">t = 4</button> | |
| </div> | |
| <div id="rollout" style="height:560px;"></div> | |
| <div class="metrics"> | |
| Top row: <b>spectral solver</b> (12 steps of pure physics per frame). | |
| Bottom row: <b>AlienX</b> β one model step per frame, then it continues <i>from its own | |
| previous output</i> (the dark-field regime where small errors compound). | |
| |Ο| field, dark necromancer colormap. The superfluid density stays coherent: | |
| the vortex lattice the solver nucleates, the network reproduces.</div> | |
| </div> | |
| <div class="card"> | |
| <div class="metrics"> | |
| <code>pip install alienx-labs</code> β <code>ax.load_gp2d()</code> Β· | |
| paper Β§9: <a href="https://huggingface.co/ElBalor/AlienX-2D-Isotropic-Stencil/blob/main/PAPER.md">Cross-PDE Demonstration</a> | |
| Β· labs: <a href="https://huggingface.co/spaces/ElBalor/AlienX-Sigil-Lab-2D">Sigil Lab 2D</a> Β· | |
| <a href="https://huggingface.co/spaces/ElBalor/AlienX-Flow-Lab-3D">Flow Lab 3D</a></div> | |
| </div> | |
| <div class="necro-sub" style="margin-top:2em;">The wavefunction bends to no grid. β Grimoire of ElbΓ lor Β· Eric Yaka Β· AGPL-3.0</div> | |
| </div> | |
| <style> | |
| .btn {background:linear-gradient(90deg,#2a0f45,#003b34); border:1px solid #b26bff55; | |
| color:#e8d9ff; font-family:'Cinzel',serif; padding:.45em 1.2em; border-radius:8px; | |
| cursor:pointer; letter-spacing:.08em;} | |
| .btn:hover {box-shadow:0 0 18px #00ffd055;} | |
| .btn.on {box-shadow:0 0 16px #b26bff88; border-color:#00ffd0aa;} | |
| </style> | |
| <script src="data.js"></script> | |
| <script> | |
| (function(){ | |
| const c=document.getElementById('rune-canvas'); const x=c.getContext('2d'); let W,H; | |
| const GLYPHS=['\u16A0','\u16A1','\u16A2','\u16A3','\u16A8','\u16A9','\u16AA','\u16AB', | |
| '\u16B1','\u16B2','\u16B3','\u16B7','\u16B9','\u16BA','\u16C1','\u16C3', | |
| '\u2721','\u2725','\u2726']; | |
| let P=[]; | |
| function rs(){W=c.width=innerWidth;H=c.height=innerHeight;} | |
| addEventListener('resize',rs); rs(); | |
| function spawn(any){return {x:Math.random()*W,y:any?Math.random()*H:-20, | |
| s:8+Math.random()*11, v:.35+Math.random()*.9, o:.08+Math.random()*.22, | |
| g:GLYPHS[(Math.random()*GLYPHS.length)|0], w:Math.random()*6.28};} | |
| for(let i=0;i<30;i++) P.push(spawn(true)); | |
| function tick(){ | |
| x.clearRect(0,0,W,H); | |
| for(let i=0;i<P.length;i++){let p=P[i]; p.y+=p.v; p.w+=.02; | |
| x.font=p.s+'px serif'; x.fillStyle='rgba(178,107,255,'+p.o+')'; | |
| x.save(); x.translate(p.x+Math.sin(p.w)*6,p.y); x.fillText(p.g,0,0); x.restore(); | |
| if(p.y>H+24) P[i]=spawn(false);} | |
| requestAnimationFrame(tick);} | |
| requestAnimationFrame(tick); | |
| })(); | |
| const THEME={plot_bgcolor:'#0d0a12', paper_bgcolor:'#0d0a12', font:{color:'#cfc9c0'}, | |
| margin:{l:60,r:24,t:52,b:44}}; | |
| /* ββ angle flatness ββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| const aa = [0,45,90,180,270]; | |
| const rr = [GP.ang_0_rel, GP.ang_45_rel, GP.ang_90_rel, GP.ang_180_rel, GP.ang_270_rel].map(v=>v*100); | |
| Plotly.newPlot('angles',[ | |
| {x:aa, y:rr, mode:'lines+markers', line:{color:'#b26bff',width:2.4}, | |
| marker:{size:8,color:'#00ffd0'}, name:'rel RMSE %'}, | |
| {x:[0,270], y:[rr[0],rr[0]], mode:'lines', line:{color:'#e8e3d8',width:1,dash:'dot'}, | |
| name:'spread '+ (Math.max(...rr)-Math.min(...rr)).toFixed(2)+' pp'}], | |
| Object.assign({height:340, title:{text:'Single-step rel RMSE vs rotation β cross-PDE, still flat'}, | |
| xaxis:{title:'rotation of the initial condition (degrees)'}, | |
| yaxis:{title:'rel RMSE (%)'}, legend:{orientation:'h',y:-0.25}}, THEME)); | |
| /* ββ dark-field rollout ββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| function heat(z,cs){return {z:z,colorscale:cs,showscale:false,type:'heatmap', | |
| xaxis:'x',yaxis:'y'};} | |
| let step=0; | |
| function draw(){ | |
| const tr=[heat(GP.rollout_truth[step],'Magma'), | |
| heat(GP.rollout_model[step],'Dark2')]; | |
| Plotly.newPlot('rollout', tr, Object.assign({ | |
| height:560, grid:{rows:2,columns:1,pattern:'independent'}, | |
| title:{text:'|Ο| β spectral solver (top) vs AlienX autoregressive (bottom), frame '+step}, | |
| annotations:[ | |
| {text:'spectral truth',x:0.02,y:0.99,xref:'paper',yref:'paper',showarrow:false, | |
| font:{color:'#9be8d8',size:12}}, | |
| {text:'AlienX (its own footsteps)',x:0.02,y:0.44,xref:'paper',yref:'paper',showarrow:false, | |
| font:{color:'#d8c9f0',size:12}}], | |
| xaxis:{showgrid:false,showticklabels:false}, yaxis:{showgrid:false,showticklabels:false}, | |
| xaxis2:{showgrid:false,showticklabels:false}, yaxis2:{showgrid:false,showticklabels:false} | |
| }, THEME), {responsive:true}); | |
| } | |
| document.querySelectorAll('.btn').forEach(b=>b.addEventListener('click',()=>{ | |
| document.querySelectorAll('.btn').forEach(o=>o.classList.remove('on')); | |
| b.classList.add('on'); step=+b.dataset.step; draw(); | |
| })); | |
| document.querySelector('.btn').classList.add('on'); | |
| draw(); | |
| </script> | |
| </body> | |
| </html> | |