Spaces:
Running
Running
Record development results for abstracts-pilot-s00-trace-r10-fp64
Browse files- README.md +1 -1
- explorer.js +19 -4
- study.json +0 -0
README.md
CHANGED
|
@@ -10,4 +10,4 @@ short_description: Explore measured losses, paired seeds and generated text.
|
|
| 10 |
|
| 11 |
# Third derivatives in language-model training
|
| 12 |
|
| 13 |
-
Explore the measured training curves, held-out comparisons and complete continuations for full-weight training and adapter fine-tuning.
|
|
|
|
| 10 |
|
| 11 |
# Third derivatives in language-model training
|
| 12 |
|
| 13 |
+
Explore the measured training curves, held-out comparisons and complete continuations for full-weight training and adapter fine-tuning. During published training, the public feed sends new observations about every two minutes. Each completed run or evaluation also updates the full archive, figures and paper. [Research archive](https://huggingface.co/BurnyCoder/thirdloss-study) 路 [Paper](https://huggingface.co/BurnyCoder/thirdloss-study/resolve/main/research/reports/paper.pdf) 路 [Collection](https://huggingface.co/collections/BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378)
|
explorer.js
CHANGED
|
@@ -4,6 +4,8 @@
|
|
| 4 |
const element = id => document.getElementById(id);
|
| 5 |
const repository = document.querySelector("a.source").href;
|
| 6 |
const runDirectory = document.querySelector("a.source").dataset.runs || repository + "/tree/main/results/";
|
|
|
|
|
|
|
| 7 |
const local = ["localhost", "127.0.0.1", "[::1]"].includes(location.hostname) ||
|
| 8 |
new URL(location.href).searchParams.get("live") === "1";
|
| 9 |
const metrics = {
|
|
@@ -288,7 +290,7 @@ function showSample() {
|
|
| 288 |
element("prompt-text").textContent = s.prompt ?? "";
|
| 289 |
element("reference-text").textContent = s.reference ?? "No reference continuation was recorded for this prompt.";
|
| 290 |
element("generated-text").textContent = s.continuation ?? "";
|
| 291 |
-
element("raw-sample").href =
|
| 292 |
}
|
| 293 |
|
| 294 |
function showOutputs() {
|
|
@@ -322,13 +324,26 @@ async function refresh() {
|
|
| 322 |
if (local) {
|
| 323 |
try { study = await getData("/live.json"); live = true; }
|
| 324 |
catch { study = await getData("study.json"); }
|
| 325 |
-
} else
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 326 |
render();
|
| 327 |
-
|
|
|
|
|
|
|
| 328 |
const stamp = new Date(study.generated_at);
|
| 329 |
const asOf = Number.isNaN(stamp.valueOf()) ? "time unavailable" :
|
| 330 |
stamp.toLocaleString(undefined, {dateStyle: "medium", timeStyle: "medium"});
|
| 331 |
-
status.textContent = (live ? "Live local metrics" : "Published results") + " 路 Updated " + asOf;
|
| 332 |
status.classList.toggle("live", live);
|
| 333 |
} catch (error) {
|
| 334 |
status.classList.remove("live");
|
|
|
|
| 4 |
const element = id => document.getElementById(id);
|
| 5 |
const repository = document.querySelector("a.source").href;
|
| 6 |
const runDirectory = document.querySelector("a.source").dataset.runs || repository + "/tree/main/results/";
|
| 7 |
+
const hubFeed = "https://huggingface.co/BurnyCoder/thirdloss-study/resolve/main/live.json";
|
| 8 |
+
let downloadUrl;
|
| 9 |
const local = ["localhost", "127.0.0.1", "[::1]"].includes(location.hostname) ||
|
| 10 |
new URL(location.href).searchParams.get("live") === "1";
|
| 11 |
const metrics = {
|
|
|
|
| 290 |
element("prompt-text").textContent = s.prompt ?? "";
|
| 291 |
element("reference-text").textContent = s.reference ?? "No reference continuation was recorded for this prompt.";
|
| 292 |
element("generated-text").textContent = s.continuation ?? "";
|
| 293 |
+
element("raw-sample").href = runDirectory.replace("/tree/main/", "/blob/main/") + encodeURIComponent(entry.run.id) + "/samples.jsonl";
|
| 294 |
}
|
| 295 |
|
| 296 |
function showOutputs() {
|
|
|
|
| 324 |
if (local) {
|
| 325 |
try { study = await getData("/live.json"); live = true; }
|
| 326 |
catch { study = await getData("study.json"); }
|
| 327 |
+
} else {
|
| 328 |
+
study = await getData("study.json");
|
| 329 |
+
try {
|
| 330 |
+
const update = await getData(hubFeed + "?minute=" + Math.floor(Date.now() / 60000));
|
| 331 |
+
if (Date.parse(update.generated_at) > Date.parse(study.generated_at)) {
|
| 332 |
+
const byId = new Map(study.runs.map(run => [run.id, run]));
|
| 333 |
+
for (const run of update.runs) byId.set(run.id, run);
|
| 334 |
+
study = {...study, ...update, runs: [...byId.values()].sort((a,b) => a.id.localeCompare(b.id))};
|
| 335 |
+
live = update.active && Date.now() - Date.parse(update.generated_at) < 300000;
|
| 336 |
+
}
|
| 337 |
+
} catch { /* The full published study stays available between live updates. */ }
|
| 338 |
+
}
|
| 339 |
render();
|
| 340 |
+
if (downloadUrl) URL.revokeObjectURL(downloadUrl);
|
| 341 |
+
downloadUrl = URL.createObjectURL(new Blob([JSON.stringify(study)], {type:"application/json"}));
|
| 342 |
+
element("download-records").href = downloadUrl;
|
| 343 |
const stamp = new Date(study.generated_at);
|
| 344 |
const asOf = Number.isNaN(stamp.valueOf()) ? "time unavailable" :
|
| 345 |
stamp.toLocaleString(undefined, {dateStyle: "medium", timeStyle: "medium"});
|
| 346 |
+
status.textContent = (live ? (local ? "Live local metrics" : "Live training metrics") : "Published results") + " 路 Updated " + asOf;
|
| 347 |
status.classList.toggle("live", live);
|
| 348 |
} catch (error) {
|
| 349 |
status.classList.remove("live");
|
study.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|