@genai-fi/nanogpt 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/{DatasetBuilder-B9UGNQT5.js → DatasetBuilder-Ctb425Id.js} +111 -111
  2. package/dist/Generator.js +1 -1
  3. package/dist/TeachableLLM.d.ts +2 -1
  4. package/dist/TeachableLLM.js +1 -1
  5. package/dist/Trainer.d.ts +1 -1
  6. package/dist/Trainer.js +1 -1
  7. package/dist/data/stream.d.ts +24 -0
  8. package/dist/data/stream.js +2 -0
  9. package/dist/data/textLoader.d.ts +2 -2
  10. package/dist/data/textLoader.js +28 -67
  11. package/dist/loader/load.js +1 -1
  12. package/dist/loader/loadHF.js +1 -1
  13. package/dist/loader/loadTransformers.js +1 -1
  14. package/dist/loader/newZipLoad.js +1 -1
  15. package/dist/loader/oldZipLoad.js +1 -1
  16. package/dist/loader/save.js +1 -1
  17. package/dist/{main-DdsoTJAW.js → main-Bgc7_9kb.js} +18 -17
  18. package/dist/main.d.ts +3 -0
  19. package/dist/main.js +13 -11
  20. package/dist/models/NanoGPTV1.js +1 -1
  21. package/dist/models/NanoGPTV2.js +1 -1
  22. package/dist/models/factory.js +1 -1
  23. package/dist/models/model.js +1 -1
  24. package/dist/stream-DKl3GTDL.js +2287 -0
  25. package/dist/tokeniser/BaseTokeniser.d.ts +2 -1
  26. package/dist/tokeniser/CharTokeniser.d.ts +2 -2
  27. package/dist/tokeniser/CharTokeniser.js +7 -11
  28. package/dist/tokeniser/bpe.d.ts +2 -2
  29. package/dist/tokeniser/bpe.js +18 -27
  30. package/dist/tokeniser/type.d.ts +3 -2
  31. package/dist/training/DatasetBuilder.d.ts +1 -1
  32. package/dist/training/DatasetBuilder.js +1 -1
  33. package/dist/training/PreTrainer.js +1 -1
  34. package/dist/training/SFTTrainer.js +1 -1
  35. package/dist/training/tasks/ConversationTask.d.ts +9 -10
  36. package/dist/training/tasks/ConversationTask.js +15 -24
  37. package/dist/training/tasks/PretrainingTask.d.ts +4 -4
  38. package/dist/training/tasks/PretrainingTask.js +2 -2
  39. package/dist/training/tasks/StartSentenceTask.d.ts +4 -4
  40. package/dist/training/tasks/StartSentenceTask.js +3 -3
  41. package/dist/training/tasks/Task.d.ts +9 -11
  42. package/dist/training/tasks/Task.js +14 -27
  43. package/dist/training/tasks/splitter.d.ts +2 -2
  44. package/dist/training/tasks/splitter.js +11 -11
  45. package/dist/training/validation.d.ts +1 -1
  46. package/dist/training/validation.js +1 -1
  47. package/dist/utilities/tokens.d.ts +2 -0
  48. package/dist/utilities/tokens.js +40 -0
  49. package/dist/utilities/topP.js +6 -0
  50. package/package.json +2 -1
@@ -1,9 +1,10 @@
1
1
  import { i as e, t } from "../chunk-CWhphoD1.js";
2
2
  import { loadPDF as n } from "./pdf.js";
3
- import { loadDOCX as r, t as i } from "./docx.js";
3
+ import { loadDOCX as r } from "./docx.js";
4
+ import { n as i, r as a, t as o } from "../stream-DKl3GTDL.js";
4
5
  //#endregion
5
6
  //#region lib/data/textLoader.ts
6
- var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
7
+ var s = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
7
8
  ((n, r) => {
8
9
  typeof define == "function" && define.amd ? define([], r) : typeof t == "object" && e !== void 0 ? t.exports = r() : n.Papa = r();
9
10
  })(e, function e() {
@@ -496,19 +497,19 @@ var a = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
496
497
  });
497
498
  }), (l.prototype = Object.create(c.prototype)).constructor = l, (u.prototype = Object.create(c.prototype)).constructor = u, (d.prototype = Object.create(d.prototype)).constructor = d, (f.prototype = Object.create(c.prototype)).constructor = f, s;
498
499
  });
499
- })))(), 1), o = /* @__PURE__ */ e(i(), 1);
500
- function s(e, t) {
500
+ })))(), 1);
501
+ function c(e, t) {
501
502
  let n = e.findIndex((e) => e.toLowerCase() === t.toLowerCase());
502
503
  return n === -1 ? 0 : n;
503
504
  }
504
- function c(e) {
505
+ function l(e) {
505
506
  return e.every((e) => e.length < 64);
506
507
  }
507
- function l(e) {
508
+ function u(e) {
508
509
  return e.split(".").pop() || "";
509
510
  }
510
- function u(e) {
511
- switch (l(e)) {
511
+ function d(e) {
512
+ switch (u(e)) {
512
513
  case "json": return "application/json";
513
514
  case "jsonl": return "application/jsonl";
514
515
  case "parquet": return "application/parquet";
@@ -520,19 +521,14 @@ function u(e) {
520
521
  default: return "unknown";
521
522
  }
522
523
  }
523
- function d(e) {
524
- if (!Array.isArray(e)) return !1;
525
- let t = e[0];
526
- return typeof t == "object" && !!t && "role" in t && "content" in t && typeof t.role == "string" && typeof t.content == "string";
527
- }
528
- async function f(e, t, i) {
529
- let l = e.type === "" ? u(e.name) : e.type;
530
- if (l === "application/parquet") throw Error("Parquet loading is not currently supported in the browser. Please convert your data to JSONL format.");
531
- if (l === "application/pdf") return n(e, t?.maxSize);
532
- if (l === "application/vnd.openxmlformats-officedocument.wordprocessingml.document") return r(e);
533
- if (l === "application/json") {
524
+ async function f(e, t) {
525
+ let u = e.type === "" ? d(e.name) : e.type;
526
+ if (u === "application/parquet") throw Error("Parquet loading is not currently supported in the browser. Please convert your data to JSONL format.");
527
+ if (u === "application/pdf") return new i(await n(e, t?.maxSize));
528
+ if (u === "application/vnd.openxmlformats-officedocument.wordprocessingml.document") return new i(await r(e));
529
+ if (u === "application/json") {
534
530
  let t = await e.text(), n = JSON.parse(t);
535
- if (Array.isArray(n)) return n.map((e) => [typeof e == "string" ? {
531
+ if (Array.isArray(n)) return new i(n.map((e) => [typeof e == "string" ? {
536
532
  role: "text",
537
533
  content: e
538
534
  } : "text" in e ? {
@@ -541,61 +537,26 @@ async function f(e, t, i) {
541
537
  } : {
542
538
  role: "text",
543
539
  content: JSON.stringify(e)
544
- }]);
540
+ }]));
545
541
  throw Error("Expected JSON array");
546
542
  }
547
- if (l === "application/jsonl") {
548
- let t = await e.text();
549
- return i && i(.1), t.split("\n").filter((e) => e.trim() !== "").map((e, t, n) => {
550
- i && t % 1e3 == 0 && i(.1 + t / n.length * .9);
551
- try {
552
- let t = JSON.parse(e);
553
- return d(t) ? t : [typeof t == "string" ? {
554
- role: "text",
555
- content: t
556
- } : "text" in t ? {
557
- role: "text",
558
- content: t.text
559
- } : {
560
- role: "text",
561
- content: JSON.stringify(t)
562
- }];
563
- } catch {
564
- return [{
565
- role: "text",
566
- content: e
567
- }];
568
- }
569
- });
570
- }
571
- if (l === "application/zip") {
572
- let n = await o.default.loadAsync(e), r = [], a = Object.keys(n.files);
573
- for (let e = 0; e < a.length; e++) {
574
- let o = a[e], s = n.file(o);
575
- if (s) {
576
- let n = await s.async("blob", (t) => {
577
- i && i(.1 + (t.percent / 100 * .9 / a.length + e / a.length * .9));
578
- }), c = await f(new File([n], o), t);
579
- i && i(.1 + (e + 1) / a.length * .9), r = r.concat(c);
580
- }
581
- }
582
- return r;
583
- }
584
- if (l === "text/csv") {
543
+ if (u === "application/jsonl") return new o(e);
544
+ if (u === "application/zip") return new a(e);
545
+ if (u === "text/csv") {
585
546
  let n = await e.text();
586
- return i && i(.1), new Promise((e, r) => {
587
- a.default.parse(n, {
547
+ return new Promise((e, r) => {
548
+ s.default.parse(n, {
588
549
  header: !1,
589
550
  skipEmptyLines: !0,
590
551
  delimiter: ",",
591
552
  complete: (n) => {
592
553
  if (n.errors.length > 0) console.error(n.errors), r(/* @__PURE__ */ Error("Error parsing file"));
593
554
  else {
594
- let r = s(n.data[0], t?.column || "text");
595
- e((t?.hasHeader ?? c(n.data[0]) ? n.data.slice(1) : n.data).map((e) => [{
555
+ let r = c(n.data[0], t?.column || "text");
556
+ e(new i((t?.hasHeader ?? l(n.data[0]) ? n.data.slice(1) : n.data).map((e) => [{
596
557
  role: "text",
597
558
  content: e[r]
598
- }]));
559
+ }])));
599
560
  }
600
561
  },
601
562
  error: (e) => {
@@ -603,11 +564,11 @@ async function f(e, t, i) {
603
564
  }
604
565
  });
605
566
  });
606
- } else if (l === "text/plain") return [[{
567
+ } else if (u === "text/plain") return new i([[{
607
568
  role: "text",
608
569
  content: await e.text()
609
- }]];
610
- throw Error(`Unsupported file type: ${l}`);
570
+ }]]);
571
+ throw Error(`Unsupported file type: ${u}`);
611
572
  }
612
573
  //#endregion
613
574
  export { f as default };
@@ -1,2 +1,2 @@
1
- import { d as e, u as t } from "../main-DdsoTJAW.js";
1
+ import { d as e, u as t } from "../main-Bgc7_9kb.js";
2
2
  export { t as VERSION, e as loadModel };
@@ -1,2 +1,2 @@
1
- import { f as e } from "../main-DdsoTJAW.js";
1
+ import { f as e } from "../main-Bgc7_9kb.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { h as e, m as t } from "../main-DdsoTJAW.js";
1
+ import { h as e, m as t } from "../main-Bgc7_9kb.js";
2
2
  export { t as default, e as mapTransformersConfigToGPTConfig };
@@ -1,2 +1,2 @@
1
- import { p as e } from "../main-DdsoTJAW.js";
1
+ import { p as e } from "../main-Bgc7_9kb.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { g as e } from "../main-DdsoTJAW.js";
1
+ import { g as e } from "../main-Bgc7_9kb.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { l as e } from "../main-DdsoTJAW.js";
1
+ import { l as e } from "../main-Bgc7_9kb.js";
2
2
  export { e as saveModel };
@@ -6,7 +6,7 @@ import { A as Er, C as Dr, D as Or, E as kr, F as Ar, I as jr, L as Mr, M as Nr,
6
6
  import { a as Xr, i as Zr, n as Qr, o as $r, r as ei, t as ti } from "./slice_util-Dve4TkDn.js";
7
7
  import { n as ni, t as ri } from "./concat_util-CWzvQQlK.js";
8
8
  import { a as ii, c as ai, i as oi, n as si, o as ci, r as li, s as ui, t as di } from "./complex_util-CkazZsaH.js";
9
- import { i as fi } from "./DatasetBuilder-B9UGNQT5.js";
9
+ import { i as fi } from "./DatasetBuilder-Ctb425Id.js";
10
10
  import { $ as pi, A as mi, B as hi, C as gi, D as _i, E as vi, F as yi, G as bi, H as xi, I as Si, J as Ci, K as wi, L as Ti, M as Ei, N as Di, O as Oi, P as ki, Q as Ai, R as ji, S as Mi, T as Ni, U as Pi, V as Fi, W as Ii, X as Li, Y as Ri, Z as zi, _ as Bi, _t as Vi, a as Hi, at as Ui, b as Wi, c as Gi, ct as Ki, d as qi, dt as Ji, et as Yi, f as Xi, ft as Zi, g as Qi, gt as $i, h as ea, ht as ta, i as na, it as ra, j as ia, k as aa, l as oa, lt as sa, m as ca, mt as la, n as ua, nt as da, o as fa, ot as pa, p as ma, pt as ha, q as ga, r as _a, rt as va, s as ya, st as ba, tt as H, u as xa, ut as Sa, v as Ca, vt as wa, w as Ta, x as Ea, y as Da, yt as U, z as Oa } from "./shared-24EoeHJl.js";
11
11
  import { $ as ka, A as Aa, B as ja, C as Ma, D as Na, E as Pa, F as Fa, G as Ia, H as La, I as Ra, J as za, K as Ba, L as Va, M as Ha, N as Ua, O as Wa, P as Ga, Q as Ka, R as qa, S as Ja, T as Ya, U as Xa, V as Za, W as Qa, X as $a, Y as W, Z as eo, _ as to, a as no, b as ro, c as io, et as ao, f as oo, g as so, h as co, i as lo, it as uo, j as fo, k as po, l as mo, m as ho, n as go, nt as _o, o as G, p as vo, q as yo, r as bo, rt as xo, s as So, t as Co, tt as wo, u as To, v as K, w as Eo, x as Do, y as Oo, z as ko } from "./gpgpu_math-DBYEAAdI.js";
12
12
  import { A as Ao, B as jo, C as Mo, D as No, E as Po, F as Fo, G as Io, H as Lo, I as Ro, J as zo, K as Bo, L as Vo, M as Ho, N as Uo, O as Wo, P as Go, R as Ko, S as qo, T as Jo, U as Yo, V as Xo, W as Zo, Y as Qo, _ as $o, a as es, c as ts, d as ns, f as rs, g as is, h as as, i as os, j as ss, k as cs, l as ls, m as us, n as ds, o as fs, p as ps, q as ms, r as hs, s as gs, t as _s, u as vs, v as ys, w as bs, x as xs, y as Ss, z as Cs } from "./shared-CfTzpULd.js";
@@ -56,6 +56,7 @@ import Dc from "./utilities/profile.js";
56
56
  import Oc from "./training/PreTrainer.js";
57
57
  import kc from "./training/SFTTrainer.js";
58
58
  import { t as Ac } from "./data/docx.js";
59
+ import "./stream-DKl3GTDL.js";
59
60
  import "./data/textLoader.js";
60
61
  import { estimateParameterCount as jc } from "./utilities/parameters.js";
61
62
  import { tokensFromTasks as Mc } from "./training/tasks/Task.js";
@@ -13077,24 +13078,24 @@ var yS = class extends mc {
13077
13078
  //#endregion
13078
13079
  //#region lib/training/validation.ts
13079
13080
  async function bS(e, t, n, r, i = .1, a) {
13080
- let o = e instanceof Uint16Array ? e : await Mc(e, t, void 0, a), s = o instanceof Uint16Array ? o : o.tokens, c = Math.ceil(s.length / n.blockSize), l = o instanceof Uint16Array ? void 0 : o.mask, u = /* @__PURE__ */ new Set();
13081
+ let o = e[0] instanceof Uint16Array ? e : await Mc(e, t, void 0, a), s = Array.isArray(o) ? o : o.tokens, c = s.reduce((e, t) => e + t.length, 0), l = Math.ceil(c / n.blockSize), u = Array.isArray(o) ? void 0 : o.mask, d = /* @__PURE__ */ new Set();
13081
13082
  if (i > 0) {
13082
- let e = Math.max(1, Math.floor(c * i));
13083
- for (; u.size < e;) {
13084
- let e = Math.floor(Math.random() * c);
13085
- u.add(e);
13083
+ let e = Math.max(1, Math.floor(l * i));
13084
+ for (; d.size < e;) {
13085
+ let e = Math.floor(Math.random() * l);
13086
+ d.add(e);
13086
13087
  }
13087
13088
  }
13088
- let d = new Uint32Array(c - u.size), f = new Uint32Array(u.size), p = 0, m = 0;
13089
- for (let e = 0; e < c; e++) u.has(e) ? m < f.length && (f[m++] = e) : p < d.length && (d[p++] = e);
13090
- u.clear(), fi(f);
13091
- let { dataset: h, state: g } = await n.createTextDataset(s, r, d, l || void 0), { dataset: _, state: v } = await n.createTextDataset(s, r, f);
13089
+ let f = new Uint32Array(l - d.size), p = new Uint32Array(d.size), m = 0, h = 0;
13090
+ for (let e = 0; e < l; e++) d.has(e) ? h < p.length && (p[h++] = e) : m < f.length && (f[m++] = e);
13091
+ d.clear(), fi(p);
13092
+ let { dataset: g, state: _ } = await n.createTextDataset(s, r, f, u || void 0), { dataset: v, state: y } = await n.createTextDataset(s, r, p);
13092
13093
  return {
13093
- trainDataset: h,
13094
- validationDataset: _,
13095
- size: s.length,
13096
- validationState: v,
13097
- trainState: g
13094
+ trainDataset: g,
13095
+ validationDataset: v,
13096
+ size: c,
13097
+ validationState: y,
13098
+ trainState: _
13098
13099
  };
13099
13100
  }
13100
13101
  //#endregion
@@ -13221,7 +13222,7 @@ var ES = class e extends mc {
13221
13222
  } else this.model.metaData.mode !== "conversational" && (this.model.metaData.mode = "completion");
13222
13223
  let i = n.maskedLoss ?? this.trainingType === "sft";
13223
13224
  if (this.trainingType === "sft" && this.trainer instanceof kc && e instanceof Uint16Array) throw Error("SFT training requires Task[] input");
13224
- let { trainDataset: a, validationDataset: o, size: s } = await bS(e, this.trainer.tokenizer, this.trainer.datasetBuilder, n?.batchSize || 32, n?.validationSplit || .1, i), c = s * (1 - (n?.validationSplit || 0));
13225
+ let { trainDataset: a, validationDataset: o, size: s } = await bS(e, this.trainer.tokenizer, this.trainer.datasetBuilder, n?.batchSize || 32, n?.validationSplit || .1, i), c = Math.floor(s * (1 - (n?.validationSplit || .1)));
13225
13226
  this.trainDataset = a, this.validationDataset = o, this.totalTokens = c, this.options.epochSteps = Math.ceil(this.totalTokens / ((n?.batchSize || 32) * this.model.config.blockSize)), this.trainer.updateOptimizer(this.options);
13226
13227
  }
13227
13228
  configureModel(e) {
@@ -13229,7 +13230,7 @@ var ES = class e extends mc {
13229
13230
  if (this.trainingType === "pretraining" && (this.trainer.model.hasLoRA() && this.trainer.model.detachLoRA(), this.trainer.model.weightStore.setTrainable(["*"])), this.trainingType === "sft") {
13230
13231
  if (t === "lora") {
13231
13232
  let t = this.trainer.model;
13232
- if (console.log("Configuring model for LoRA fine-tuning with options:", e), e?.loraName) {
13233
+ if (e?.loraName) {
13233
13234
  if (!t.hasLoRA(e.loraName)) if (e.loraConfig) t.createLoRA(e.loraName, e.loraConfig), t.attachLoRA(e.loraName);
13234
13235
  else throw Error(`LoRA configuration must be provided to create LoRA with name ${e.loraName}`);
13235
13236
  else if (t.attachLoRA(e.loraName), e.loraConfig) {
package/dist/main.d.ts CHANGED
@@ -14,6 +14,8 @@ export { default as BPETokeniser } from './tokeniser/bpe';
14
14
  export { default as waitForModel } from './utilities/waitForModel';
15
15
  export { default as generateDatasetID } from './utilities/datasetID';
16
16
  export { default as loadTextData } from './data/textLoader';
17
+ export type { ConversationStream, ConversationCursor } from './data/stream';
18
+ export { MemoryConversationStream } from './data/stream';
17
19
  export type { DatasetMetadata, ModelMode } from './loader/types';
18
20
  export { default as Generator, type IGenerator } from './Generator';
19
21
  export { default as Evaluator } from './training/Evaluator';
@@ -25,6 +27,7 @@ export type { TrainingOptions, TrainingLogEntry } from './training/types';
25
27
  export type { GPTConfig } from './models/config';
26
28
  export { estimateParameterCount, estimateMemoryUsage, estimateTrainingMemoryUsage, estimateResources, validateConfig, } from './utilities/parameters';
27
29
  export { default as topP } from './utilities/topP';
30
+ export { sliceUint16Shards, sliceUint8Shards } from './utilities/tokens';
28
31
  export { Task, tokensFromTasks } from './training/tasks/Task';
29
32
  export declare const tasks: {
30
33
  PretrainingTask: typeof PretrainingTask;
package/dist/main.js CHANGED
@@ -1,16 +1,18 @@
1
- import { a as e, b as t, i as n, n as r, r as i, s as a, t as o, y as s } from "./main-DdsoTJAW.js";
1
+ import { a as e, b as t, i as n, n as r, r as i, s as a, t as o, y as s } from "./main-Bgc7_9kb.js";
2
2
  import c from "./tokeniser/CharTokeniser.js";
3
3
  import l from "./tokeniser/bpe.js";
4
4
  import { AdamWOptimizer as u } from "./training/AdamW.js";
5
5
  import d from "./utilities/topP.js";
6
6
  import f from "./training/Evaluator.js";
7
- import p from "./utilities/waitForModel.js";
8
- import m from "./utilities/datasetID.js";
9
- import h from "./data/textLoader.js";
10
- import { estimateMemoryUsage as g, estimateParameterCount as _, estimateResources as v, estimateTrainingMemoryUsage as y, validateConfig as b } from "./utilities/parameters.js";
11
- import { Task as x, tokensFromTasks as S } from "./training/tasks/Task.js";
12
- import { selectBackend as C } from "./backend.js";
13
- import w from "./utilities/performance.js";
14
- import T from "./checks/index.js";
15
- import { sentenceEmbeddings as E, sentenceEmbeddingsTensor as D } from "./utilities/sentences.js";
16
- export { u as AdamWOptimizer, l as BPETokeniser, c as CharTokeniser, f as Evaluator, a as Generator, t as Model, s as NanoGPT, x as Task, n as TeachableLLM, e as Trainer, T as checks, g as estimateMemoryUsage, _ as estimateParameterCount, v as estimateResources, y as estimateTrainingMemoryUsage, m as generateDatasetID, o as layers, h as loadTextData, r as ops, w as performanceTest, C as selectBackend, E as sentenceEmbeddings, D as sentenceEmbeddingsTensor, i as tasks, S as tokensFromTasks, d as topP, b as validateConfig, p as waitForModel };
7
+ import { sliceUint16Shards as p, sliceUint8Shards as m } from "./utilities/tokens.js";
8
+ import h from "./utilities/waitForModel.js";
9
+ import g from "./utilities/datasetID.js";
10
+ import { n as _ } from "./stream-DKl3GTDL.js";
11
+ import v from "./data/textLoader.js";
12
+ import { estimateMemoryUsage as y, estimateParameterCount as b, estimateResources as x, estimateTrainingMemoryUsage as S, validateConfig as C } from "./utilities/parameters.js";
13
+ import { Task as w, tokensFromTasks as T } from "./training/tasks/Task.js";
14
+ import { selectBackend as E } from "./backend.js";
15
+ import D from "./utilities/performance.js";
16
+ import O from "./checks/index.js";
17
+ import { sentenceEmbeddings as k, sentenceEmbeddingsTensor as A } from "./utilities/sentences.js";
18
+ export { u as AdamWOptimizer, l as BPETokeniser, c as CharTokeniser, f as Evaluator, a as Generator, _ as MemoryConversationStream, t as Model, s as NanoGPT, w as Task, n as TeachableLLM, e as Trainer, O as checks, y as estimateMemoryUsage, b as estimateParameterCount, x as estimateResources, S as estimateTrainingMemoryUsage, g as generateDatasetID, o as layers, v as loadTextData, r as ops, D as performanceTest, E as selectBackend, k as sentenceEmbeddings, A as sentenceEmbeddingsTensor, p as sliceUint16Shards, m as sliceUint8Shards, i as tasks, T as tokensFromTasks, d as topP, C as validateConfig, h as waitForModel };
@@ -1,2 +1,2 @@
1
- import { y as e } from "../main-DdsoTJAW.js";
1
+ import { y as e } from "../main-Bgc7_9kb.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { v as e } from "../main-DdsoTJAW.js";
1
+ import { v as e } from "../main-Bgc7_9kb.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { _ as e } from "../main-DdsoTJAW.js";
1
+ import { _ as e } from "../main-Bgc7_9kb.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { b as e } from "../main-DdsoTJAW.js";
1
+ import { b as e } from "../main-Bgc7_9kb.js";
2
2
  export { e as default };