@genai-fi/nanogpt 0.2.1 → 0.2.2

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.
@@ -1,4 +1,4 @@
1
- import { E as r } from "../index-SOhdqzHq.js";
1
+ import { E as r } from "../index-Dwqa6Zy2.js";
2
2
  const h = ["<eos>", "<unk>"];
3
3
  class l extends r {
4
4
  vocabSize = 0;
@@ -1,4 +1,4 @@
1
- import { E as a } from "../index-SOhdqzHq.js";
1
+ import { E as a } from "../index-Dwqa6Zy2.js";
2
2
  import o from "./bpe.js";
3
3
  class p extends a {
4
4
  vocabSize = 0;
@@ -1,4 +1,4 @@
1
- import { E as d } from "../index-SOhdqzHq.js";
1
+ import { E as d } from "../index-Dwqa6Zy2.js";
2
2
  const t = new Worker(new URL(
3
3
  /* @vite-ignore */
4
4
  "/assets/worker-BYeSPNkq.js",
@@ -1,4 +1,4 @@
1
- import { z as u } from "../jszip.min-BLbRbbKt.js";
1
+ import { z as u } from "../jszip.min-pMIn3RZH.js";
2
2
  import { importWeights as F } from "./weights.js";
3
3
  import k from "../tokeniser/CharTokeniser.js";
4
4
  import j from "../NanoGPTModel.js";
@@ -1,4 +1,4 @@
1
- import { z as g } from "../jszip.min-BLbRbbKt.js";
1
+ import { z as g } from "../jszip.min-pMIn3RZH.js";
2
2
  import { exportWeights as l } from "./weights.js";
3
3
  const b = "1.0.0";
4
4
  async function p(t, s, i) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genai-fi/nanogpt",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",
@@ -23,7 +23,7 @@
23
23
  "test": "vitest",
24
24
  "ci:test": "vitest --coverage --reporter=junit --outputFile=junit.xml",
25
25
  "coverage": "vitest run --coverage",
26
- "train": "tsx scripts/train.ts --batch 64",
26
+ "train": "tsx scripts/train.ts --batch 32",
27
27
  "generate": "tsx scripts/generate.ts",
28
28
  "evaluate": "tsx scripts/evaluate.ts",
29
29
  "debug": "tsx scripts/debug.ts"
@@ -52,6 +52,7 @@
52
52
  "yargs": "^18.0.0"
53
53
  },
54
54
  "dependencies": {
55
+ "@dsnp/parquetjs": "^1.8.7",
55
56
  "eventemitter3": "^5.0.1",
56
57
  "jszip": "^3.10.1",
57
58
  "papaparse": "^5.5.3"
@@ -1,8 +0,0 @@
1
- var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function l(e) {
3
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
- }
5
- export {
6
- o as c,
7
- l as g
8
- };
@@ -1 +0,0 @@
1
- export default function loadTextData(file: File | string): Promise<string[]>;