@huggingface/tasks 0.20.12 → 0.20.14
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/dist/commonjs/eval.d.ts +10 -0
- package/dist/commonjs/eval.d.ts.map +1 -1
- package/dist/commonjs/eval.js +10 -0
- package/dist/commonjs/gguf.d.ts +3 -1
- package/dist/commonjs/gguf.d.ts.map +1 -1
- package/dist/commonjs/gguf.js +3 -0
- package/dist/commonjs/hardware.d.ts +4 -0
- package/dist/commonjs/hardware.d.ts.map +1 -1
- package/dist/commonjs/hardware.js +4 -0
- package/dist/commonjs/local-apps.d.ts +7 -0
- package/dist/commonjs/local-apps.d.ts.map +1 -1
- package/dist/commonjs/local-apps.js +23 -20
- package/dist/commonjs/local-apps.spec.js +11 -0
- package/dist/commonjs/model-libraries.d.ts +8 -1
- package/dist/commonjs/model-libraries.d.ts.map +1 -1
- package/dist/commonjs/model-libraries.js +7 -0
- package/dist/esm/eval.d.ts +10 -0
- package/dist/esm/eval.d.ts.map +1 -1
- package/dist/esm/eval.js +10 -0
- package/dist/esm/gguf.d.ts +3 -1
- package/dist/esm/gguf.d.ts.map +1 -1
- package/dist/esm/gguf.js +3 -0
- package/dist/esm/hardware.d.ts +4 -0
- package/dist/esm/hardware.d.ts.map +1 -1
- package/dist/esm/hardware.js +4 -0
- package/dist/esm/local-apps.d.ts +7 -0
- package/dist/esm/local-apps.d.ts.map +1 -1
- package/dist/esm/local-apps.js +23 -20
- package/dist/esm/local-apps.spec.js +11 -0
- package/dist/esm/model-libraries.d.ts +8 -1
- package/dist/esm/model-libraries.d.ts.map +1 -1
- package/dist/esm/model-libraries.js +7 -0
- package/package.json +1 -1
- package/src/eval.ts +12 -0
- package/src/gguf.ts +3 -0
- package/src/hardware.ts +4 -0
- package/src/local-apps.spec.ts +13 -0
- package/src/local-apps.ts +23 -20
- package/src/model-libraries.ts +7 -0
package/dist/commonjs/eval.d.ts
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
* List of supported Evaluation Frameworks supported in the `eval.yaml` file in benchmarks datasets.
|
|
3
3
|
*/
|
|
4
4
|
export declare const EVALUATION_FRAMEWORKS: {
|
|
5
|
+
readonly exgentic: {
|
|
6
|
+
readonly name: "exgentic";
|
|
7
|
+
readonly description: "Exgentic is an open evaluation framework for general-purpose AI agents across diverse domains and benchmarks.";
|
|
8
|
+
readonly url: "https://github.com/Exgentic/exgentic";
|
|
9
|
+
};
|
|
5
10
|
readonly "inspect-ai": {
|
|
6
11
|
readonly name: "inspect-ai";
|
|
7
12
|
readonly description: "Inspect AI is an open-source framework for large language model evaluations.";
|
|
@@ -67,5 +72,10 @@ export declare const EVALUATION_FRAMEWORKS: {
|
|
|
67
72
|
readonly description: "The Open ASR Leaderboard ranks and evaluates speech recognition models.";
|
|
68
73
|
readonly url: "https://github.com/huggingface/open_asr_leaderboard";
|
|
69
74
|
};
|
|
75
|
+
readonly mdpbench: {
|
|
76
|
+
readonly name: "mdpbench";
|
|
77
|
+
readonly description: "MDPBench is a benchmark for evaluating multilingual document parsing across digital, photographed, Latin, and non-Latin document subsets.";
|
|
78
|
+
readonly url: "https://github.com/Yuliang-Liu/MultimodalOCR";
|
|
79
|
+
};
|
|
70
80
|
};
|
|
71
81
|
//# sourceMappingURL=eval.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eval.d.ts","sourceRoot":"","sources":["../../src/eval.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"eval.d.ts","sourceRoot":"","sources":["../../src/eval.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkFxB,CAAC"}
|
package/dist/commonjs/eval.js
CHANGED
|
@@ -5,6 +5,11 @@ exports.EVALUATION_FRAMEWORKS = void 0;
|
|
|
5
5
|
* List of supported Evaluation Frameworks supported in the `eval.yaml` file in benchmarks datasets.
|
|
6
6
|
*/
|
|
7
7
|
exports.EVALUATION_FRAMEWORKS = {
|
|
8
|
+
exgentic: {
|
|
9
|
+
name: "exgentic",
|
|
10
|
+
description: "Exgentic is an open evaluation framework for general-purpose AI agents across diverse domains and benchmarks.",
|
|
11
|
+
url: "https://github.com/Exgentic/exgentic",
|
|
12
|
+
},
|
|
8
13
|
"inspect-ai": {
|
|
9
14
|
name: "inspect-ai",
|
|
10
15
|
description: "Inspect AI is an open-source framework for large language model evaluations.",
|
|
@@ -70,4 +75,9 @@ exports.EVALUATION_FRAMEWORKS = {
|
|
|
70
75
|
description: "The Open ASR Leaderboard ranks and evaluates speech recognition models.",
|
|
71
76
|
url: "https://github.com/huggingface/open_asr_leaderboard",
|
|
72
77
|
},
|
|
78
|
+
mdpbench: {
|
|
79
|
+
name: "mdpbench",
|
|
80
|
+
description: "MDPBench is a benchmark for evaluating multilingual document parsing across digital, photographed, Latin, and non-Latin document subsets.",
|
|
81
|
+
url: "https://github.com/Yuliang-Liu/MultimodalOCR",
|
|
82
|
+
},
|
|
73
83
|
};
|
package/dist/commonjs/gguf.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare enum GGMLFileQuantizationType {
|
|
|
39
39
|
TQ2_0 = 37,
|
|
40
40
|
MXFP4_MOE = 38,
|
|
41
41
|
NVFP4 = 39,
|
|
42
|
+
Q1_0 = 40,
|
|
42
43
|
Q2_K_XL = 1000,
|
|
43
44
|
Q3_K_XL = 1001,
|
|
44
45
|
Q4_K_XL = 1002,
|
|
@@ -84,6 +85,7 @@ export declare enum GGMLQuantizationType {
|
|
|
84
85
|
TQ1_0 = 34,
|
|
85
86
|
TQ2_0 = 35,
|
|
86
87
|
MXFP4 = 39,
|
|
87
|
-
NVFP4 = 40
|
|
88
|
+
NVFP4 = 40,
|
|
89
|
+
Q1_0 = 41
|
|
88
90
|
}
|
|
89
91
|
//# sourceMappingURL=gguf.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gguf.d.ts","sourceRoot":"","sources":["../../src/gguf.ts"],"names":[],"mappings":"AAGA,oBAAY,wBAAwB;IACnC,GAAG,IAAI;IACP,GAAG,IAAI;IACP,IAAI,IAAI;IACR,IAAI,IAAI;IACR,aAAa,IAAI;IACjB,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,KAAK;IACT,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,IAAI,KAAK;IACT,OAAO,KAAK;IACZ,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,OAAO,KAAK;IACZ,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,IAAI,KAAK;IACT,QAAQ,KAAK;IACb,QAAQ,KAAK;IACb,QAAQ,KAAK;IACb,KAAK,KAAK;IACV,KAAK,KAAK;IACV,SAAS,KAAK;IACd,KAAK,KAAK;
|
|
1
|
+
{"version":3,"file":"gguf.d.ts","sourceRoot":"","sources":["../../src/gguf.ts"],"names":[],"mappings":"AAGA,oBAAY,wBAAwB;IACnC,GAAG,IAAI;IACP,GAAG,IAAI;IACP,IAAI,IAAI;IACR,IAAI,IAAI;IACR,aAAa,IAAI;IACjB,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,KAAK;IACT,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX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,KAAK;IACX,EAAE,KAAK;IACP,GAAG,KAAK;IACR,GAAG,KAAK;IACR,GAAG,KAAK;IACR,GAAG,KAAK;IACR,KAAK,KAAK;IACV,IAAI,KAAK;IACT,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,IAAI,KAAK;CACT"}
|
package/dist/commonjs/gguf.js
CHANGED
|
@@ -48,6 +48,7 @@ var GGMLFileQuantizationType;
|
|
|
48
48
|
GGMLFileQuantizationType[GGMLFileQuantizationType["TQ2_0"] = 37] = "TQ2_0";
|
|
49
49
|
GGMLFileQuantizationType[GGMLFileQuantizationType["MXFP4_MOE"] = 38] = "MXFP4_MOE";
|
|
50
50
|
GGMLFileQuantizationType[GGMLFileQuantizationType["NVFP4"] = 39] = "NVFP4";
|
|
51
|
+
GGMLFileQuantizationType[GGMLFileQuantizationType["Q1_0"] = 40] = "Q1_0";
|
|
51
52
|
// custom quants used by unsloth
|
|
52
53
|
// they are not officially a scheme enum value in GGUF, but only here for naming
|
|
53
54
|
GGMLFileQuantizationType[GGMLFileQuantizationType["Q2_K_XL"] = 1000] = "Q2_K_XL";
|
|
@@ -120,6 +121,7 @@ exports.GGUF_QUANT_ORDER = [
|
|
|
120
121
|
GGMLFileQuantizationType.IQ1_M,
|
|
121
122
|
GGMLFileQuantizationType.TQ1_0,
|
|
122
123
|
GGMLFileQuantizationType.TQ2_0,
|
|
124
|
+
GGMLFileQuantizationType.Q1_0,
|
|
123
125
|
];
|
|
124
126
|
// This function finds the nearest quantization type that is less than or equal to the given quantization type.
|
|
125
127
|
// It returns undefined if no such quantization type is found.
|
|
@@ -190,4 +192,5 @@ var GGMLQuantizationType;
|
|
|
190
192
|
GGMLQuantizationType[GGMLQuantizationType["TQ2_0"] = 35] = "TQ2_0";
|
|
191
193
|
GGMLQuantizationType[GGMLQuantizationType["MXFP4"] = 39] = "MXFP4";
|
|
192
194
|
GGMLQuantizationType[GGMLQuantizationType["NVFP4"] = 40] = "NVFP4";
|
|
195
|
+
GGMLQuantizationType[GGMLQuantizationType["Q1_0"] = 41] = "Q1_0";
|
|
193
196
|
})(GGMLQuantizationType || (exports.GGMLQuantizationType = GGMLQuantizationType = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hardware.d.ts","sourceRoot":"","sources":["../../src/hardware.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,iDAAiD,QAAW,CAAC;AAC1E,eAAO,MAAM,yDAAyD,QAAW,CAAC;AAClF,eAAO,MAAM,oCAAoC,QAAU,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,+CAA+C,QAAW,CAAC;AAExE,MAAM,WAAW,YAAY;IAC5B;;;;;;;;;OASG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,UAElC,CAAC;AAEF,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"hardware.d.ts","sourceRoot":"","sources":["../../src/hardware.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,iDAAiD,QAAW,CAAC;AAC1E,eAAO,MAAM,yDAAyD,QAAW,CAAC;AAClF,eAAO,MAAM,oCAAoC,QAAU,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,+CAA+C,QAAW,CAAC;AAExE,MAAM,WAAW,YAAY;IAC5B;;;;;;;;;OASG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,UAElC,CAAC;AAEF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkSuD,CAAC;AAEzE,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,IAAI,CAAC"}
|
|
@@ -132,6 +132,13 @@ export declare const LOCAL_APPS: {
|
|
|
132
132
|
displayOnModelPage: typeof isLlamaCppGgufModel;
|
|
133
133
|
deeplink: (model: ModelData) => URL;
|
|
134
134
|
};
|
|
135
|
+
"atomic-chat": {
|
|
136
|
+
prettyLabel: string;
|
|
137
|
+
docsUrl: string;
|
|
138
|
+
mainTask: "text-generation";
|
|
139
|
+
displayOnModelPage: typeof isLlamaCppGgufModel;
|
|
140
|
+
deeplink: (model: ModelData) => URL;
|
|
141
|
+
};
|
|
135
142
|
backyard: {
|
|
136
143
|
prettyLabel: string;
|
|
137
144
|
docsUrl: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-apps.d.ts","sourceRoot":"","sources":["../../src/local-apps.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAKnD,MAAM,WAAW,eAAe;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACtB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAC;IACvB;;OAEG;IAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAtDjD,SAAS,aAAa,MAAM,KAAG,MAAM;;;;;;;yBAIpC,SAAS,KAAG,eAAe,EAAE;;;;;;;yBAqSnB,SAAS,aAAa,MAAM,KAAG,MAAM;;;;;;;yBAM9C,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBArDtD,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;CA0StC,CAAC;AAErC,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,UAAU,CAAC"}
|
|
@@ -402,42 +402,38 @@ const snippetDockerModelRunner = (model, filepath) => {
|
|
|
402
402
|
return `docker model run hf.co/${model.id}${quantTag}`;
|
|
403
403
|
};
|
|
404
404
|
const snippetLemonade = (model, filepath) => {
|
|
405
|
-
const tagName = getQuantTag(filepath);
|
|
406
405
|
const modelName = model.id.includes("/") ? model.id.split("/")[1] : model.id;
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
406
|
+
const isRyzenAI = model.tags.some((tag) => ["ryzenai-npu", "ryzenai-hybrid"].includes(tag));
|
|
407
|
+
// Lemonade auto-registers pulled models as `user.<suggested_name>[-<variant>]`.
|
|
408
|
+
// For GGUF/llamacpp: suggested_name is the repo name and variant is the quant tag.
|
|
409
|
+
// For RyzenAI ONNX: there is no per-variant suffix.
|
|
410
|
+
let pullArg;
|
|
411
|
+
let runName;
|
|
411
412
|
let requirements;
|
|
412
|
-
if (
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
requirements = " (requires
|
|
416
|
-
simplifiedModelName = modelName.split("-awq-")[0];
|
|
417
|
-
simplifiedModelName += recipe === "oga-npu" ? "-NPU" : "-Hybrid";
|
|
413
|
+
if (isRyzenAI) {
|
|
414
|
+
pullArg = model.id;
|
|
415
|
+
runName = `user.${modelName}`;
|
|
416
|
+
requirements = " (requires XDNA 2 NPU)";
|
|
418
417
|
}
|
|
419
418
|
else {
|
|
420
|
-
|
|
421
|
-
|
|
419
|
+
const tagName = getQuantTag(filepath);
|
|
420
|
+
pullArg = `${model.id}${tagName}`;
|
|
421
|
+
runName = `user.${modelName}${tagName.replace(":", "-")}`;
|
|
422
422
|
requirements = "";
|
|
423
|
-
simplifiedModelName = modelName;
|
|
424
423
|
}
|
|
425
424
|
return [
|
|
426
425
|
{
|
|
427
426
|
title: "Pull the model",
|
|
428
427
|
setup: "# Download Lemonade from https://lemonade-server.ai/",
|
|
429
|
-
content:
|
|
430
|
-
`lemonade-server pull user.${simplifiedModelName} --checkpoint ${checkpoint} --recipe ${recipe}`,
|
|
431
|
-
"# Note: If you installed from source, use the lemonade-server-dev command instead.",
|
|
432
|
-
].join("\n"),
|
|
428
|
+
content: `lemonade pull ${pullArg}`,
|
|
433
429
|
},
|
|
434
430
|
{
|
|
435
431
|
title: `Run and chat with the model${requirements}`,
|
|
436
|
-
content: `lemonade
|
|
432
|
+
content: `lemonade run ${runName}`,
|
|
437
433
|
},
|
|
438
434
|
{
|
|
439
435
|
title: "List all available models",
|
|
440
|
-
content: "lemonade
|
|
436
|
+
content: "lemonade list",
|
|
441
437
|
},
|
|
442
438
|
];
|
|
443
439
|
};
|
|
@@ -521,6 +517,13 @@ exports.LOCAL_APPS = {
|
|
|
521
517
|
displayOnModelPage: isLlamaCppGgufModel,
|
|
522
518
|
deeplink: (model) => new URL(`jan://models/huggingface/${model.id}`),
|
|
523
519
|
},
|
|
520
|
+
"atomic-chat": {
|
|
521
|
+
prettyLabel: "Atomic Chat",
|
|
522
|
+
docsUrl: "https://atomic.chat",
|
|
523
|
+
mainTask: "text-generation",
|
|
524
|
+
displayOnModelPage: isLlamaCppGgufModel,
|
|
525
|
+
deeplink: (model) => new URL(`atomic-chat://models/huggingface/${model.id}`),
|
|
526
|
+
},
|
|
524
527
|
backyard: {
|
|
525
528
|
prettyLabel: "Backyard AI",
|
|
526
529
|
docsUrl: "https://backyard.ai",
|
|
@@ -158,6 +158,17 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
158
158
|
const snippet = snippetFunc(model);
|
|
159
159
|
(0, vitest_1.expect)(snippet).toEqual(`docker model run hf.co/bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}`);
|
|
160
160
|
});
|
|
161
|
+
(0, vitest_1.it)("atomic chat deeplink", async () => {
|
|
162
|
+
const { displayOnModelPage, deeplink } = local_apps_js_1.LOCAL_APPS["atomic-chat"];
|
|
163
|
+
const model = {
|
|
164
|
+
id: "bartowski/Llama-3.2-3B-Instruct-GGUF",
|
|
165
|
+
tags: ["conversational"],
|
|
166
|
+
gguf: { total: 1, context_length: 4096 },
|
|
167
|
+
inference: "",
|
|
168
|
+
};
|
|
169
|
+
(0, vitest_1.expect)(displayOnModelPage(model)).toBe(true);
|
|
170
|
+
(0, vitest_1.expect)(deeplink(model).href).toBe("atomic-chat://models/huggingface/bartowski/Llama-3.2-3B-Instruct-GGUF");
|
|
171
|
+
});
|
|
161
172
|
(0, vitest_1.it)("unsloth tagged model", async () => {
|
|
162
173
|
const { displayOnModelPage, snippet: snippetFunc } = local_apps_js_1.LOCAL_APPS.unsloth;
|
|
163
174
|
const model = {
|
|
@@ -437,6 +437,13 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
437
437
|
snippets: (model: ModelData) => string[];
|
|
438
438
|
filter: true;
|
|
439
439
|
};
|
|
440
|
+
eupe: {
|
|
441
|
+
prettyLabel: string;
|
|
442
|
+
repoName: string;
|
|
443
|
+
repoUrl: string;
|
|
444
|
+
filter: false;
|
|
445
|
+
countDownloads: string;
|
|
446
|
+
};
|
|
440
447
|
fairseq: {
|
|
441
448
|
prettyLabel: string;
|
|
442
449
|
repoName: string;
|
|
@@ -1568,5 +1575,5 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1568
1575
|
};
|
|
1569
1576
|
export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;
|
|
1570
1577
|
export declare const ALL_MODEL_LIBRARY_KEYS: ModelLibraryKey[];
|
|
1571
|
-
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("acestep" | "adapter-transformers" | "allennlp" | "anemoi" | "araclip" | "aviation-ner" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "bboxmaskpose" | "ben2" | "bertopic" | "big_vision" | "bionemo" | "birder" | "birefnet" | "bm25s" | "boltzgen" | "cancertathomev2" | "cartesia_pytorch" | "cartesia_mlx" | "champ" | "chatterbox" | "chaossim" | "chat_tts" | "chronos-forecasting" | "clara" | "clipscope" | "cloud-agents" | "colipri" | "cosyvoice" | "cotracker" | "colpali" | "comet" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dia-tts" | "dia2" | "diff-interpretation-tuning" | "diffree" | "diffusers" | "diffusionkit" | "docking-at-home" | "doctr" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fastprint" | "fasttext" | "fixer" | "flair" | "fme" | "gemma.cpp" | "geometry-crafter" | "gliner" | "gliner2" | "glm-tts" | "glyph-byt5" | "granite-library" | "grok" | "habibi-tts" | "hallo" | "hermes" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "hy-worldplay" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "intellifold" | "keras" | "tf-keras" | "keras-hub" | "kernels" | "kimi-audio" | "kittentts" | "kronos" | "k2" | "lagernvs" | "lightning-ir" | "litert" | "litert-lm" | "lerobot" | "lightglue" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "mamba-ssm" | "manas-1" | "mars5-tts" | "matanyone" | "mesh-anything" | "merlin" | "medvae" | "mitie" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "mtvcraft" | "nemo" | "nv-medtech" | "open-oasis" | "open_clip" | "openpeerllm" | "open-sora" | "outetts" | "paddlenlp" | "PaddleOCR" | "peft" | "perception-encoder" | "phantom-wan" | "pocket-tts" | "pruna-ai" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "quantumpeer" | "qwen3_tts" | "recurrentgemma" | "relik" | "refiners" | "renderformer" | "reverb" | "rkllm" | "saelens" | "sam2" | "sam-3d-body" | "sam-3d-objects" | "same" | "sample-factory" | "sap-rpt-1-oss" | "sapiens" | "seedvr" | "self-forcing" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "soloaudio" | "songbloom" | "stable-baselines3" | "stanza" | "supertonic" | "swarmformer" | "synthefy-migas" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tensorrt" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timm" | "tirex" | "torchgeo" | "transformers" | "transformers.js" | "trellis" | "ultralytics" | "univa" | "uni-3dar" | "unity-sentis" | "sana" | "videoprism" | "vfi-mamba" | "vismatch" | "lvface" | "voicecraft" | "voxcpm" | "vui" | "vibevoice" | "videox_fun" | "wan2.2" | "wham" | "whisperkit" | "yolov10" | "yolov26" | "zonos" | "3dtopia-xl")[];
|
|
1578
|
+
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("acestep" | "adapter-transformers" | "allennlp" | "anemoi" | "araclip" | "aviation-ner" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "bboxmaskpose" | "ben2" | "bertopic" | "big_vision" | "bionemo" | "birder" | "birefnet" | "bm25s" | "boltzgen" | "cancertathomev2" | "cartesia_pytorch" | "cartesia_mlx" | "champ" | "chatterbox" | "chaossim" | "chat_tts" | "chronos-forecasting" | "clara" | "clipscope" | "cloud-agents" | "colipri" | "cosyvoice" | "cotracker" | "colpali" | "comet" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dia-tts" | "dia2" | "diff-interpretation-tuning" | "diffree" | "diffusers" | "diffusionkit" | "docking-at-home" | "doctr" | "edsnlp" | "elm" | "espnet" | "eupe" | "fairseq" | "fastai" | "fastprint" | "fasttext" | "fixer" | "flair" | "fme" | "gemma.cpp" | "geometry-crafter" | "gliner" | "gliner2" | "glm-tts" | "glyph-byt5" | "granite-library" | "grok" | "habibi-tts" | "hallo" | "hermes" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "hy-worldplay" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "intellifold" | "keras" | "tf-keras" | "keras-hub" | "kernels" | "kimi-audio" | "kittentts" | "kronos" | "k2" | "lagernvs" | "lightning-ir" | "litert" | "litert-lm" | "lerobot" | "lightglue" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "mamba-ssm" | "manas-1" | "mars5-tts" | "matanyone" | "mesh-anything" | "merlin" | "medvae" | "mitie" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "mtvcraft" | "nemo" | "nv-medtech" | "open-oasis" | "open_clip" | "openpeerllm" | "open-sora" | "outetts" | "paddlenlp" | "PaddleOCR" | "peft" | "perception-encoder" | "phantom-wan" | "pocket-tts" | "pruna-ai" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "quantumpeer" | "qwen3_tts" | "recurrentgemma" | "relik" | "refiners" | "renderformer" | "reverb" | "rkllm" | "saelens" | "sam2" | "sam-3d-body" | "sam-3d-objects" | "same" | "sample-factory" | "sap-rpt-1-oss" | "sapiens" | "seedvr" | "self-forcing" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "soloaudio" | "songbloom" | "stable-baselines3" | "stanza" | "supertonic" | "swarmformer" | "synthefy-migas" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tensorrt" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timm" | "tirex" | "torchgeo" | "transformers" | "transformers.js" | "trellis" | "ultralytics" | "univa" | "uni-3dar" | "unity-sentis" | "sana" | "videoprism" | "vfi-mamba" | "vismatch" | "lvface" | "voicecraft" | "voxcpm" | "vui" | "vibevoice" | "videox_fun" | "wan2.2" | "wham" | "whisperkit" | "yolov10" | "yolov26" | "zonos" | "3dtopia-xl")[];
|
|
1572
1579
|
//# sourceMappingURL=model-libraries.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-libraries.d.ts","sourceRoot":"","sources":["../../src/model-libraries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,MAAM,EAAE,CAAC;IAC1C;;;;;OAKG;IACH,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;;GAaG;AAEH,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"model-libraries.d.ts","sourceRoot":"","sources":["../../src/model-libraries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,E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eAAO,MAAM,8BAA8B,q5FAQ1B,CAAC"}
|
|
@@ -434,6 +434,13 @@ exports.MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
434
434
|
snippets: snippets.espnet,
|
|
435
435
|
filter: true,
|
|
436
436
|
},
|
|
437
|
+
eupe: {
|
|
438
|
+
prettyLabel: "EUPE",
|
|
439
|
+
repoName: "EUPE",
|
|
440
|
+
repoUrl: "https://github.com/facebookresearch/EUPE",
|
|
441
|
+
filter: false,
|
|
442
|
+
countDownloads: `path_extension:"pt"`,
|
|
443
|
+
},
|
|
437
444
|
fairseq: {
|
|
438
445
|
prettyLabel: "Fairseq",
|
|
439
446
|
repoName: "fairseq",
|
package/dist/esm/eval.d.ts
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
* List of supported Evaluation Frameworks supported in the `eval.yaml` file in benchmarks datasets.
|
|
3
3
|
*/
|
|
4
4
|
export declare const EVALUATION_FRAMEWORKS: {
|
|
5
|
+
readonly exgentic: {
|
|
6
|
+
readonly name: "exgentic";
|
|
7
|
+
readonly description: "Exgentic is an open evaluation framework for general-purpose AI agents across diverse domains and benchmarks.";
|
|
8
|
+
readonly url: "https://github.com/Exgentic/exgentic";
|
|
9
|
+
};
|
|
5
10
|
readonly "inspect-ai": {
|
|
6
11
|
readonly name: "inspect-ai";
|
|
7
12
|
readonly description: "Inspect AI is an open-source framework for large language model evaluations.";
|
|
@@ -67,5 +72,10 @@ export declare const EVALUATION_FRAMEWORKS: {
|
|
|
67
72
|
readonly description: "The Open ASR Leaderboard ranks and evaluates speech recognition models.";
|
|
68
73
|
readonly url: "https://github.com/huggingface/open_asr_leaderboard";
|
|
69
74
|
};
|
|
75
|
+
readonly mdpbench: {
|
|
76
|
+
readonly name: "mdpbench";
|
|
77
|
+
readonly description: "MDPBench is a benchmark for evaluating multilingual document parsing across digital, photographed, Latin, and non-Latin document subsets.";
|
|
78
|
+
readonly url: "https://github.com/Yuliang-Liu/MultimodalOCR";
|
|
79
|
+
};
|
|
70
80
|
};
|
|
71
81
|
//# sourceMappingURL=eval.d.ts.map
|
package/dist/esm/eval.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eval.d.ts","sourceRoot":"","sources":["../../src/eval.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"eval.d.ts","sourceRoot":"","sources":["../../src/eval.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkFxB,CAAC"}
|
package/dist/esm/eval.js
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
* List of supported Evaluation Frameworks supported in the `eval.yaml` file in benchmarks datasets.
|
|
3
3
|
*/
|
|
4
4
|
export const EVALUATION_FRAMEWORKS = {
|
|
5
|
+
exgentic: {
|
|
6
|
+
name: "exgentic",
|
|
7
|
+
description: "Exgentic is an open evaluation framework for general-purpose AI agents across diverse domains and benchmarks.",
|
|
8
|
+
url: "https://github.com/Exgentic/exgentic",
|
|
9
|
+
},
|
|
5
10
|
"inspect-ai": {
|
|
6
11
|
name: "inspect-ai",
|
|
7
12
|
description: "Inspect AI is an open-source framework for large language model evaluations.",
|
|
@@ -67,4 +72,9 @@ export const EVALUATION_FRAMEWORKS = {
|
|
|
67
72
|
description: "The Open ASR Leaderboard ranks and evaluates speech recognition models.",
|
|
68
73
|
url: "https://github.com/huggingface/open_asr_leaderboard",
|
|
69
74
|
},
|
|
75
|
+
mdpbench: {
|
|
76
|
+
name: "mdpbench",
|
|
77
|
+
description: "MDPBench is a benchmark for evaluating multilingual document parsing across digital, photographed, Latin, and non-Latin document subsets.",
|
|
78
|
+
url: "https://github.com/Yuliang-Liu/MultimodalOCR",
|
|
79
|
+
},
|
|
70
80
|
};
|
package/dist/esm/gguf.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare enum GGMLFileQuantizationType {
|
|
|
39
39
|
TQ2_0 = 37,
|
|
40
40
|
MXFP4_MOE = 38,
|
|
41
41
|
NVFP4 = 39,
|
|
42
|
+
Q1_0 = 40,
|
|
42
43
|
Q2_K_XL = 1000,
|
|
43
44
|
Q3_K_XL = 1001,
|
|
44
45
|
Q4_K_XL = 1002,
|
|
@@ -84,6 +85,7 @@ export declare enum GGMLQuantizationType {
|
|
|
84
85
|
TQ1_0 = 34,
|
|
85
86
|
TQ2_0 = 35,
|
|
86
87
|
MXFP4 = 39,
|
|
87
|
-
NVFP4 = 40
|
|
88
|
+
NVFP4 = 40,
|
|
89
|
+
Q1_0 = 41
|
|
88
90
|
}
|
|
89
91
|
//# sourceMappingURL=gguf.d.ts.map
|
package/dist/esm/gguf.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gguf.d.ts","sourceRoot":"","sources":["../../src/gguf.ts"],"names":[],"mappings":"AAGA,oBAAY,wBAAwB;IACnC,GAAG,IAAI;IACP,GAAG,IAAI;IACP,IAAI,IAAI;IACR,IAAI,IAAI;IACR,aAAa,IAAI;IACjB,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,KAAK;IACT,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,IAAI,KAAK;IACT,OAAO,KAAK;IACZ,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,OAAO,KAAK;IACZ,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,IAAI,KAAK;IACT,QAAQ,KAAK;IACb,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BAAoB,CACnC,KAAK,EAAE,wBAAwB,EAC/B,eAAe,EAAE,wBAAwB,EAAE,GACzC,wBAAwB,GAAG,SAAS,CAmCtC;AAGD,oBAAY,oBAAoB;IAC/B,GAAG,IAAI;IACP,GAAG,IAAI;IACP,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,OAAO,KAAK;IACZ,MAAM,KAAK;IACX,OAAO,KAAK;IACZ,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,KAAK,KAAK;IACV,MAAM,KAAK;IACX,EAAE,KAAK;IACP,GAAG,KAAK;IACR,GAAG,KAAK;IACR,GAAG,KAAK;IACR,GAAG,KAAK;IACR,KAAK,KAAK;IACV,IAAI,KAAK;IACT,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,KAAK,KAAK;IACV,IAAI,KAAK;CACT"}
|
package/dist/esm/gguf.js
CHANGED
|
@@ -43,6 +43,7 @@ export var GGMLFileQuantizationType;
|
|
|
43
43
|
GGMLFileQuantizationType[GGMLFileQuantizationType["TQ2_0"] = 37] = "TQ2_0";
|
|
44
44
|
GGMLFileQuantizationType[GGMLFileQuantizationType["MXFP4_MOE"] = 38] = "MXFP4_MOE";
|
|
45
45
|
GGMLFileQuantizationType[GGMLFileQuantizationType["NVFP4"] = 39] = "NVFP4";
|
|
46
|
+
GGMLFileQuantizationType[GGMLFileQuantizationType["Q1_0"] = 40] = "Q1_0";
|
|
46
47
|
// custom quants used by unsloth
|
|
47
48
|
// they are not officially a scheme enum value in GGUF, but only here for naming
|
|
48
49
|
GGMLFileQuantizationType[GGMLFileQuantizationType["Q2_K_XL"] = 1000] = "Q2_K_XL";
|
|
@@ -115,6 +116,7 @@ export const GGUF_QUANT_ORDER = [
|
|
|
115
116
|
GGMLFileQuantizationType.IQ1_M,
|
|
116
117
|
GGMLFileQuantizationType.TQ1_0,
|
|
117
118
|
GGMLFileQuantizationType.TQ2_0,
|
|
119
|
+
GGMLFileQuantizationType.Q1_0,
|
|
118
120
|
];
|
|
119
121
|
// This function finds the nearest quantization type that is less than or equal to the given quantization type.
|
|
120
122
|
// It returns undefined if no such quantization type is found.
|
|
@@ -185,4 +187,5 @@ export var GGMLQuantizationType;
|
|
|
185
187
|
GGMLQuantizationType[GGMLQuantizationType["TQ2_0"] = 35] = "TQ2_0";
|
|
186
188
|
GGMLQuantizationType[GGMLQuantizationType["MXFP4"] = 39] = "MXFP4";
|
|
187
189
|
GGMLQuantizationType[GGMLQuantizationType["NVFP4"] = 40] = "NVFP4";
|
|
190
|
+
GGMLQuantizationType[GGMLQuantizationType["Q1_0"] = 41] = "Q1_0";
|
|
188
191
|
})(GGMLQuantizationType || (GGMLQuantizationType = {}));
|
package/dist/esm/hardware.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hardware.d.ts","sourceRoot":"","sources":["../../src/hardware.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,iDAAiD,QAAW,CAAC;AAC1E,eAAO,MAAM,yDAAyD,QAAW,CAAC;AAClF,eAAO,MAAM,oCAAoC,QAAU,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,+CAA+C,QAAW,CAAC;AAExE,MAAM,WAAW,YAAY;IAC5B;;;;;;;;;OASG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,UAElC,CAAC;AAEF,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"hardware.d.ts","sourceRoot":"","sources":["../../src/hardware.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,iDAAiD,QAAW,CAAC;AAC1E,eAAO,MAAM,yDAAyD,QAAW,CAAC;AAClF,eAAO,MAAM,oCAAoC,QAAU,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,+CAA+C,QAAW,CAAC;AAExE,MAAM,WAAW,YAAY;IAC5B;;;;;;;;;OASG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,UAElC,CAAC;AAEF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkSuD,CAAC;AAEzE,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,IAAI,CAAC"}
|
package/dist/esm/hardware.js
CHANGED
package/dist/esm/local-apps.d.ts
CHANGED
|
@@ -132,6 +132,13 @@ export declare const LOCAL_APPS: {
|
|
|
132
132
|
displayOnModelPage: typeof isLlamaCppGgufModel;
|
|
133
133
|
deeplink: (model: ModelData) => URL;
|
|
134
134
|
};
|
|
135
|
+
"atomic-chat": {
|
|
136
|
+
prettyLabel: string;
|
|
137
|
+
docsUrl: string;
|
|
138
|
+
mainTask: "text-generation";
|
|
139
|
+
displayOnModelPage: typeof isLlamaCppGgufModel;
|
|
140
|
+
deeplink: (model: ModelData) => URL;
|
|
141
|
+
};
|
|
135
142
|
backyard: {
|
|
136
143
|
prettyLabel: string;
|
|
137
144
|
docsUrl: string;
|
|
@@ -1 +1 @@
|
|
|
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AO,CAU9C;AAED,iBAAS,wBAAwB,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAE3D;AA0BD,iBAAS,cAAc,CAAC,KAAK,EAAE,SAAS,WAEvC;AAiaD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,UAAU;;;;;;yBA/ZS,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBAiDzC,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBA2F3D,SAAS,KAAG,eAAe,EAAE;;;;;;oCA6S3B,SAAS;yBAvPT,SAAS,KAAG,eAAe,EAAE;;;;;;;yBAoF9B,SAAS,KAAG,eAAe,EAAE;;;;;;;yBA7B/B,SAAS,KAAG,eAAe,EAAE;;;;;;;;;;;;;;yBApIzB,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAtDjD,SAAS,aAAa,MAAM,KAAG,MAAM;;;;;;;yBAIpC,SAAS,KAAG,eAAe,EAAE;;;;;;;yBAqSnB,SAAS,aAAa,MAAM,KAAG,MAAM;;;;;;;yBAM9C,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBArDtD,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;CA0StC,CAAC;AAErC,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,UAAU,CAAC"}
|
package/dist/esm/local-apps.js
CHANGED
|
@@ -399,42 +399,38 @@ const snippetDockerModelRunner = (model, filepath) => {
|
|
|
399
399
|
return `docker model run hf.co/${model.id}${quantTag}`;
|
|
400
400
|
};
|
|
401
401
|
const snippetLemonade = (model, filepath) => {
|
|
402
|
-
const tagName = getQuantTag(filepath);
|
|
403
402
|
const modelName = model.id.includes("/") ? model.id.split("/")[1] : model.id;
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
403
|
+
const isRyzenAI = model.tags.some((tag) => ["ryzenai-npu", "ryzenai-hybrid"].includes(tag));
|
|
404
|
+
// Lemonade auto-registers pulled models as `user.<suggested_name>[-<variant>]`.
|
|
405
|
+
// For GGUF/llamacpp: suggested_name is the repo name and variant is the quant tag.
|
|
406
|
+
// For RyzenAI ONNX: there is no per-variant suffix.
|
|
407
|
+
let pullArg;
|
|
408
|
+
let runName;
|
|
408
409
|
let requirements;
|
|
409
|
-
if (
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
requirements = " (requires
|
|
413
|
-
simplifiedModelName = modelName.split("-awq-")[0];
|
|
414
|
-
simplifiedModelName += recipe === "oga-npu" ? "-NPU" : "-Hybrid";
|
|
410
|
+
if (isRyzenAI) {
|
|
411
|
+
pullArg = model.id;
|
|
412
|
+
runName = `user.${modelName}`;
|
|
413
|
+
requirements = " (requires XDNA 2 NPU)";
|
|
415
414
|
}
|
|
416
415
|
else {
|
|
417
|
-
|
|
418
|
-
|
|
416
|
+
const tagName = getQuantTag(filepath);
|
|
417
|
+
pullArg = `${model.id}${tagName}`;
|
|
418
|
+
runName = `user.${modelName}${tagName.replace(":", "-")}`;
|
|
419
419
|
requirements = "";
|
|
420
|
-
simplifiedModelName = modelName;
|
|
421
420
|
}
|
|
422
421
|
return [
|
|
423
422
|
{
|
|
424
423
|
title: "Pull the model",
|
|
425
424
|
setup: "# Download Lemonade from https://lemonade-server.ai/",
|
|
426
|
-
content:
|
|
427
|
-
`lemonade-server pull user.${simplifiedModelName} --checkpoint ${checkpoint} --recipe ${recipe}`,
|
|
428
|
-
"# Note: If you installed from source, use the lemonade-server-dev command instead.",
|
|
429
|
-
].join("\n"),
|
|
425
|
+
content: `lemonade pull ${pullArg}`,
|
|
430
426
|
},
|
|
431
427
|
{
|
|
432
428
|
title: `Run and chat with the model${requirements}`,
|
|
433
|
-
content: `lemonade
|
|
429
|
+
content: `lemonade run ${runName}`,
|
|
434
430
|
},
|
|
435
431
|
{
|
|
436
432
|
title: "List all available models",
|
|
437
|
-
content: "lemonade
|
|
433
|
+
content: "lemonade list",
|
|
438
434
|
},
|
|
439
435
|
];
|
|
440
436
|
};
|
|
@@ -518,6 +514,13 @@ export const LOCAL_APPS = {
|
|
|
518
514
|
displayOnModelPage: isLlamaCppGgufModel,
|
|
519
515
|
deeplink: (model) => new URL(`jan://models/huggingface/${model.id}`),
|
|
520
516
|
},
|
|
517
|
+
"atomic-chat": {
|
|
518
|
+
prettyLabel: "Atomic Chat",
|
|
519
|
+
docsUrl: "https://atomic.chat",
|
|
520
|
+
mainTask: "text-generation",
|
|
521
|
+
displayOnModelPage: isLlamaCppGgufModel,
|
|
522
|
+
deeplink: (model) => new URL(`atomic-chat://models/huggingface/${model.id}`),
|
|
523
|
+
},
|
|
521
524
|
backyard: {
|
|
522
525
|
prettyLabel: "Backyard AI",
|
|
523
526
|
docsUrl: "https://backyard.ai",
|
|
@@ -156,6 +156,17 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
156
156
|
const snippet = snippetFunc(model);
|
|
157
157
|
expect(snippet).toEqual(`docker model run hf.co/bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}`);
|
|
158
158
|
});
|
|
159
|
+
it("atomic chat deeplink", async () => {
|
|
160
|
+
const { displayOnModelPage, deeplink } = LOCAL_APPS["atomic-chat"];
|
|
161
|
+
const model = {
|
|
162
|
+
id: "bartowski/Llama-3.2-3B-Instruct-GGUF",
|
|
163
|
+
tags: ["conversational"],
|
|
164
|
+
gguf: { total: 1, context_length: 4096 },
|
|
165
|
+
inference: "",
|
|
166
|
+
};
|
|
167
|
+
expect(displayOnModelPage(model)).toBe(true);
|
|
168
|
+
expect(deeplink(model).href).toBe("atomic-chat://models/huggingface/bartowski/Llama-3.2-3B-Instruct-GGUF");
|
|
169
|
+
});
|
|
159
170
|
it("unsloth tagged model", async () => {
|
|
160
171
|
const { displayOnModelPage, snippet: snippetFunc } = LOCAL_APPS.unsloth;
|
|
161
172
|
const model = {
|
|
@@ -437,6 +437,13 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
437
437
|
snippets: (model: ModelData) => string[];
|
|
438
438
|
filter: true;
|
|
439
439
|
};
|
|
440
|
+
eupe: {
|
|
441
|
+
prettyLabel: string;
|
|
442
|
+
repoName: string;
|
|
443
|
+
repoUrl: string;
|
|
444
|
+
filter: false;
|
|
445
|
+
countDownloads: string;
|
|
446
|
+
};
|
|
440
447
|
fairseq: {
|
|
441
448
|
prettyLabel: string;
|
|
442
449
|
repoName: string;
|
|
@@ -1568,5 +1575,5 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1568
1575
|
};
|
|
1569
1576
|
export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;
|
|
1570
1577
|
export declare const ALL_MODEL_LIBRARY_KEYS: ModelLibraryKey[];
|
|
1571
|
-
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("acestep" | "adapter-transformers" | "allennlp" | "anemoi" | "araclip" | "aviation-ner" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "bboxmaskpose" | "ben2" | "bertopic" | "big_vision" | "bionemo" | "birder" | "birefnet" | "bm25s" | "boltzgen" | "cancertathomev2" | "cartesia_pytorch" | "cartesia_mlx" | "champ" | "chatterbox" | "chaossim" | "chat_tts" | "chronos-forecasting" | "clara" | "clipscope" | "cloud-agents" | "colipri" | "cosyvoice" | "cotracker" | "colpali" | "comet" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dia-tts" | "dia2" | "diff-interpretation-tuning" | "diffree" | "diffusers" | "diffusionkit" | "docking-at-home" | "doctr" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fastprint" | "fasttext" | "fixer" | "flair" | "fme" | "gemma.cpp" | "geometry-crafter" | "gliner" | "gliner2" | "glm-tts" | "glyph-byt5" | "granite-library" | "grok" | "habibi-tts" | "hallo" | "hermes" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "hy-worldplay" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "intellifold" | "keras" | "tf-keras" | "keras-hub" | "kernels" | "kimi-audio" | "kittentts" | "kronos" | "k2" | "lagernvs" | "lightning-ir" | "litert" | "litert-lm" | "lerobot" | "lightglue" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "mamba-ssm" | "manas-1" | "mars5-tts" | "matanyone" | "mesh-anything" | "merlin" | "medvae" | "mitie" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "mtvcraft" | "nemo" | "nv-medtech" | "open-oasis" | "open_clip" | "openpeerllm" | "open-sora" | "outetts" | "paddlenlp" | "PaddleOCR" | "peft" | "perception-encoder" | "phantom-wan" | "pocket-tts" | "pruna-ai" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "quantumpeer" | "qwen3_tts" | "recurrentgemma" | "relik" | "refiners" | "renderformer" | "reverb" | "rkllm" | "saelens" | "sam2" | "sam-3d-body" | "sam-3d-objects" | "same" | "sample-factory" | "sap-rpt-1-oss" | "sapiens" | "seedvr" | "self-forcing" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "soloaudio" | "songbloom" | "stable-baselines3" | "stanza" | "supertonic" | "swarmformer" | "synthefy-migas" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tensorrt" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timm" | "tirex" | "torchgeo" | "transformers" | "transformers.js" | "trellis" | "ultralytics" | "univa" | "uni-3dar" | "unity-sentis" | "sana" | "videoprism" | "vfi-mamba" | "vismatch" | "lvface" | "voicecraft" | "voxcpm" | "vui" | "vibevoice" | "videox_fun" | "wan2.2" | "wham" | "whisperkit" | "yolov10" | "yolov26" | "zonos" | "3dtopia-xl")[];
|
|
1578
|
+
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("acestep" | "adapter-transformers" | "allennlp" | "anemoi" | "araclip" | "aviation-ner" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "bboxmaskpose" | "ben2" | "bertopic" | "big_vision" | "bionemo" | "birder" | "birefnet" | "bm25s" | "boltzgen" | "cancertathomev2" | "cartesia_pytorch" | "cartesia_mlx" | "champ" | "chatterbox" | "chaossim" | "chat_tts" | "chronos-forecasting" | "clara" | "clipscope" | "cloud-agents" | "colipri" | "cosyvoice" | "cotracker" | "colpali" | "comet" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dia-tts" | "dia2" | "diff-interpretation-tuning" | "diffree" | "diffusers" | "diffusionkit" | "docking-at-home" | "doctr" | "edsnlp" | "elm" | "espnet" | "eupe" | "fairseq" | "fastai" | "fastprint" | "fasttext" | "fixer" | "flair" | "fme" | "gemma.cpp" | "geometry-crafter" | "gliner" | "gliner2" | "glm-tts" | "glyph-byt5" | "granite-library" | "grok" | "habibi-tts" | "hallo" | "hermes" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "hy-worldplay" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "intellifold" | "keras" | "tf-keras" | "keras-hub" | "kernels" | "kimi-audio" | "kittentts" | "kronos" | "k2" | "lagernvs" | "lightning-ir" | "litert" | "litert-lm" | "lerobot" | "lightglue" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "mamba-ssm" | "manas-1" | "mars5-tts" | "matanyone" | "mesh-anything" | "merlin" | "medvae" | "mitie" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "mtvcraft" | "nemo" | "nv-medtech" | "open-oasis" | "open_clip" | "openpeerllm" | "open-sora" | "outetts" | "paddlenlp" | "PaddleOCR" | "peft" | "perception-encoder" | "phantom-wan" | "pocket-tts" | "pruna-ai" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "quantumpeer" | "qwen3_tts" | "recurrentgemma" | "relik" | "refiners" | "renderformer" | "reverb" | "rkllm" | "saelens" | "sam2" | "sam-3d-body" | "sam-3d-objects" | "same" | "sample-factory" | "sap-rpt-1-oss" | "sapiens" | "seedvr" | "self-forcing" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "soloaudio" | "songbloom" | "stable-baselines3" | "stanza" | "supertonic" | "swarmformer" | "synthefy-migas" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tensorrt" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timm" | "tirex" | "torchgeo" | "transformers" | "transformers.js" | "trellis" | "ultralytics" | "univa" | "uni-3dar" | "unity-sentis" | "sana" | "videoprism" | "vfi-mamba" | "vismatch" | "lvface" | "voicecraft" | "voxcpm" | "vui" | "vibevoice" | "videox_fun" | "wan2.2" | "wham" | "whisperkit" | "yolov10" | "yolov26" | "zonos" | "3dtopia-xl")[];
|
|
1572
1579
|
//# sourceMappingURL=model-libraries.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-libraries.d.ts","sourceRoot":"","sources":["../../src/model-libraries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAq/CI,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,2BAA2B,CAAC;AAEvE,eAAO,MAAM,sBAAsB,EAA+C,eAAe,EAAE,CAAC;AAEpG,eAAO,MAAM,8BAA8B,q5FAQ1B,CAAC"}
|
|
@@ -398,6 +398,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
398
398
|
snippets: snippets.espnet,
|
|
399
399
|
filter: true,
|
|
400
400
|
},
|
|
401
|
+
eupe: {
|
|
402
|
+
prettyLabel: "EUPE",
|
|
403
|
+
repoName: "EUPE",
|
|
404
|
+
repoUrl: "https://github.com/facebookresearch/EUPE",
|
|
405
|
+
filter: false,
|
|
406
|
+
countDownloads: `path_extension:"pt"`,
|
|
407
|
+
},
|
|
401
408
|
fairseq: {
|
|
402
409
|
prettyLabel: "Fairseq",
|
|
403
410
|
repoName: "fairseq",
|
package/package.json
CHANGED
package/src/eval.ts
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
* List of supported Evaluation Frameworks supported in the `eval.yaml` file in benchmarks datasets.
|
|
3
3
|
*/
|
|
4
4
|
export const EVALUATION_FRAMEWORKS = {
|
|
5
|
+
exgentic: {
|
|
6
|
+
name: "exgentic",
|
|
7
|
+
description:
|
|
8
|
+
"Exgentic is an open evaluation framework for general-purpose AI agents across diverse domains and benchmarks.",
|
|
9
|
+
url: "https://github.com/Exgentic/exgentic",
|
|
10
|
+
},
|
|
5
11
|
"inspect-ai": {
|
|
6
12
|
name: "inspect-ai",
|
|
7
13
|
description: "Inspect AI is an open-source framework for large language model evaluations.",
|
|
@@ -71,4 +77,10 @@ export const EVALUATION_FRAMEWORKS = {
|
|
|
71
77
|
description: "The Open ASR Leaderboard ranks and evaluates speech recognition models.",
|
|
72
78
|
url: "https://github.com/huggingface/open_asr_leaderboard",
|
|
73
79
|
},
|
|
80
|
+
mdpbench: {
|
|
81
|
+
name: "mdpbench",
|
|
82
|
+
description:
|
|
83
|
+
"MDPBench is a benchmark for evaluating multilingual document parsing across digital, photographed, Latin, and non-Latin document subsets.",
|
|
84
|
+
url: "https://github.com/Yuliang-Liu/MultimodalOCR",
|
|
85
|
+
},
|
|
74
86
|
} as const;
|
package/src/gguf.ts
CHANGED
|
@@ -42,6 +42,7 @@ export enum GGMLFileQuantizationType {
|
|
|
42
42
|
TQ2_0 = 37,
|
|
43
43
|
MXFP4_MOE = 38,
|
|
44
44
|
NVFP4 = 39,
|
|
45
|
+
Q1_0 = 40,
|
|
45
46
|
|
|
46
47
|
// custom quants used by unsloth
|
|
47
48
|
// they are not officially a scheme enum value in GGUF, but only here for naming
|
|
@@ -126,6 +127,7 @@ export const GGUF_QUANT_ORDER: GGMLFileQuantizationType[] = [
|
|
|
126
127
|
GGMLFileQuantizationType.IQ1_M,
|
|
127
128
|
GGMLFileQuantizationType.TQ1_0,
|
|
128
129
|
GGMLFileQuantizationType.TQ2_0,
|
|
130
|
+
GGMLFileQuantizationType.Q1_0,
|
|
129
131
|
];
|
|
130
132
|
|
|
131
133
|
// This function finds the nearest quantization type that is less than or equal to the given quantization type.
|
|
@@ -205,4 +207,5 @@ export enum GGMLQuantizationType {
|
|
|
205
207
|
TQ2_0 = 35,
|
|
206
208
|
MXFP4 = 39,
|
|
207
209
|
NVFP4 = 40,
|
|
210
|
+
Q1_0 = 41,
|
|
208
211
|
}
|
package/src/hardware.ts
CHANGED
package/src/local-apps.spec.ts
CHANGED
|
@@ -174,6 +174,19 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
174
174
|
expect(snippet).toEqual(`docker model run hf.co/bartowski/Llama-3.2-3B-Instruct-GGUF:{{QUANT_TAG}}`);
|
|
175
175
|
});
|
|
176
176
|
|
|
177
|
+
it("atomic chat deeplink", async () => {
|
|
178
|
+
const { displayOnModelPage, deeplink } = LOCAL_APPS["atomic-chat"];
|
|
179
|
+
const model: ModelData = {
|
|
180
|
+
id: "bartowski/Llama-3.2-3B-Instruct-GGUF",
|
|
181
|
+
tags: ["conversational"],
|
|
182
|
+
gguf: { total: 1, context_length: 4096 },
|
|
183
|
+
inference: "",
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
expect(displayOnModelPage(model)).toBe(true);
|
|
187
|
+
expect(deeplink(model).href).toBe("atomic-chat://models/huggingface/bartowski/Llama-3.2-3B-Instruct-GGUF");
|
|
188
|
+
});
|
|
189
|
+
|
|
177
190
|
it("unsloth tagged model", async () => {
|
|
178
191
|
const { displayOnModelPage, snippet: snippetFunc } = LOCAL_APPS.unsloth;
|
|
179
192
|
const model: ModelData = {
|
package/src/local-apps.ts
CHANGED
|
@@ -513,43 +513,39 @@ const snippetDockerModelRunner = (model: ModelData, filepath?: string): string =
|
|
|
513
513
|
};
|
|
514
514
|
|
|
515
515
|
const snippetLemonade = (model: ModelData, filepath?: string): LocalAppSnippet[] => {
|
|
516
|
-
const tagName = getQuantTag(filepath);
|
|
517
516
|
const modelName = model.id.includes("/") ? model.id.split("/")[1] : model.id;
|
|
517
|
+
const isRyzenAI = model.tags.some((tag) => ["ryzenai-npu", "ryzenai-hybrid"].includes(tag));
|
|
518
518
|
|
|
519
|
-
//
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
let
|
|
519
|
+
// Lemonade auto-registers pulled models as `user.<suggested_name>[-<variant>]`.
|
|
520
|
+
// For GGUF/llamacpp: suggested_name is the repo name and variant is the quant tag.
|
|
521
|
+
// For RyzenAI ONNX: there is no per-variant suffix.
|
|
522
|
+
let pullArg: string;
|
|
523
|
+
let runName: string;
|
|
523
524
|
let requirements: string;
|
|
524
|
-
if (
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
requirements = " (requires
|
|
528
|
-
simplifiedModelName = modelName.split("-awq-")[0];
|
|
529
|
-
simplifiedModelName += recipe === "oga-npu" ? "-NPU" : "-Hybrid";
|
|
525
|
+
if (isRyzenAI) {
|
|
526
|
+
pullArg = model.id;
|
|
527
|
+
runName = `user.${modelName}`;
|
|
528
|
+
requirements = " (requires XDNA 2 NPU)";
|
|
530
529
|
} else {
|
|
531
|
-
|
|
532
|
-
|
|
530
|
+
const tagName = getQuantTag(filepath);
|
|
531
|
+
pullArg = `${model.id}${tagName}`;
|
|
532
|
+
runName = `user.${modelName}${tagName.replace(":", "-")}`;
|
|
533
533
|
requirements = "";
|
|
534
|
-
simplifiedModelName = modelName;
|
|
535
534
|
}
|
|
536
535
|
|
|
537
536
|
return [
|
|
538
537
|
{
|
|
539
538
|
title: "Pull the model",
|
|
540
539
|
setup: "# Download Lemonade from https://lemonade-server.ai/",
|
|
541
|
-
content:
|
|
542
|
-
`lemonade-server pull user.${simplifiedModelName} --checkpoint ${checkpoint} --recipe ${recipe}`,
|
|
543
|
-
"# Note: If you installed from source, use the lemonade-server-dev command instead.",
|
|
544
|
-
].join("\n"),
|
|
540
|
+
content: `lemonade pull ${pullArg}`,
|
|
545
541
|
},
|
|
546
542
|
{
|
|
547
543
|
title: `Run and chat with the model${requirements}`,
|
|
548
|
-
content: `lemonade
|
|
544
|
+
content: `lemonade run ${runName}`,
|
|
549
545
|
},
|
|
550
546
|
{
|
|
551
547
|
title: "List all available models",
|
|
552
|
-
content: "lemonade
|
|
548
|
+
content: "lemonade list",
|
|
553
549
|
},
|
|
554
550
|
];
|
|
555
551
|
};
|
|
@@ -636,6 +632,13 @@ export const LOCAL_APPS = {
|
|
|
636
632
|
displayOnModelPage: isLlamaCppGgufModel,
|
|
637
633
|
deeplink: (model) => new URL(`jan://models/huggingface/${model.id}`),
|
|
638
634
|
},
|
|
635
|
+
"atomic-chat": {
|
|
636
|
+
prettyLabel: "Atomic Chat",
|
|
637
|
+
docsUrl: "https://atomic.chat",
|
|
638
|
+
mainTask: "text-generation",
|
|
639
|
+
displayOnModelPage: isLlamaCppGgufModel,
|
|
640
|
+
deeplink: (model) => new URL(`atomic-chat://models/huggingface/${model.id}`),
|
|
641
|
+
},
|
|
639
642
|
backyard: {
|
|
640
643
|
prettyLabel: "Backyard AI",
|
|
641
644
|
docsUrl: "https://backyard.ai",
|
package/src/model-libraries.ts
CHANGED
|
@@ -442,6 +442,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
442
442
|
snippets: snippets.espnet,
|
|
443
443
|
filter: true,
|
|
444
444
|
},
|
|
445
|
+
eupe: {
|
|
446
|
+
prettyLabel: "EUPE",
|
|
447
|
+
repoName: "EUPE",
|
|
448
|
+
repoUrl: "https://github.com/facebookresearch/EUPE",
|
|
449
|
+
filter: false,
|
|
450
|
+
countDownloads: `path_extension:"pt"`,
|
|
451
|
+
},
|
|
445
452
|
fairseq: {
|
|
446
453
|
prettyLabel: "Fairseq",
|
|
447
454
|
repoName: "fairseq",
|