Skip to content

Commit 7a7a26a

Browse files
committed
Update DSL Library frontend
1 parent dd39668 commit 7a7a26a

50 files changed

Lines changed: 9920 additions & 118 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy-pages.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy Model DSL Library
1+
name: Deploy DSL Library
22

33
on:
44
push:
@@ -23,25 +23,32 @@ jobs:
2323
steps:
2424
- name: Check out repository
2525
uses: actions/checkout@v4
26+
2627
- name: Install pnpm
2728
uses: pnpm/action-setup@v4
2829
with:
2930
version: 10
31+
3032
- name: Set up Node.js
3133
uses: actions/setup-node@v4
3234
with:
3335
node-version: 22
3436
cache: pnpm
37+
3538
- name: Install dependencies
3639
run: pnpm install --frozen-lockfile
40+
3741
- name: Build Pages site
3842
run: pnpm run build:pages
43+
3944
- name: Configure Pages
4045
uses: actions/configure-pages@v5
46+
4147
- name: Upload Pages artifact
4248
uses: actions/upload-pages-artifact@v3
4349
with:
4450
path: ./dist
51+
4552
- name: Deploy Pages site
4653
id: deployment
4754
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
.env.*
44
node_modules/
55
dist/
6+
test-artifacts/
67
coverage/
78
*.tsbuildinfo

README.md

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,48 @@
1-
# Model DSL Library
1+
# DSL Library
22

3-
一个用于定义、搜索和比较模型架构的交互式展示 demo。
3+
An interactive research workspace for defining reusable DSL Units, composing
4+
them into typed model search spaces, and inspecting how a meta-model can guide
5+
architecture discovery.
46

5-
首页展示三个 DSL:
7+
The public site is deployed from this repository through GitHub Pages. All
8+
interactive views run in the browser and use bundled static artifacts; no local
9+
server or private experiment directory is required.
610

7-
- **Meta-model Architecture**:用于搜索 MLP 图结构的紧凑图语法。
8-
- **Recurrent Cell**:用于比较记忆、门控和更新路径的序列 cell DSL。
9-
- **Multivariate Patch Attention**:用于多变量天气序列的对称 patch attention DSL。
11+
The library includes:
1012

11-
点击卡片可以查看对应的数据集、任务协议、搜索语法、最佳架构和记录结果。所有内容均为静态浏览器端展示,不包含训练脚本、实验原始数据或个人信息。
13+
- **Overview:** why a DSL is useful, how Units become a Model DSL, and how
14+
ground-truth training plus meta-model screening compresses a large search
15+
space.
16+
- **Model DSLs:** the Recurrent Cell report, including the fixed task protocol,
17+
typed interface, leaderboard, LSTM decomposition, and screened Top-1 cell.
18+
- **DSL Units:** reusable input/output contracts and computation Units such as
19+
MLP, self-attention, cross-attention, add, and gated-update.
20+
- **Architecture Field Guide:** a curated reading index for time-series
21+
architectures and foundation models.
1222

13-
## 本地运行
23+
This is a research demonstration of a controlled search-space language, not a
24+
claim that any displayed architecture is universally optimal.
25+
26+
## Local development
27+
28+
The Overview is served at `/`. The Model DSL catalog, DSL Units catalog,
29+
workflow compatibility route, and field guide are available at `/models/`,
30+
`/syntax/`, `/workflow/`, and `/field-guide/` respectively. Legacy AI4AI
31+
routes remain available under `/ai4ai/`, `/dynamics/`, and `/classic/`.
1432

1533
```bash
16-
pnpm install --frozen-lockfile
34+
pnpm install --ignore-scripts
1735
pnpm run dev
1836
```
1937

20-
## 构建 GitHub Pages
38+
The local production check is:
2139

2240
```bash
23-
pnpm run build:pages
41+
pnpm run build
2442
```
2543

26-
公开页面:<https://bangzhehuang.github.io/Model-DSL-Library/>
44+
The GitHub Pages build uses the repository base path:
45+
46+
```bash
47+
pnpm run build:pages
48+
```

ai4ai/index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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.0" />
6+
<meta name="theme-color" content="#f7f8fb" />
7+
<meta name="description" content="Design and evaluate a meta-model architecture from fixed neural components" />
8+
<title>AI4AI · Meta-model Architecture</title>
9+
</head>
10+
<body>
11+
<div id="root"></div>
12+
<script type="module" src="/src/main.tsx"></script>
13+
</body>
14+
</html>

classic/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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.0" />
6+
<meta name="description" content="Classic Meta-model training dynamics interface" />
7+
<title>Meta-model · Classic</title>
8+
</head>
9+
<body>
10+
<div id="root"></div>
11+
<script type="module" src="/src/main.tsx"></script>
12+
</body>
13+
</html>

dynamics/index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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.0" />
6+
<meta name="theme-color" content="#f7f8fb" />
7+
<meta name="description" content="Predict training dynamics from a meta-model configuration" />
8+
<title>Meta-model · Training Dynamics</title>
9+
</head>
10+
<body>
11+
<div id="root"></div>
12+
<script type="module" src="/src/main.tsx"></script>
13+
</body>
14+
</html>

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!doctype html>
2-
<html lang="zh-CN">
2+
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<meta name="theme-color" content="#ffffff" />
7-
<meta name="description" content="Model DSL Library:用于定义、搜索和比较模型架构的交互式展示。" />
8-
<title>Model DSL Library</title>
7+
<meta name="description" content="An overview of how reusable DSL units define model search spaces and guide architecture discovery" />
8+
<title>Overview · Model DSL Library</title>
99
</head>
1010
<body>
1111
<div id="root"></div>

models/index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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.0" />
6+
<meta name="theme-color" content="#ffffff" />
7+
<meta name="description" content="A library of model DSLs, trained candidate populations, and selected architectures" />
8+
<title>Model DSLs · Model DSL Library</title>
9+
</head>
10+
<body>
11+
<div id="root"></div>
12+
<script type="module" src="/src/main.tsx"></script>
13+
</body>
14+
</html>

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "model-dsl-library",
3-
"private": false,
2+
"name": "dsl-library",
3+
"private": true,
44
"version": "0.1.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite --host 127.0.0.1 --port 5173",
88
"build": "tsc -b && vite build",
9-
"build:pages": "tsc -b && vite build --base=/Model-DSL-Library/",
9+
"build:pages": "tsc -b && vite build --base=/DSL-Library/",
1010
"preview": "vite preview --host 127.0.0.1 --port 4173"
1111
},
1212
"dependencies": {
1.05 MB
Loading

0 commit comments

Comments
 (0)