Skip to content

Commit 54aee65

Browse files
committed
Deploy preview for PR 44 🛫
1 parent df64d67 commit 54aee65

5 files changed

Lines changed: 370 additions & 212 deletions

File tree

pr-preview/pr-44/assets/index-B-ECKep_.js

Lines changed: 209 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-preview/pr-44/assets/index-vL-jFUQM.js

Lines changed: 0 additions & 209 deletions
This file was deleted.

pr-preview/pr-44/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="description" content="大模型日志分析工具 - 分析和可视化机器学习训练日志中的损失函数和梯度范数数据" />
88
<meta name="keywords" content="机器学习,日志分析,数据可视化,损失函数,梯度范数" />
99
<title>大模型日志分析工具 - ML Log Analyzer</title>
10-
<script type="module" crossorigin src="./assets/index-vL-jFUQM.js"></script>
10+
<script type="module" crossorigin src="./assets/index-B-ECKep_.js"></script>
1111
<link rel="stylesheet" crossorigin href="./assets/index-l1e8HaSR.css">
1212
</head>
1313
<body>

pr-preview/pr-44/locales/en/translation.json

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,84 @@
3636
"exportPNG": "Export PNG",
3737
"copyImage": "Copy image",
3838
"exportCSV": "Export CSV",
39-
"copyImageError": "Failed to copy image"
39+
"copyImageError": "Failed to copy image",
40+
"language.en": "English",
41+
"language.zh": "Chinese",
42+
"showToolbar": "Show toolbar",
43+
"hideToolbar": "Hide toolbar",
44+
"intro": "📊 Analyze and visualize loss and gradient norm data from large model training logs",
45+
"status.group": "Tool status and links",
46+
"status.onlineAria": "Currently online version",
47+
"status.online": "Online",
48+
"github.aria": "Open GitHub repository (opens in new window)",
49+
"display.options": "🎛️ Display Options",
50+
"display.chart": "📊 Chart Display",
51+
"display.chartDesc": "Automatically shows charts for all configured metrics after upload",
52+
"display.baseline": "Baseline Settings",
53+
"display.relativeBaseline": "Relative error baseline",
54+
"display.relativeBaselineDesc": "Set baseline value for relative error comparison",
55+
"display.absoluteBaseline": "Absolute error baseline",
56+
"display.absoluteBaselineDesc": "Set baseline value for absolute error comparison",
57+
"sidebar.controlPanel": "Control Panel",
58+
"globalDrag.release": "🎯 Release files to upload",
59+
"globalDrag.support": "Supports <0>all text formats</0> files",
60+
"globalDrag.tip": "Drag files anywhere to upload quickly",
61+
"chart.area": "Chart display area",
62+
"chart.actions": "Chart action buttons",
63+
"chart.diffLabel": "{{title}} difference",
64+
"comparison.panelTitle": "⚖️ {{key}} comparison ({{mode}})",
65+
"comparison.meanNormal": "Mean error (normal): {{value}}",
66+
"comparison.meanAbsolute": "Mean error (absolute): {{value}}",
67+
"comparison.relativeError": "Relative error (normal): {{value}}",
68+
"comparison.meanRelative": "Mean relative error (absolute): {{value}}",
69+
"regex.preset": "Preset",
70+
"regex.selectPreset": "Select preset",
71+
"regex.mode": "Match Mode",
72+
"regex.keyword": "Keyword",
73+
"regex.keywordHint": "Supports fuzzy match, e.g., \"loss\" matches \"training_loss\"",
74+
"regex.regex": "Regular Expression",
75+
"regex.regexHint": "Use capture groups () to extract numbers",
76+
"regex.dataParsing": "Data Parsing Config",
77+
"regex.smartRecommend": "Smart recommend best config",
78+
"regex.previewMatches": "Preview matches",
79+
"regex.deleteConfig": "Remove config",
80+
"regex.metricConfig": "{{title}} parsing config",
81+
"regex.addMetric": "+ Add Metric",
82+
"regex.xRange": "X-axis range",
83+
"regex.reset": "Reset",
84+
"regex.xRangeHint": "Hold <0>Shift</0> and drag on the chart to select range, or input values directly.",
85+
"regex.matchPreview": "Match Preview",
86+
"regex.matchCount": "{{count}} matches",
87+
"regex.lineNumber": "(line {{line}})",
88+
"regex.featureDescAria": "Feature description",
89+
"regex.featureHeading": "🎯 Enhanced parsing:",
90+
"regex.featureKeywordTitle": "Keyword Match",
91+
"regex.featureKeywordDesc": "Simply input a keyword to extract numbers (default)",
92+
"regex.featureRegexTitle": "Regular Expression",
93+
"regex.featureRegexDesc": "Advanced users can use complex patterns",
94+
"regex.featureSmartTitle": "Smart Suggest",
95+
"regex.featureSmartDesc": "One-click best parsing config",
96+
"regex.mode.keyword": "Keyword Match",
97+
"regex.mode.keywordDesc": "Enter keyword to find and extract numbers",
98+
"regex.mode.regex": "Regular Expression",
99+
"regex.mode.regexDesc": "Use regular expressions for advanced matching",
100+
"configModal.configFile": "Configure file: {{name}}",
101+
"configModal.close": "Close configuration dialog",
102+
"configModal.parsingConfig": "Parsing Config",
103+
"configModal.syncFromGlobalTitle": "Sync from global config",
104+
"configModal.syncFromGlobal": "Sync global config",
105+
"configModal.dataRange": "Data Range Config",
106+
"configModal.rangeDesc": "Configure range of data points to display. Defaults to all data (first to last).",
107+
"configModal.start": "Start position",
108+
"configModal.startPlaceholder": "0 (defaults to first data point)",
109+
"configModal.startHint": "Start index (0-based)",
110+
"configModal.end": "End position",
111+
"configModal.endPlaceholder": "Leave empty to show to end",
112+
"configModal.endHint": "End index (exclusive)",
113+
"configModal.examplesHeading": "Examples:",
114+
"configModal.example1": "Start: 0, End: 100 → shows data points 1-100",
115+
"configModal.example2": "Start: 50, End: empty → shows data points 51-end",
116+
"configModal.example3": "Start: 0, End: empty → shows all data points (default)",
117+
"configModal.cancel": "Cancel",
118+
"configModal.save": "Save Config"
40119
}

pr-preview/pr-44/locales/zh/translation.json

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,84 @@
3636
"exportPNG": "导出 PNG",
3737
"copyImage": "复制图片",
3838
"exportCSV": "导出 CSV",
39-
"copyImageError": "复制图片失败"
39+
"copyImageError": "复制图片失败",
40+
"language.en": "English",
41+
"language.zh": "中文",
42+
"showToolbar": "显示工具栏",
43+
"hideToolbar": "隐藏工具栏",
44+
"intro": "📊 分析和可视化大模型训练日志中的损失函数和梯度范数数据",
45+
"status.group": "工具状态和链接",
46+
"status.onlineAria": "当前为在线版本",
47+
"status.online": "在线使用",
48+
"github.aria": "访问 GitHub 仓库(在新窗口中打开)",
49+
"display.options": "🎛️ 显示选项",
50+
"display.chart": "📊 图表显示",
51+
"display.chartDesc": "上传文件后自动展示所有已配置的指标图表",
52+
"display.baseline": "基准线设置",
53+
"display.relativeBaseline": "相对误差 Baseline",
54+
"display.relativeBaselineDesc": "设置相对误差对比的基准线数值",
55+
"display.absoluteBaseline": "绝对误差 Baseline",
56+
"display.absoluteBaselineDesc": "设置绝对误差对比的基准线数值",
57+
"sidebar.controlPanel": "控制面板",
58+
"globalDrag.release": "🎯 释放文件以上传",
59+
"globalDrag.support": "支持 <0>所有文本格式</0> 文件",
60+
"globalDrag.tip": "拖拽到页面任意位置即可快速上传文件",
61+
"chart.area": "图表显示区域",
62+
"chart.actions": "图表操作按钮",
63+
"chart.diffLabel": "{{title}} 差值",
64+
"comparison.panelTitle": "⚖️ {{key}} 对比分析 ({{mode}})",
65+
"comparison.meanNormal": "平均误差 (normal): {{value}}",
66+
"comparison.meanAbsolute": "平均误差 (absolute): {{value}}",
67+
"comparison.relativeError": "相对误差 (normal): {{value}}",
68+
"comparison.meanRelative": "平均相对误差 (absolute): {{value}}",
69+
"regex.preset": "预设",
70+
"regex.selectPreset": "选择预设",
71+
"regex.mode": "匹配模式",
72+
"regex.keyword": "关键词",
73+
"regex.keywordHint": "支持模糊匹配,如 \"loss\" 可匹配 \"training_loss\"",
74+
"regex.regex": "正则表达式",
75+
"regex.regexHint": "使用捕获组 () 来提取数值",
76+
"regex.dataParsing": "数据解析配置",
77+
"regex.smartRecommend": "智能推荐最佳配置",
78+
"regex.previewMatches": "预览匹配结果",
79+
"regex.deleteConfig": "删除配置",
80+
"regex.metricConfig": "{{title}} 解析配置",
81+
"regex.addMetric": "+ 添加指标",
82+
"regex.xRange": "X轴范围",
83+
"regex.reset": "复位",
84+
"regex.xRangeHint": "在图表上按住 <0>Shift</0> 键并拖动鼠标可选择范围,或直接输入数值。",
85+
"regex.matchPreview": "匹配预览",
86+
"regex.matchCount": "({{count}} 个匹配)",
87+
"regex.lineNumber": "(第{{line}}行)",
88+
"regex.featureDescAria": "功能说明",
89+
"regex.featureHeading": "🎯 增强解析功能:",
90+
"regex.featureKeywordTitle": "关键词匹配",
91+
"regex.featureKeywordDesc": "简单输入关键词,自动提取数值(默认模式)",
92+
"regex.featureRegexTitle": "正则表达式",
93+
"regex.featureRegexDesc": "高级用户可使用复杂模式",
94+
"regex.featureSmartTitle": "智能推荐",
95+
"regex.featureSmartDesc": "一键获得最佳解析配置",
96+
"regex.mode.keyword": "关键词匹配",
97+
"regex.mode.keywordDesc": "输入关键词,自动查找并提取数值",
98+
"regex.mode.regex": "正则表达式",
99+
"regex.mode.regexDesc": "使用正则表达式进行高级匹配",
100+
"configModal.configFile": "配置文件: {{name}}",
101+
"configModal.close": "关闭配置对话框",
102+
"configModal.parsingConfig": "解析配置",
103+
"configModal.syncFromGlobalTitle": "从全局配置同步",
104+
"configModal.syncFromGlobal": "同步全局配置",
105+
"configModal.dataRange": "数据范围配置",
106+
"configModal.rangeDesc": "配置要显示的数据点范围。默认显示全部数据(从第一个到最后一个数据点)。",
107+
"configModal.start": "起始位置",
108+
"configModal.startPlaceholder": "0(默认从第一个数据点)",
109+
"configModal.startHint": "第几个数据点开始(从0开始计数)",
110+
"configModal.end": "结束位置",
111+
"configModal.endPlaceholder": "留空显示到最后",
112+
"configModal.endHint": "第几个数据点结束(不包含该点)",
113+
"configModal.examplesHeading": "示例说明:",
114+
"configModal.example1": "起始: 0, 结束: 100 → 显示第1到第100个数据点",
115+
"configModal.example2": "起始: 50, 结束: 留空 → 显示第51个数据点到结尾",
116+
"configModal.example3": "起始: 0, 结束: 留空 → 显示全部数据点(默认)",
117+
"configModal.cancel": "取消",
118+
"configModal.save": "保存配置"
40119
}

0 commit comments

Comments
 (0)