@workglow/eval 0.3.26
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.
- package/README.md +179 -0
- package/dist/commands/dataset.d.ts +9 -0
- package/dist/commands/dataset.d.ts.map +1 -0
- package/dist/commands/report.d.ts +11 -0
- package/dist/commands/report.d.ts.map +1 -0
- package/dist/commands/run.d.ts +9 -0
- package/dist/commands/run.d.ts.map +1 -0
- package/dist/config.d.ts +29 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/evals/classify.d.ts +25 -0
- package/dist/evals/classify.d.ts.map +1 -0
- package/dist/evals/extract.d.ts +26 -0
- package/dist/evals/extract.d.ts.map +1 -0
- package/dist/evals/prompt.d.ts +12 -0
- package/dist/evals/prompt.d.ts.map +1 -0
- package/dist/evals/runner.d.ts +25 -0
- package/dist/evals/runner.d.ts.map +1 -0
- package/dist/evals/similarity.d.ts +15 -0
- package/dist/evals/similarity.d.ts.map +1 -0
- package/dist/evals/types.d.ts +39 -0
- package/dist/evals/types.d.ts.map +1 -0
- package/dist/hf/auth.d.ts +8 -0
- package/dist/hf/auth.d.ts.map +1 -0
- package/dist/hf/datasetsServer.d.ts +14 -0
- package/dist/hf/datasetsServer.d.ts.map +1 -0
- package/dist/hf/hubFiles.d.ts +38 -0
- package/dist/hf/hubFiles.d.ts.map +1 -0
- package/dist/hf/ids.d.ts +20 -0
- package/dist/hf/ids.d.ts.map +1 -0
- package/dist/hf/pullDataset.d.ts +26 -0
- package/dist/hf/pullDataset.d.ts.map +1 -0
- package/dist/hf/types.d.ts +33 -0
- package/dist/hf/types.d.ts.map +1 -0
- package/dist/models.d.ts +49 -0
- package/dist/models.d.ts.map +1 -0
- package/dist/providers.d.ts +17 -0
- package/dist/providers.d.ts.map +1 -0
- package/dist/report/aggregate.d.ts +35 -0
- package/dist/report/aggregate.d.ts.map +1 -0
- package/dist/score/classification.d.ts +29 -0
- package/dist/score/classification.d.ts.map +1 -0
- package/dist/score/correlation.d.ts +12 -0
- package/dist/score/correlation.d.ts.map +1 -0
- package/dist/score/extraction.d.ts +47 -0
- package/dist/score/extraction.d.ts.map +1 -0
- package/dist/storage.d.ts +152 -0
- package/dist/storage.d.ts.map +1 -0
- package/dist/test/aggregate.test.d.ts +7 -0
- package/dist/test/aggregate.test.d.ts.map +1 -0
- package/dist/test/extractSmoke.e2e.test.d.ts +7 -0
- package/dist/test/extractSmoke.e2e.test.d.ts.map +1 -0
- package/dist/test/extraction.test.d.ts +7 -0
- package/dist/test/extraction.test.d.ts.map +1 -0
- package/dist/test/ggufSmoke.e2e.test.d.ts +7 -0
- package/dist/test/ggufSmoke.e2e.test.d.ts.map +1 -0
- package/dist/test/hubFiles.test.d.ts +7 -0
- package/dist/test/hubFiles.test.d.ts.map +1 -0
- package/dist/test/ids.test.d.ts +7 -0
- package/dist/test/ids.test.d.ts.map +1 -0
- package/dist/test/liveSimilarity.e2e.test.d.ts +7 -0
- package/dist/test/liveSimilarity.e2e.test.d.ts.map +1 -0
- package/dist/test/models.test.d.ts +7 -0
- package/dist/test/models.test.d.ts.map +1 -0
- package/dist/test/score.test.d.ts +7 -0
- package/dist/test/score.test.d.ts.map +1 -0
- package/dist/test/storage.test.d.ts +7 -0
- package/dist/test/storage.test.d.ts.map +1 -0
- package/dist/util.d.ts +13 -0
- package/dist/util.d.ts.map +1 -0
- package/dist/worker_hft.d.ts +7 -0
- package/dist/worker_hft.d.ts.map +1 -0
- package/dist/worker_hft.js +9 -0
- package/dist/worker_llamacpp.d.ts +7 -0
- package/dist/worker_llamacpp.d.ts.map +1 -0
- package/dist/worker_llamacpp.js +3 -0
- package/dist/workglow-eval.d.ts +8 -0
- package/dist/workglow-eval.d.ts.map +1 -0
- package/dist/workglow-eval.js +1266 -0
- package/package.json +55 -0
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@workglow/eval",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.3.26",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/workglow-dev/libs.git",
|
|
8
|
+
"directory": "examples/eval"
|
|
9
|
+
},
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/workglow-dev/libs/issues"
|
|
12
|
+
},
|
|
13
|
+
"description": "CLI eval example for Workglow: pull HuggingFace datasets into storage, run task workflows across models, and score the stored results.",
|
|
14
|
+
"homepage": "https://workglow.dev",
|
|
15
|
+
"scripts": {
|
|
16
|
+
"dev": "concurrently -c 'auto' -n 'eval:' 'bun:dev-*'",
|
|
17
|
+
"dev-js": "bun build --watch --target=bun --sourcemap=external --packages=external --outdir ./dist ./src/workglow-eval.ts",
|
|
18
|
+
"dev-types": "tsc --watch --preserveWatchOutput",
|
|
19
|
+
"build-example": "concurrently -c 'auto' -n 'js,js-worker-hft,js-worker-llamacpp,types' 'bun run build-js' 'bun run build-js-worker-hft' 'bun run build-js-worker-llamacpp' 'bun run build-types'",
|
|
20
|
+
"build-clean": "rm -fr dist/* tsconfig.tsbuildinfo",
|
|
21
|
+
"build-js": "bun build --target=bun --packages=external --outdir ./dist ./src/workglow-eval.ts",
|
|
22
|
+
"build-js-worker-hft": "bun build --target=node --packages=external --outdir ./dist ./src/worker_hft.ts",
|
|
23
|
+
"build-types": "rm -f tsconfig.tsbuildinfo && tsgo",
|
|
24
|
+
"test": "vitest run",
|
|
25
|
+
"test:watch": "vitest",
|
|
26
|
+
"build-js-worker-llamacpp": "bun build --target=node --packages=external --outdir ./dist ./src/worker_llamacpp.ts"
|
|
27
|
+
},
|
|
28
|
+
"bin": {
|
|
29
|
+
"workglow-eval": "./dist/workglow-eval.js"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"dist",
|
|
33
|
+
"src/**/*.md"
|
|
34
|
+
],
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@workglow/ai": "0.3.26",
|
|
37
|
+
"@workglow/anthropic": "0.3.26",
|
|
38
|
+
"@workglow/google-gemini": "0.3.26",
|
|
39
|
+
"@workglow/huggingface-transformers": "0.3.26",
|
|
40
|
+
"@workglow/node-llama-cpp": "0.3.26",
|
|
41
|
+
"@workglow/openai": "0.3.26",
|
|
42
|
+
"@workglow/sqlite": "0.3.26",
|
|
43
|
+
"@workglow/storage": "0.3.26",
|
|
44
|
+
"@workglow/task-graph": "0.3.26",
|
|
45
|
+
"@workglow/util": "0.3.26",
|
|
46
|
+
"@workglow/xai": "0.3.26",
|
|
47
|
+
"@huggingface/transformers": "^4.2.0",
|
|
48
|
+
"commander": "^15.0.0",
|
|
49
|
+
"hyparquet": "^1.26.2",
|
|
50
|
+
"hyparquet-compressors": "^1.1.1"
|
|
51
|
+
},
|
|
52
|
+
"publishConfig": {
|
|
53
|
+
"access": "public"
|
|
54
|
+
}
|
|
55
|
+
}
|