@dxo/train 0.0.9 → 0.0.11

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 (2) hide show
  1. package/README.md +8 -8
  2. package/package.json +19 -13
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @dxo/train
1
+ # 🏋️ @dxo/train
2
2
 
3
3
  **Developer preview — API unstable (`0.0.x`).**
4
4
 
@@ -6,13 +6,13 @@ Async training loop over `@dxo/core` / `@dxo/nn` / `@dxo/optimizer` / `@dxo/data
6
6
 
7
7
  ## Contract (0.0.7 / G5)
8
8
 
9
- | API | Behavior |
10
- |-----|----------|
11
- | `Trainer` | Owns model + optimizer + batch factory + epoch count |
12
- | `fitIter` / `run` | `AsyncGenerator<TrainEvent>`; respects `AbortSignal` |
13
- | `fit` | Consumes the event stream; returns a short summary |
14
- | Checkpoint | Emits `encodeLinearState(model.state())` documents (no FS I/O) |
15
- | Device | **CPU-only** in this slice (GPU spike not required for this gate) |
9
+ | API | Behavior |
10
+ |-------------------|-------------------------------------------------------------------|
11
+ | `Trainer` | Owns model + optimizer + batch factory + epoch count |
12
+ | `fitIter` / `run` | `AsyncGenerator<TrainEvent>`; respects `AbortSignal` |
13
+ | `fit` | Consumes the event stream; returns a short summary |
14
+ | Checkpoint | Emits `encodeLinearState(model.state())` documents (no FS I/O) |
15
+ | Device | **CPU-only** in this slice (GPU spike not required for this gate) |
16
16
 
17
17
  ```typescript
18
18
  import { batch, dataset } from '@dxo/data';
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@dxo/train",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "type": "module",
5
- "description": "DXO training loop fitIter / TrainEvent / checkpoint (developer preview, API unstable)",
6
- "license": "MIT OR Apache-2.0",
5
+ "description": "DXO training loop - fitIter / TrainEvent / checkpoint (developer preview, API unstable)",
6
+ "license": "Apache-2.0",
7
7
  "main": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
9
9
  "exports": {
@@ -20,23 +20,29 @@
20
20
  "build": "tsc -p tsconfig.json"
21
21
  },
22
22
  "dependencies": {
23
- "@dxo/core": "0.0.9",
24
- "@dxo/data": "0.0.9",
25
- "@dxo/nn": "0.0.9",
26
- "@dxo/optimizer": "0.0.9",
27
- "@dxo/serialize": "0.0.9"
23
+ "@dxo/core": "0.0.11",
24
+ "@dxo/data": "0.0.11",
25
+ "@dxo/nn": "0.0.11",
26
+ "@dxo/optimizer": "0.0.11",
27
+ "@dxo/serialize": "0.0.11"
28
28
  },
29
29
  "keywords": [
30
30
  "dxo",
31
31
  "trainer",
32
32
  "training",
33
- "typescript"
33
+ "typescript",
34
+ "deep-learning"
34
35
  ],
35
- "publishConfig": {
36
- "access": "public"
37
- },
36
+ "homepage": "https://github.com/ai4waifu/dxo-framework#readme",
38
37
  "repository": {
39
38
  "type": "git",
40
- "url": "git+https://github.com/ai4waifu/dxo-framework.git"
39
+ "url": "https://github.com/ai4waifu/dxo-framework.git",
40
+ "directory": "projects/runtimes/dxo-train"
41
+ },
42
+ "bugs": {
43
+ "url": "https://github.com/ai4waifu/dxo-framework/issues"
44
+ },
45
+ "publishConfig": {
46
+ "access": "public"
41
47
  }
42
48
  }