@huggingface/tasks 0.21.38 → 0.21.39
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/local-apps.d.ts +1 -1
- package/dist/commonjs/local-apps.d.ts.map +1 -1
- package/dist/commonjs/local-apps.js +10 -46
- package/dist/commonjs/local-apps.spec.js +5 -19
- package/dist/commonjs/model-libraries-snippets.d.ts +3 -0
- package/dist/commonjs/model-libraries-snippets.d.ts.map +1 -1
- package/dist/commonjs/model-libraries-snippets.js +47 -3
- package/dist/commonjs/model-libraries.d.ts +40 -1
- package/dist/commonjs/model-libraries.d.ts.map +1 -1
- package/dist/commonjs/model-libraries.js +39 -0
- package/dist/esm/local-apps.d.ts +1 -1
- package/dist/esm/local-apps.d.ts.map +1 -1
- package/dist/esm/local-apps.js +10 -46
- package/dist/esm/local-apps.spec.js +5 -19
- package/dist/esm/model-libraries-snippets.d.ts +3 -0
- package/dist/esm/model-libraries-snippets.d.ts.map +1 -1
- package/dist/esm/model-libraries-snippets.js +41 -0
- package/dist/esm/model-libraries.d.ts +40 -1
- package/dist/esm/model-libraries.d.ts.map +1 -1
- package/dist/esm/model-libraries.js +39 -0
- package/package.json +1 -1
- package/src/local-apps.spec.ts +6 -28
- package/src/local-apps.ts +10 -53
- package/src/model-libraries-snippets.ts +46 -0
- package/src/model-libraries.ts +39 -0
|
@@ -222,7 +222,7 @@ export declare const LOCAL_APPS: {
|
|
|
222
222
|
docsUrl: string;
|
|
223
223
|
mainTask: "text-generation";
|
|
224
224
|
displayOnModelPage: typeof isUnslothModel;
|
|
225
|
-
|
|
225
|
+
deeplink: (model: ModelData, filepath: string | undefined) => URL;
|
|
226
226
|
};
|
|
227
227
|
"docker-model-runner": {
|
|
228
228
|
prettyLabel: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-apps.d.ts","sourceRoot":"","sources":["../../src/local-apps.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,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Aa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBAlGtD,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBAkCvC,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;yBA2BnD,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;CA4S5C,CAAC;AAErC,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,UAAU,CAAC"}
|
|
@@ -137,49 +137,6 @@ const snippetNodeLlamaCppCli = (model, filepath) => {
|
|
|
137
137
|
const snippetOllama = (model, filepath) => {
|
|
138
138
|
return `ollama run hf.co/${model.id}${getQuantTag(filepath)}`;
|
|
139
139
|
};
|
|
140
|
-
const snippetUnsloth = (model) => {
|
|
141
|
-
const isGguf = isLlamaCppGgufModel(model);
|
|
142
|
-
const studio_content = [
|
|
143
|
-
"# Run unsloth studio",
|
|
144
|
-
"unsloth studio -H 0.0.0.0 -p 8888",
|
|
145
|
-
"# Then open http://localhost:8888 in your browser",
|
|
146
|
-
"# Search for " + model.id + " to start chatting",
|
|
147
|
-
].join("\n");
|
|
148
|
-
const studio_instructions = {
|
|
149
|
-
title: "Install Unsloth Studio (macOS, Linux, WSL)",
|
|
150
|
-
setup: "curl -fsSL https://unsloth.ai/install.sh | sh",
|
|
151
|
-
content: studio_content,
|
|
152
|
-
};
|
|
153
|
-
const studio_instructions_windows = {
|
|
154
|
-
title: "Install Unsloth Studio (Windows)",
|
|
155
|
-
setup: "irm https://unsloth.ai/install.ps1 | iex",
|
|
156
|
-
content: studio_content,
|
|
157
|
-
};
|
|
158
|
-
const hf_spaces_instructions = {
|
|
159
|
-
title: "Using HuggingFace Spaces for Unsloth",
|
|
160
|
-
setup: "# No setup required",
|
|
161
|
-
content: "# Open https://huggingface.co/spaces/unsloth/studio in your browser\n# Search for " +
|
|
162
|
-
model.id +
|
|
163
|
-
" to start chatting",
|
|
164
|
-
};
|
|
165
|
-
const fastmodel_instructions = {
|
|
166
|
-
title: "Load model with FastModel",
|
|
167
|
-
setup: "pip install unsloth",
|
|
168
|
-
content: [
|
|
169
|
-
"from unsloth import FastModel",
|
|
170
|
-
"model, tokenizer = FastModel.from_pretrained(",
|
|
171
|
-
' model_name="' + model.id + '",',
|
|
172
|
-
" max_seq_length=2048,",
|
|
173
|
-
")",
|
|
174
|
-
].join("\n"),
|
|
175
|
-
};
|
|
176
|
-
if (isGguf) {
|
|
177
|
-
return [studio_instructions, studio_instructions_windows, hf_spaces_instructions];
|
|
178
|
-
}
|
|
179
|
-
else {
|
|
180
|
-
return [studio_instructions, studio_instructions_windows, hf_spaces_instructions, fastmodel_instructions];
|
|
181
|
-
}
|
|
182
|
-
};
|
|
183
140
|
const snippetLocalAI = (model, filepath) => {
|
|
184
141
|
const command = (binary) => ["# Load and run the model:", `${binary} huggingface://${model.id}/${filepath ?? "{{GGUF_FILE}}"}`].join("\n");
|
|
185
142
|
return [
|
|
@@ -672,11 +629,18 @@ exports.LOCAL_APPS = {
|
|
|
672
629
|
snippet: snippetOllama,
|
|
673
630
|
},
|
|
674
631
|
unsloth: {
|
|
675
|
-
prettyLabel: "Unsloth
|
|
676
|
-
docsUrl: "https://unsloth.ai/docs
|
|
632
|
+
prettyLabel: "Unsloth Desktop",
|
|
633
|
+
docsUrl: "https://unsloth.ai/docs",
|
|
677
634
|
mainTask: "text-generation",
|
|
678
635
|
displayOnModelPage: isUnslothModel,
|
|
679
|
-
|
|
636
|
+
deeplink: (model, filepath) => {
|
|
637
|
+
const url = new URL("unsloth://open_from_hf");
|
|
638
|
+
url.searchParams.set("model", model.id);
|
|
639
|
+
if (filepath) {
|
|
640
|
+
url.searchParams.set("file", filepath);
|
|
641
|
+
}
|
|
642
|
+
return url;
|
|
643
|
+
},
|
|
680
644
|
},
|
|
681
645
|
"docker-model-runner": {
|
|
682
646
|
prettyLabel: "Docker Model Runner",
|
|
@@ -269,25 +269,17 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
269
269
|
(0, vitest_1.expect)(displayOnModelPage(model)).toBe(false);
|
|
270
270
|
});
|
|
271
271
|
(0, vitest_1.it)("unsloth tagged model", async () => {
|
|
272
|
-
const { displayOnModelPage,
|
|
272
|
+
const { displayOnModelPage, deeplink } = local_apps_js_1.LOCAL_APPS.unsloth;
|
|
273
273
|
const model = {
|
|
274
274
|
id: "some-user/my-unsloth-finetune",
|
|
275
275
|
tags: ["unsloth", "conversational"],
|
|
276
276
|
inference: "",
|
|
277
277
|
};
|
|
278
278
|
(0, vitest_1.expect)(displayOnModelPage(model)).toBe(true);
|
|
279
|
-
|
|
280
|
-
(0, vitest_1.expect)(snippet[0].setup).toBe("curl -fsSL https://unsloth.ai/install.sh | sh");
|
|
281
|
-
(0, vitest_1.expect)(snippet[0].content).toBe("# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p 8888\n# Then open http://localhost:8888 in your browser\n# Search for some-user/my-unsloth-finetune to start chatting");
|
|
282
|
-
(0, vitest_1.expect)(snippet[1].setup).toBe("irm https://unsloth.ai/install.ps1 | iex");
|
|
283
|
-
(0, vitest_1.expect)(snippet[1].content).toBe(snippet[0].content);
|
|
284
|
-
(0, vitest_1.expect)(snippet[2].setup).toBe("# No setup required");
|
|
285
|
-
(0, vitest_1.expect)(snippet[2].content).toBe("# Open https://huggingface.co/spaces/unsloth/studio in your browser\n# Search for some-user/my-unsloth-finetune to start chatting");
|
|
286
|
-
(0, vitest_1.expect)(snippet[3].setup).toBe("pip install unsloth");
|
|
287
|
-
(0, vitest_1.expect)(snippet[3].content).toBe('from unsloth import FastModel\nmodel, tokenizer = FastModel.from_pretrained(\n model_name="some-user/my-unsloth-finetune",\n max_seq_length=2048,\n)');
|
|
279
|
+
(0, vitest_1.expect)(deeplink(model, undefined).href).toBe("unsloth://open_from_hf?model=some-user%2Fmy-unsloth-finetune");
|
|
288
280
|
});
|
|
289
281
|
(0, vitest_1.it)("unsloth namespace gguf model", async () => {
|
|
290
|
-
const { displayOnModelPage,
|
|
282
|
+
const { displayOnModelPage, deeplink } = local_apps_js_1.LOCAL_APPS.unsloth;
|
|
291
283
|
const model = {
|
|
292
284
|
id: "unsloth/Llama-3.2-3B-Instruct-GGUF",
|
|
293
285
|
tags: ["conversational"],
|
|
@@ -295,14 +287,8 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
295
287
|
inference: "",
|
|
296
288
|
};
|
|
297
289
|
(0, vitest_1.expect)(displayOnModelPage(model)).toBe(true);
|
|
298
|
-
|
|
299
|
-
(0, vitest_1.expect)(
|
|
300
|
-
(0, vitest_1.expect)(snippet[0].content).toBe("# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p 8888\n# Then open http://localhost:8888 in your browser\n# Search for unsloth/Llama-3.2-3B-Instruct-GGUF to start chatting");
|
|
301
|
-
(0, vitest_1.expect)(snippet[1].setup).toBe("irm https://unsloth.ai/install.ps1 | iex");
|
|
302
|
-
(0, vitest_1.expect)(snippet[1].content).toBe(snippet[0].content);
|
|
303
|
-
(0, vitest_1.expect)(snippet[2].setup).toBe("# No setup required");
|
|
304
|
-
(0, vitest_1.expect)(snippet[2].content).toBe("# Open https://huggingface.co/spaces/unsloth/studio in your browser\n# Search for unsloth/Llama-3.2-3B-Instruct-GGUF to start chatting");
|
|
305
|
-
(0, vitest_1.expect)(snippet).toHaveLength(3); // GGUF models only get 3 snippets
|
|
290
|
+
(0, vitest_1.expect)(deeplink(model, undefined).href).toBe("unsloth://open_from_hf?model=unsloth%2FLlama-3.2-3B-Instruct-GGUF");
|
|
291
|
+
(0, vitest_1.expect)(deeplink(model, "Llama-3.2-3B-Instruct-UD-Q4_K_XL.gguf").href).toBe("unsloth://open_from_hf?model=unsloth%2FLlama-3.2-3B-Instruct-GGUF&file=Llama-3.2-3B-Instruct-UD-Q4_K_XL.gguf");
|
|
306
292
|
});
|
|
307
293
|
(0, vitest_1.it)("non unsloth namespace gguf model", async () => {
|
|
308
294
|
const { displayOnModelPage } = local_apps_js_1.LOCAL_APPS.unsloth;
|
|
@@ -12,6 +12,7 @@ export declare const chronos_forecasting: (model: ModelData) => string[];
|
|
|
12
12
|
export declare const collectorvision: (model: ModelData) => string[];
|
|
13
13
|
export declare const colipri: (model: ModelData) => string[];
|
|
14
14
|
export declare const sap_rpt_one_oss: () => string[];
|
|
15
|
+
export declare const cortiq: (model: ModelData) => string[];
|
|
15
16
|
export declare const cxr_foundation: () => string[];
|
|
16
17
|
export declare const depth_anything_v2: (model: ModelData) => string[];
|
|
17
18
|
export declare const depth_pro: (model: ModelData) => string[];
|
|
@@ -48,10 +49,12 @@ export declare const tf_keras: (model: ModelData) => string[];
|
|
|
48
49
|
export declare const mamba_ssm: (model: ModelData) => string[];
|
|
49
50
|
export declare const mars5_tts: (model: ModelData) => string[];
|
|
50
51
|
export declare const matanyone: (model: ModelData) => string[];
|
|
52
|
+
export declare const memra: (model: ModelData) => string[];
|
|
51
53
|
export declare const mesh_anything: () => string[];
|
|
52
54
|
export declare const multimolecule: (model: ModelData) => string[];
|
|
53
55
|
export declare const open_clip: (model: ModelData) => string[];
|
|
54
56
|
export declare const openasr: (model: ModelData) => string[];
|
|
57
|
+
export declare const opendde: () => string[];
|
|
55
58
|
export declare const paddlenlp: (model: ModelData) => string[];
|
|
56
59
|
export declare const paddleocr: (model: ModelData) => string[];
|
|
57
60
|
export declare const perception_encoder: (model: ModelData) => string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-libraries-snippets.d.ts","sourceRoot":"","sources":["../../src/model-libraries-snippets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAoBjD,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,KAAG,MAAM,EAOjD,CAAC;AAkBF,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,KAAG,MAAM,EAKjD,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,OAAO,SAAS,KAAG,MAAM,EAIhD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,SA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whisperkit = exports.audiocraft = exports.anemoi = exports.qwen3_tts = exports.pythae = exports.pxia = exports.outetts = exports.nemo = exports.pruna = exports.mobilint = exports.model2vec = exports.mlx = exports.mlxim = exports.univa = exports.swarmformer = void 0;
|
|
3
|
+
exports.matanyone = exports.mars5_tts = exports.mamba_ssm = exports.tf_keras = exports.litert_lm = exports.lerobot = exports.llama_cpp_python = exports.lightning_ir = exports.ltx = exports.kittentts = exports.kimi_audio = exports.kernels = exports.keras_hub = exports.keras = exports.htrflow = exports.indextts = exports.gliner2 = exports.gliner = exports.flextab = exports.flair = exports.fairseq = exports.espnet = exports.espnetASR = exports.espnetTTS = exports.edsnlp = exports.cartesia_mlx = exports.cartesia_pytorch = exports.diffusionkit = exports.diffusers = exports.describe_anything = exports.dia2 = exports.dia = exports.derm_foundation = exports.depth_pro = exports.depth_anything_v2 = exports.cxr_foundation = exports.cortiq = exports.sap_rpt_one_oss = exports.colipri = exports.collectorvision = exports.chronos_forecasting = exports.chatterbox = exports.bm25s = exports.bertopic = exports.ben2 = exports.audioseal = exports.asteroid = exports.araclip = exports.allennlp = exports.adapters = void 0;
|
|
4
|
+
exports.ultralytics = exports.chattts = exports.vui = exports.voxcpm = exports.voicecraft = exports.lvface = exports.vfimamba = exports.videoprism = exports.vibevoice = exports.sana = exports.sentis = exports.mlAgents = exports.stableBaselines3 = exports.fasttext = exports.peft = exports.transformersJS = exports.transformers = exports.terratorch = exports.speechbrain = exports.stanza = exports.span_marker = exports.spacy = exports.setfit = exports.sentenceTransformers = exports.sampleFactory = exports.sam_3d_body = exports.sam_3d_objects = exports.sam2 = exports.fastai = exports.stable_audio_tools = exports.sklearn = exports.seed_story = exports.saelens = exports.timm = exports.tensorflowtts = exports.renderformer = exports.relik = exports.pyannote_audio = exports.pyannote_audio_pipeline = exports.pocket_tts = exports.phantom_wan = exports.perception_encoder = exports.paddleocr = exports.paddlenlp = exports.opendde = exports.openasr = exports.open_clip = exports.multimolecule = exports.mesh_anything = exports.memra = void 0;
|
|
5
|
+
exports.moshi = exports.zonos = exports.hezar = exports.threedtopia_xl = exports.whisperkit = exports.audiocraft = exports.anemoi = exports.qwen3_tts = exports.pythae = exports.pxia = exports.outetts = exports.nemo = exports.pruna = exports.mobilint = exports.model2vec = exports.mlx = exports.mlxim = exports.univa = exports.swarmformer = exports.supertonic = exports.nobg = exports.birefnet = void 0;
|
|
6
6
|
const library_to_tasks_js_1 = require("./library-to-tasks.js");
|
|
7
7
|
const inputs_js_1 = require("./snippets/inputs.js");
|
|
8
8
|
const common_js_1 = require("./snippets/common.js");
|
|
@@ -230,6 +230,31 @@ print("R² Score:", r2)`;
|
|
|
230
230
|
return [installSnippet, classificationSnippet, regressionsSnippet];
|
|
231
231
|
};
|
|
232
232
|
exports.sap_rpt_one_oss = sap_rpt_one_oss;
|
|
233
|
+
const cortiq = (model) => {
|
|
234
|
+
const setup = `# one Rust binary, no additional dependencies
|
|
235
|
+
cargo install cortiq-cli # or a prebuilt binary from github.com/infosave2007/cmf/releases
|
|
236
|
+
hf download ${model.id} --include "*.cmf" --local-dir .
|
|
237
|
+
ls *.cmf # some repos ship more than one quantization`;
|
|
238
|
+
if (model.pipeline_tag === "text-to-image") {
|
|
239
|
+
return [setup, `cortiq imagine FILE.cmf --prompt "a red fox in a snowy forest" --out fox.ppm`];
|
|
240
|
+
}
|
|
241
|
+
if (model.pipeline_tag === "text-to-video") {
|
|
242
|
+
return [setup, `cortiq animate FILE.cmf --prompt "a corgi in a chef hat flipping a pancake" --out clip.avi`];
|
|
243
|
+
}
|
|
244
|
+
if (model.pipeline_tag === "text-to-audio") {
|
|
245
|
+
return [
|
|
246
|
+
setup,
|
|
247
|
+
`cortiq music FILE.cmf --prompt "dream pop, warm analog synths, brushed drums" \\
|
|
248
|
+
--lyrics "[verse] the tide came in and took the map" --seconds 20 --out song.wav`,
|
|
249
|
+
];
|
|
250
|
+
}
|
|
251
|
+
return [
|
|
252
|
+
setup,
|
|
253
|
+
`cortiq run FILE.cmf --prompt "What is the capital of France?"`,
|
|
254
|
+
`cortiq serve FILE.cmf --port 8080 # OpenAI-compatible server`,
|
|
255
|
+
];
|
|
256
|
+
};
|
|
257
|
+
exports.cortiq = cortiq;
|
|
233
258
|
const cxr_foundation = () => [
|
|
234
259
|
`# pip install git+https://github.com/Google-Health/cxr-foundation.git#subdirectory=python
|
|
235
260
|
|
|
@@ -1357,6 +1382,18 @@ from matanyone import InferenceCore
|
|
|
1357
1382
|
processor = InferenceCore("${model.id}")`,
|
|
1358
1383
|
];
|
|
1359
1384
|
exports.matanyone = matanyone;
|
|
1385
|
+
const memra = (model) => [
|
|
1386
|
+
`# memra serves NVIDIA Blackwell workstation and consumer cards (sm_120a), with a
|
|
1387
|
+
# compile-gated Hopper lane. Prebuilt binaries need Linux x86_64 and driver 580+,
|
|
1388
|
+
# and no CUDA toolkit.
|
|
1389
|
+
curl -fsSL https://raw.githubusercontent.com/avifenesh/memra/main/tools/install.sh | sh`,
|
|
1390
|
+
`# One chat-templated generation. In a repo with several GGUF files, append
|
|
1391
|
+
# :<substring> to choose one, for example hf:${model.id}:Q4_K_M
|
|
1392
|
+
MEMRA_CHAT=1 run-gen hf:${model.id} --prompt "Explain KV caches in one sentence."`,
|
|
1393
|
+
`# Or an OpenAI-compatible server on 127.0.0.1:8080.
|
|
1394
|
+
MEMRA_MODELS="model=hf:${model.id}" memra-server`,
|
|
1395
|
+
];
|
|
1396
|
+
exports.memra = memra;
|
|
1360
1397
|
const mesh_anything = () => [
|
|
1361
1398
|
`# Install from https://github.com/buaacyw/MeshAnything.git
|
|
1362
1399
|
|
|
@@ -1426,6 +1463,13 @@ openasr transcribe audio.wav --model ${modelId}`,
|
|
|
1426
1463
|
];
|
|
1427
1464
|
};
|
|
1428
1465
|
exports.openasr = openasr;
|
|
1466
|
+
const opendde = () => [
|
|
1467
|
+
`# pip install 'opendde[gpu]'
|
|
1468
|
+
# Checkpoints are fetched from the Hub into $OPENDDE_ROOT_DIR (default ~/.cache/opendde)
|
|
1469
|
+
opendde doctor
|
|
1470
|
+
opendde pred -i examples/input.json -o ./output -n opendde_v1`,
|
|
1471
|
+
];
|
|
1472
|
+
exports.opendde = opendde;
|
|
1429
1473
|
const paddlenlp = (model) => {
|
|
1430
1474
|
const architecture = model.config?.architectures?.[0];
|
|
1431
1475
|
// interpolated as a Python class name, so a non-identifier is treated as absent
|
|
@@ -330,6 +330,14 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
330
330
|
repoUrl: string;
|
|
331
331
|
countDownloads: string;
|
|
332
332
|
};
|
|
333
|
+
cortiq: {
|
|
334
|
+
prettyLabel: string;
|
|
335
|
+
repoName: string;
|
|
336
|
+
repoUrl: string;
|
|
337
|
+
docsUrl: string;
|
|
338
|
+
snippets: (model: ModelData) => string[];
|
|
339
|
+
countDownloads: string;
|
|
340
|
+
};
|
|
333
341
|
cosmos: {
|
|
334
342
|
prettyLabel: string;
|
|
335
343
|
repoName: string;
|
|
@@ -918,6 +926,13 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
918
926
|
snippets: (model: ModelData) => string[];
|
|
919
927
|
filter: false;
|
|
920
928
|
};
|
|
929
|
+
memra: {
|
|
930
|
+
prettyLabel: string;
|
|
931
|
+
repoName: string;
|
|
932
|
+
repoUrl: string;
|
|
933
|
+
snippets: (model: ModelData) => string[];
|
|
934
|
+
filter: false;
|
|
935
|
+
};
|
|
921
936
|
"mesh-anything": {
|
|
922
937
|
prettyLabel: string;
|
|
923
938
|
repoName: string;
|
|
@@ -1009,6 +1024,14 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1009
1024
|
snippets: (model: ModelData) => string[];
|
|
1010
1025
|
filter: false;
|
|
1011
1026
|
};
|
|
1027
|
+
"montreal-forced-aligner": {
|
|
1028
|
+
prettyLabel: string;
|
|
1029
|
+
repoName: string;
|
|
1030
|
+
repoUrl: string;
|
|
1031
|
+
docsUrl: string;
|
|
1032
|
+
filter: false;
|
|
1033
|
+
countDownloads: string;
|
|
1034
|
+
};
|
|
1012
1035
|
moshi: {
|
|
1013
1036
|
prettyLabel: string;
|
|
1014
1037
|
repoName: string;
|
|
@@ -1084,6 +1107,15 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1084
1107
|
filter: false;
|
|
1085
1108
|
countDownloads: string;
|
|
1086
1109
|
};
|
|
1110
|
+
opendde: {
|
|
1111
|
+
prettyLabel: string;
|
|
1112
|
+
repoName: string;
|
|
1113
|
+
repoUrl: string;
|
|
1114
|
+
docsUrl: string;
|
|
1115
|
+
snippets: () => string[];
|
|
1116
|
+
filter: false;
|
|
1117
|
+
countDownloads: string;
|
|
1118
|
+
};
|
|
1087
1119
|
openpeerllm: {
|
|
1088
1120
|
prettyLabel: string;
|
|
1089
1121
|
repoName: string;
|
|
@@ -1148,6 +1180,13 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1148
1180
|
filter: false;
|
|
1149
1181
|
countDownloads: string;
|
|
1150
1182
|
};
|
|
1183
|
+
piper: {
|
|
1184
|
+
prettyLabel: string;
|
|
1185
|
+
repoName: string;
|
|
1186
|
+
repoUrl: string;
|
|
1187
|
+
filter: false;
|
|
1188
|
+
countDownloads: string;
|
|
1189
|
+
};
|
|
1151
1190
|
"pocket-tts": {
|
|
1152
1191
|
prettyLabel: string;
|
|
1153
1192
|
repoName: string;
|
|
@@ -1792,5 +1831,5 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1792
1831
|
};
|
|
1793
1832
|
export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;
|
|
1794
1833
|
export declare const ALL_MODEL_LIBRARY_KEYS: ModelLibraryKey[];
|
|
1795
|
-
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" | "ccpfn" | "champ" | "chatterbox" | "chaossim" | "chat_tts" | "chexmix" | "chronos-forecasting" | "clara" | "clipscope" | "cloud-agents" | "collectorvision" | "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" | "encoderfile" | "espnet" | "eupe" | "fairseq" | "fastai" | "fastprint" | "fasttext" | "fixer" | "flair" | "flextab" | "fme" | "gemma.cpp" | "geometry-crafter" | "gliner" | "gliner2" | "glm-tts" | "glyph-byt5" | "granite-library" | "grok" | "habibi-tts" | "hallo" | "minimax-h3" | "hermes" | "holomotion" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "hy-worldplay" | "hy-world-2" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "intellifold" | "ising-decoding" | "keras" | "tf-keras" | "keras-hub" | "kerasformers" | "kernels" | "kimi-audio" | "kittentts" | "kronos" | "k2" | "lyra-2.0" | "lagernvs" | "ltx" | "lightning-ir" | "litert" | "litert-lm" | "lerobot" | "lightglue" | "liveportrait" | "longcat-video-avatar-1.5" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "magenta-realtime-2" | "mamba-ssm" | "manas-1" | "mars5-tts" | "matanyone" | "mesh-anything" | "merlin" | "medvae" | "mflux" | "mitie" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "mobilint" | "moshi" | "mtvcraft" | "multimolecule" | "nemo" | "ninfer" | "nobg" | "nv-medtech" | "open-oasis" | "open_clip" | "openasr" | "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" | "robo-orchard-lab" | "rwkv" | "saelens" | "scail-2" | "sam2" | "sam-3d-body" | "sam-3d-objects" | "same" | "sample-factory" | "sap-rpt-1-oss" | "sapiens" | "sapiens2" | "seedvr" | "self-forcing" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-3" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "skala" | "soloaudio" | "songbloom" | "stable-baselines3" | "stanza" | "supertonic" | "swarmformer" | "synthefy-migas" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tensorrt" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timee-ts" | "timm" | "tirex" | "tirex-2" | "torchgeo" | "transformers" | "transformers.js" | "trellis" | "trellis2" | "tunejury" | "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")[];
|
|
1834
|
+
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" | "ccpfn" | "champ" | "chatterbox" | "chaossim" | "chat_tts" | "chexmix" | "chronos-forecasting" | "clara" | "clipscope" | "cloud-agents" | "collectorvision" | "colipri" | "cosyvoice" | "cotracker" | "colpali" | "comet" | "cortiq" | "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" | "encoderfile" | "espnet" | "eupe" | "fairseq" | "fastai" | "fastprint" | "fasttext" | "fixer" | "flair" | "flextab" | "fme" | "gemma.cpp" | "geometry-crafter" | "gliner" | "gliner2" | "glm-tts" | "glyph-byt5" | "granite-library" | "grok" | "habibi-tts" | "hallo" | "minimax-h3" | "hermes" | "holomotion" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "hy-worldplay" | "hy-world-2" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "intellifold" | "ising-decoding" | "keras" | "tf-keras" | "keras-hub" | "kerasformers" | "kernels" | "kimi-audio" | "kittentts" | "kronos" | "k2" | "lyra-2.0" | "lagernvs" | "ltx" | "lightning-ir" | "litert" | "litert-lm" | "lerobot" | "lightglue" | "liveportrait" | "longcat-video-avatar-1.5" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "magenta-realtime-2" | "mamba-ssm" | "manas-1" | "mars5-tts" | "matanyone" | "memra" | "mesh-anything" | "merlin" | "medvae" | "mflux" | "mitie" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "mobilint" | "montreal-forced-aligner" | "moshi" | "mtvcraft" | "multimolecule" | "nemo" | "ninfer" | "nobg" | "nv-medtech" | "open-oasis" | "open_clip" | "openasr" | "opendde" | "openpeerllm" | "open-sora" | "outetts" | "paddlenlp" | "PaddleOCR" | "peft" | "perception-encoder" | "phantom-wan" | "piper" | "pocket-tts" | "pruna-ai" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "quantumpeer" | "qwen3_tts" | "recurrentgemma" | "relik" | "refiners" | "renderformer" | "reverb" | "rkllm" | "robo-orchard-lab" | "rwkv" | "saelens" | "scail-2" | "sam2" | "sam-3d-body" | "sam-3d-objects" | "same" | "sample-factory" | "sap-rpt-1-oss" | "sapiens" | "sapiens2" | "seedvr" | "self-forcing" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-3" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "skala" | "soloaudio" | "songbloom" | "stable-baselines3" | "stanza" | "supertonic" | "swarmformer" | "synthefy-migas" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tensorrt" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timee-ts" | "timm" | "tirex" | "tirex-2" | "torchgeo" | "transformers" | "transformers.js" | "trellis" | "trellis2" | "tunejury" | "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")[];
|
|
1796
1835
|
//# 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,EA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsvDI,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,2BAA2B,CAAC;AAEvE,eAAO,MAAM,sBAAsB,EAA+C,eAAe,EAAE,CAAC;AAEpG,eAAO,MAAM,8BAA8B,44GAQ1B,CAAC"}
|
|
@@ -326,6 +326,14 @@ exports.MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
326
326
|
repoUrl: "https://github.com/Unbabel/COMET/",
|
|
327
327
|
countDownloads: `path:"hparams.yaml"`,
|
|
328
328
|
},
|
|
329
|
+
cortiq: {
|
|
330
|
+
prettyLabel: "cortiq",
|
|
331
|
+
repoName: "cortiq",
|
|
332
|
+
repoUrl: "https://github.com/infosave2007/cmf",
|
|
333
|
+
docsUrl: "https://github.com/infosave2007/cmf/blob/master/docs/CMF_V2_SPEC.md",
|
|
334
|
+
snippets: snippets.cortiq,
|
|
335
|
+
countDownloads: `path_extension:"cmf"`,
|
|
336
|
+
},
|
|
329
337
|
cosmos: {
|
|
330
338
|
prettyLabel: "Cosmos",
|
|
331
339
|
repoName: "Cosmos",
|
|
@@ -916,6 +924,13 @@ exports.MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
916
924
|
snippets: snippets.matanyone,
|
|
917
925
|
filter: false,
|
|
918
926
|
},
|
|
927
|
+
memra: {
|
|
928
|
+
prettyLabel: "memra",
|
|
929
|
+
repoName: "memra",
|
|
930
|
+
repoUrl: "https://github.com/avifenesh/memra",
|
|
931
|
+
snippets: snippets.memra,
|
|
932
|
+
filter: false,
|
|
933
|
+
},
|
|
919
934
|
"mesh-anything": {
|
|
920
935
|
prettyLabel: "MeshAnything",
|
|
921
936
|
repoName: "MeshAnything",
|
|
@@ -1007,6 +1022,14 @@ exports.MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1007
1022
|
snippets: snippets.mobilint,
|
|
1008
1023
|
filter: false,
|
|
1009
1024
|
},
|
|
1025
|
+
"montreal-forced-aligner": {
|
|
1026
|
+
prettyLabel: "Montreal Forced Aligner",
|
|
1027
|
+
repoName: "Montreal Forced Aligner",
|
|
1028
|
+
repoUrl: "https://github.com/MontrealCorpusTools/Montreal-Forced-Aligner",
|
|
1029
|
+
docsUrl: "https://montreal-forced-aligner.readthedocs.io",
|
|
1030
|
+
filter: false,
|
|
1031
|
+
countDownloads: `path:"acoustic/final.mdl" OR path_extension:"zip"`,
|
|
1032
|
+
},
|
|
1010
1033
|
moshi: {
|
|
1011
1034
|
prettyLabel: "Moshi",
|
|
1012
1035
|
repoName: "Moshi",
|
|
@@ -1085,6 +1108,15 @@ exports.MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1085
1108
|
filter: false,
|
|
1086
1109
|
countDownloads: `path_extension:"oasr"`,
|
|
1087
1110
|
},
|
|
1111
|
+
opendde: {
|
|
1112
|
+
prettyLabel: "OpenDDE",
|
|
1113
|
+
repoName: "OpenDDE",
|
|
1114
|
+
repoUrl: "https://github.com/aurekaresearch/OpenDDE",
|
|
1115
|
+
docsUrl: "https://huggingface.co/aurekaresearch/OpenDDE/blob/main/docs/inference_instructions.md",
|
|
1116
|
+
snippets: snippets.opendde,
|
|
1117
|
+
filter: false,
|
|
1118
|
+
countDownloads: `path_extension:"pt"`,
|
|
1119
|
+
},
|
|
1088
1120
|
openpeerllm: {
|
|
1089
1121
|
prettyLabel: "OpenPeerLLM",
|
|
1090
1122
|
repoName: "OpenPeerLLM",
|
|
@@ -1149,6 +1181,13 @@ exports.MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1149
1181
|
filter: false,
|
|
1150
1182
|
countDownloads: `path_extension:"pth"`,
|
|
1151
1183
|
},
|
|
1184
|
+
piper: {
|
|
1185
|
+
prettyLabel: "Piper",
|
|
1186
|
+
repoName: "Piper",
|
|
1187
|
+
repoUrl: "https://github.com/OHF-Voice/piper1-gpl",
|
|
1188
|
+
filter: false,
|
|
1189
|
+
countDownloads: `path_extension:"onnx" OR path_extension:"ckpt"`,
|
|
1190
|
+
},
|
|
1152
1191
|
"pocket-tts": {
|
|
1153
1192
|
prettyLabel: "Pocket-TTS",
|
|
1154
1193
|
repoName: "PocketTTS",
|
package/dist/esm/local-apps.d.ts
CHANGED
|
@@ -222,7 +222,7 @@ export declare const LOCAL_APPS: {
|
|
|
222
222
|
docsUrl: string;
|
|
223
223
|
mainTask: "text-generation";
|
|
224
224
|
displayOnModelPage: typeof isUnslothModel;
|
|
225
|
-
|
|
225
|
+
deeplink: (model: ModelData, filepath: string | undefined) => URL;
|
|
226
226
|
};
|
|
227
227
|
"docker-model-runner": {
|
|
228
228
|
prettyLabel: 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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aAAa,MAAM,KAAG,eAAe,EAAE;;CA4S5C,CAAC;AAErC,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,UAAU,CAAC"}
|
package/dist/esm/local-apps.js
CHANGED
|
@@ -134,49 +134,6 @@ const snippetNodeLlamaCppCli = (model, filepath) => {
|
|
|
134
134
|
const snippetOllama = (model, filepath) => {
|
|
135
135
|
return `ollama run hf.co/${model.id}${getQuantTag(filepath)}`;
|
|
136
136
|
};
|
|
137
|
-
const snippetUnsloth = (model) => {
|
|
138
|
-
const isGguf = isLlamaCppGgufModel(model);
|
|
139
|
-
const studio_content = [
|
|
140
|
-
"# Run unsloth studio",
|
|
141
|
-
"unsloth studio -H 0.0.0.0 -p 8888",
|
|
142
|
-
"# Then open http://localhost:8888 in your browser",
|
|
143
|
-
"# Search for " + model.id + " to start chatting",
|
|
144
|
-
].join("\n");
|
|
145
|
-
const studio_instructions = {
|
|
146
|
-
title: "Install Unsloth Studio (macOS, Linux, WSL)",
|
|
147
|
-
setup: "curl -fsSL https://unsloth.ai/install.sh | sh",
|
|
148
|
-
content: studio_content,
|
|
149
|
-
};
|
|
150
|
-
const studio_instructions_windows = {
|
|
151
|
-
title: "Install Unsloth Studio (Windows)",
|
|
152
|
-
setup: "irm https://unsloth.ai/install.ps1 | iex",
|
|
153
|
-
content: studio_content,
|
|
154
|
-
};
|
|
155
|
-
const hf_spaces_instructions = {
|
|
156
|
-
title: "Using HuggingFace Spaces for Unsloth",
|
|
157
|
-
setup: "# No setup required",
|
|
158
|
-
content: "# Open https://huggingface.co/spaces/unsloth/studio in your browser\n# Search for " +
|
|
159
|
-
model.id +
|
|
160
|
-
" to start chatting",
|
|
161
|
-
};
|
|
162
|
-
const fastmodel_instructions = {
|
|
163
|
-
title: "Load model with FastModel",
|
|
164
|
-
setup: "pip install unsloth",
|
|
165
|
-
content: [
|
|
166
|
-
"from unsloth import FastModel",
|
|
167
|
-
"model, tokenizer = FastModel.from_pretrained(",
|
|
168
|
-
' model_name="' + model.id + '",',
|
|
169
|
-
" max_seq_length=2048,",
|
|
170
|
-
")",
|
|
171
|
-
].join("\n"),
|
|
172
|
-
};
|
|
173
|
-
if (isGguf) {
|
|
174
|
-
return [studio_instructions, studio_instructions_windows, hf_spaces_instructions];
|
|
175
|
-
}
|
|
176
|
-
else {
|
|
177
|
-
return [studio_instructions, studio_instructions_windows, hf_spaces_instructions, fastmodel_instructions];
|
|
178
|
-
}
|
|
179
|
-
};
|
|
180
137
|
const snippetLocalAI = (model, filepath) => {
|
|
181
138
|
const command = (binary) => ["# Load and run the model:", `${binary} huggingface://${model.id}/${filepath ?? "{{GGUF_FILE}}"}`].join("\n");
|
|
182
139
|
return [
|
|
@@ -669,11 +626,18 @@ export const LOCAL_APPS = {
|
|
|
669
626
|
snippet: snippetOllama,
|
|
670
627
|
},
|
|
671
628
|
unsloth: {
|
|
672
|
-
prettyLabel: "Unsloth
|
|
673
|
-
docsUrl: "https://unsloth.ai/docs
|
|
629
|
+
prettyLabel: "Unsloth Desktop",
|
|
630
|
+
docsUrl: "https://unsloth.ai/docs",
|
|
674
631
|
mainTask: "text-generation",
|
|
675
632
|
displayOnModelPage: isUnslothModel,
|
|
676
|
-
|
|
633
|
+
deeplink: (model, filepath) => {
|
|
634
|
+
const url = new URL("unsloth://open_from_hf");
|
|
635
|
+
url.searchParams.set("model", model.id);
|
|
636
|
+
if (filepath) {
|
|
637
|
+
url.searchParams.set("file", filepath);
|
|
638
|
+
}
|
|
639
|
+
return url;
|
|
640
|
+
},
|
|
677
641
|
},
|
|
678
642
|
"docker-model-runner": {
|
|
679
643
|
prettyLabel: "Docker Model Runner",
|
|
@@ -267,25 +267,17 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
267
267
|
expect(displayOnModelPage(model)).toBe(false);
|
|
268
268
|
});
|
|
269
269
|
it("unsloth tagged model", async () => {
|
|
270
|
-
const { displayOnModelPage,
|
|
270
|
+
const { displayOnModelPage, deeplink } = LOCAL_APPS.unsloth;
|
|
271
271
|
const model = {
|
|
272
272
|
id: "some-user/my-unsloth-finetune",
|
|
273
273
|
tags: ["unsloth", "conversational"],
|
|
274
274
|
inference: "",
|
|
275
275
|
};
|
|
276
276
|
expect(displayOnModelPage(model)).toBe(true);
|
|
277
|
-
|
|
278
|
-
expect(snippet[0].setup).toBe("curl -fsSL https://unsloth.ai/install.sh | sh");
|
|
279
|
-
expect(snippet[0].content).toBe("# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p 8888\n# Then open http://localhost:8888 in your browser\n# Search for some-user/my-unsloth-finetune to start chatting");
|
|
280
|
-
expect(snippet[1].setup).toBe("irm https://unsloth.ai/install.ps1 | iex");
|
|
281
|
-
expect(snippet[1].content).toBe(snippet[0].content);
|
|
282
|
-
expect(snippet[2].setup).toBe("# No setup required");
|
|
283
|
-
expect(snippet[2].content).toBe("# Open https://huggingface.co/spaces/unsloth/studio in your browser\n# Search for some-user/my-unsloth-finetune to start chatting");
|
|
284
|
-
expect(snippet[3].setup).toBe("pip install unsloth");
|
|
285
|
-
expect(snippet[3].content).toBe('from unsloth import FastModel\nmodel, tokenizer = FastModel.from_pretrained(\n model_name="some-user/my-unsloth-finetune",\n max_seq_length=2048,\n)');
|
|
277
|
+
expect(deeplink(model, undefined).href).toBe("unsloth://open_from_hf?model=some-user%2Fmy-unsloth-finetune");
|
|
286
278
|
});
|
|
287
279
|
it("unsloth namespace gguf model", async () => {
|
|
288
|
-
const { displayOnModelPage,
|
|
280
|
+
const { displayOnModelPage, deeplink } = LOCAL_APPS.unsloth;
|
|
289
281
|
const model = {
|
|
290
282
|
id: "unsloth/Llama-3.2-3B-Instruct-GGUF",
|
|
291
283
|
tags: ["conversational"],
|
|
@@ -293,14 +285,8 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
293
285
|
inference: "",
|
|
294
286
|
};
|
|
295
287
|
expect(displayOnModelPage(model)).toBe(true);
|
|
296
|
-
|
|
297
|
-
expect(
|
|
298
|
-
expect(snippet[0].content).toBe("# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p 8888\n# Then open http://localhost:8888 in your browser\n# Search for unsloth/Llama-3.2-3B-Instruct-GGUF to start chatting");
|
|
299
|
-
expect(snippet[1].setup).toBe("irm https://unsloth.ai/install.ps1 | iex");
|
|
300
|
-
expect(snippet[1].content).toBe(snippet[0].content);
|
|
301
|
-
expect(snippet[2].setup).toBe("# No setup required");
|
|
302
|
-
expect(snippet[2].content).toBe("# Open https://huggingface.co/spaces/unsloth/studio in your browser\n# Search for unsloth/Llama-3.2-3B-Instruct-GGUF to start chatting");
|
|
303
|
-
expect(snippet).toHaveLength(3); // GGUF models only get 3 snippets
|
|
288
|
+
expect(deeplink(model, undefined).href).toBe("unsloth://open_from_hf?model=unsloth%2FLlama-3.2-3B-Instruct-GGUF");
|
|
289
|
+
expect(deeplink(model, "Llama-3.2-3B-Instruct-UD-Q4_K_XL.gguf").href).toBe("unsloth://open_from_hf?model=unsloth%2FLlama-3.2-3B-Instruct-GGUF&file=Llama-3.2-3B-Instruct-UD-Q4_K_XL.gguf");
|
|
304
290
|
});
|
|
305
291
|
it("non unsloth namespace gguf model", async () => {
|
|
306
292
|
const { displayOnModelPage } = LOCAL_APPS.unsloth;
|
|
@@ -12,6 +12,7 @@ export declare const chronos_forecasting: (model: ModelData) => string[];
|
|
|
12
12
|
export declare const collectorvision: (model: ModelData) => string[];
|
|
13
13
|
export declare const colipri: (model: ModelData) => string[];
|
|
14
14
|
export declare const sap_rpt_one_oss: () => string[];
|
|
15
|
+
export declare const cortiq: (model: ModelData) => string[];
|
|
15
16
|
export declare const cxr_foundation: () => string[];
|
|
16
17
|
export declare const depth_anything_v2: (model: ModelData) => string[];
|
|
17
18
|
export declare const depth_pro: (model: ModelData) => string[];
|
|
@@ -48,10 +49,12 @@ export declare const tf_keras: (model: ModelData) => string[];
|
|
|
48
49
|
export declare const mamba_ssm: (model: ModelData) => string[];
|
|
49
50
|
export declare const mars5_tts: (model: ModelData) => string[];
|
|
50
51
|
export declare const matanyone: (model: ModelData) => string[];
|
|
52
|
+
export declare const memra: (model: ModelData) => string[];
|
|
51
53
|
export declare const mesh_anything: () => string[];
|
|
52
54
|
export declare const multimolecule: (model: ModelData) => string[];
|
|
53
55
|
export declare const open_clip: (model: ModelData) => string[];
|
|
54
56
|
export declare const openasr: (model: ModelData) => string[];
|
|
57
|
+
export declare const opendde: () => string[];
|
|
55
58
|
export declare const paddlenlp: (model: ModelData) => string[];
|
|
56
59
|
export declare const paddleocr: (model: ModelData) => string[];
|
|
57
60
|
export declare const perception_encoder: (model: ModelData) => string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-libraries-snippets.d.ts","sourceRoot":"","sources":["../../src/model-libraries-snippets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAoBjD,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,KAAG,MAAM,EAOjD,CAAC;AAkBF,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,KAAG,MAAM,EAKjD,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,OAAO,SAAS,KAAG,MAAM,EAIhD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,KAAG,MAAM,EAIjD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,SAAS,KAAG,MAAM,EAkBlD,CAAC;AAaF,eAAO,MAAM,IAAI,GAAI,OAAO,SAAS,KAAG,MAAM,EAY7C,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,KAAG,MAAM,EAIjD,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,OAAO,SAAS,KAAG,MAAM,EAI9C,CAAC;AAEF,eAAO,MAAM,UAAU,QAAO,MAAM,EAenC,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,OAAO,SAAS,KAAG,MAAM,EAsB5D,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAA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,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,OAAO,SAAS,KAAG,MAAM,EAI/C,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,SAAS,KAAG,MAAM,EAqBlD,CAAC;AA4BF,eAAO,MAAM,MAAM,GAAI,OAAO,SAAS,KAAG,MAAM,EAO/C,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,SAAS,KAAG,MAAM,EAUnD,CAAC;AAEF,eAAO,MAAM,UAAU,QAAO,MAAM,EAYnC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,SAAS,KAAG,MAAM,EAKvD,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,OAAO,SAAS,KAAG,MAAM,EAI9C,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,OAAO,SAAS,KAAG,MAAM,EAiB9C,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,OAAO,SAAS,KAAG,MAAM,EAgD9C,CAAC"}
|
|
@@ -212,6 +212,30 @@ r2 = r2_score(y_test, predictions)
|
|
|
212
212
|
print("R² Score:", r2)`;
|
|
213
213
|
return [installSnippet, classificationSnippet, regressionsSnippet];
|
|
214
214
|
};
|
|
215
|
+
export const cortiq = (model) => {
|
|
216
|
+
const setup = `# one Rust binary, no additional dependencies
|
|
217
|
+
cargo install cortiq-cli # or a prebuilt binary from github.com/infosave2007/cmf/releases
|
|
218
|
+
hf download ${model.id} --include "*.cmf" --local-dir .
|
|
219
|
+
ls *.cmf # some repos ship more than one quantization`;
|
|
220
|
+
if (model.pipeline_tag === "text-to-image") {
|
|
221
|
+
return [setup, `cortiq imagine FILE.cmf --prompt "a red fox in a snowy forest" --out fox.ppm`];
|
|
222
|
+
}
|
|
223
|
+
if (model.pipeline_tag === "text-to-video") {
|
|
224
|
+
return [setup, `cortiq animate FILE.cmf --prompt "a corgi in a chef hat flipping a pancake" --out clip.avi`];
|
|
225
|
+
}
|
|
226
|
+
if (model.pipeline_tag === "text-to-audio") {
|
|
227
|
+
return [
|
|
228
|
+
setup,
|
|
229
|
+
`cortiq music FILE.cmf --prompt "dream pop, warm analog synths, brushed drums" \\
|
|
230
|
+
--lyrics "[verse] the tide came in and took the map" --seconds 20 --out song.wav`,
|
|
231
|
+
];
|
|
232
|
+
}
|
|
233
|
+
return [
|
|
234
|
+
setup,
|
|
235
|
+
`cortiq run FILE.cmf --prompt "What is the capital of France?"`,
|
|
236
|
+
`cortiq serve FILE.cmf --port 8080 # OpenAI-compatible server`,
|
|
237
|
+
];
|
|
238
|
+
};
|
|
215
239
|
export const cxr_foundation = () => [
|
|
216
240
|
`# pip install git+https://github.com/Google-Health/cxr-foundation.git#subdirectory=python
|
|
217
241
|
|
|
@@ -1303,6 +1327,17 @@ model = MatAnyone.from_pretrained("${model.id}")`,
|
|
|
1303
1327
|
from matanyone import InferenceCore
|
|
1304
1328
|
processor = InferenceCore("${model.id}")`,
|
|
1305
1329
|
];
|
|
1330
|
+
export const memra = (model) => [
|
|
1331
|
+
`# memra serves NVIDIA Blackwell workstation and consumer cards (sm_120a), with a
|
|
1332
|
+
# compile-gated Hopper lane. Prebuilt binaries need Linux x86_64 and driver 580+,
|
|
1333
|
+
# and no CUDA toolkit.
|
|
1334
|
+
curl -fsSL https://raw.githubusercontent.com/avifenesh/memra/main/tools/install.sh | sh`,
|
|
1335
|
+
`# One chat-templated generation. In a repo with several GGUF files, append
|
|
1336
|
+
# :<substring> to choose one, for example hf:${model.id}:Q4_K_M
|
|
1337
|
+
MEMRA_CHAT=1 run-gen hf:${model.id} --prompt "Explain KV caches in one sentence."`,
|
|
1338
|
+
`# Or an OpenAI-compatible server on 127.0.0.1:8080.
|
|
1339
|
+
MEMRA_MODELS="model=hf:${model.id}" memra-server`,
|
|
1340
|
+
];
|
|
1306
1341
|
export const mesh_anything = () => [
|
|
1307
1342
|
`# Install from https://github.com/buaacyw/MeshAnything.git
|
|
1308
1343
|
|
|
@@ -1368,6 +1403,12 @@ openasr pull ${modelId}
|
|
|
1368
1403
|
openasr transcribe audio.wav --model ${modelId}`,
|
|
1369
1404
|
];
|
|
1370
1405
|
};
|
|
1406
|
+
export const opendde = () => [
|
|
1407
|
+
`# pip install 'opendde[gpu]'
|
|
1408
|
+
# Checkpoints are fetched from the Hub into $OPENDDE_ROOT_DIR (default ~/.cache/opendde)
|
|
1409
|
+
opendde doctor
|
|
1410
|
+
opendde pred -i examples/input.json -o ./output -n opendde_v1`,
|
|
1411
|
+
];
|
|
1371
1412
|
export const paddlenlp = (model) => {
|
|
1372
1413
|
const architecture = model.config?.architectures?.[0];
|
|
1373
1414
|
// interpolated as a Python class name, so a non-identifier is treated as absent
|
|
@@ -330,6 +330,14 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
330
330
|
repoUrl: string;
|
|
331
331
|
countDownloads: string;
|
|
332
332
|
};
|
|
333
|
+
cortiq: {
|
|
334
|
+
prettyLabel: string;
|
|
335
|
+
repoName: string;
|
|
336
|
+
repoUrl: string;
|
|
337
|
+
docsUrl: string;
|
|
338
|
+
snippets: (model: ModelData) => string[];
|
|
339
|
+
countDownloads: string;
|
|
340
|
+
};
|
|
333
341
|
cosmos: {
|
|
334
342
|
prettyLabel: string;
|
|
335
343
|
repoName: string;
|
|
@@ -918,6 +926,13 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
918
926
|
snippets: (model: ModelData) => string[];
|
|
919
927
|
filter: false;
|
|
920
928
|
};
|
|
929
|
+
memra: {
|
|
930
|
+
prettyLabel: string;
|
|
931
|
+
repoName: string;
|
|
932
|
+
repoUrl: string;
|
|
933
|
+
snippets: (model: ModelData) => string[];
|
|
934
|
+
filter: false;
|
|
935
|
+
};
|
|
921
936
|
"mesh-anything": {
|
|
922
937
|
prettyLabel: string;
|
|
923
938
|
repoName: string;
|
|
@@ -1009,6 +1024,14 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1009
1024
|
snippets: (model: ModelData) => string[];
|
|
1010
1025
|
filter: false;
|
|
1011
1026
|
};
|
|
1027
|
+
"montreal-forced-aligner": {
|
|
1028
|
+
prettyLabel: string;
|
|
1029
|
+
repoName: string;
|
|
1030
|
+
repoUrl: string;
|
|
1031
|
+
docsUrl: string;
|
|
1032
|
+
filter: false;
|
|
1033
|
+
countDownloads: string;
|
|
1034
|
+
};
|
|
1012
1035
|
moshi: {
|
|
1013
1036
|
prettyLabel: string;
|
|
1014
1037
|
repoName: string;
|
|
@@ -1084,6 +1107,15 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1084
1107
|
filter: false;
|
|
1085
1108
|
countDownloads: string;
|
|
1086
1109
|
};
|
|
1110
|
+
opendde: {
|
|
1111
|
+
prettyLabel: string;
|
|
1112
|
+
repoName: string;
|
|
1113
|
+
repoUrl: string;
|
|
1114
|
+
docsUrl: string;
|
|
1115
|
+
snippets: () => string[];
|
|
1116
|
+
filter: false;
|
|
1117
|
+
countDownloads: string;
|
|
1118
|
+
};
|
|
1087
1119
|
openpeerllm: {
|
|
1088
1120
|
prettyLabel: string;
|
|
1089
1121
|
repoName: string;
|
|
@@ -1148,6 +1180,13 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1148
1180
|
filter: false;
|
|
1149
1181
|
countDownloads: string;
|
|
1150
1182
|
};
|
|
1183
|
+
piper: {
|
|
1184
|
+
prettyLabel: string;
|
|
1185
|
+
repoName: string;
|
|
1186
|
+
repoUrl: string;
|
|
1187
|
+
filter: false;
|
|
1188
|
+
countDownloads: string;
|
|
1189
|
+
};
|
|
1151
1190
|
"pocket-tts": {
|
|
1152
1191
|
prettyLabel: string;
|
|
1153
1192
|
repoName: string;
|
|
@@ -1792,5 +1831,5 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1792
1831
|
};
|
|
1793
1832
|
export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;
|
|
1794
1833
|
export declare const ALL_MODEL_LIBRARY_KEYS: ModelLibraryKey[];
|
|
1795
|
-
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" | "ccpfn" | "champ" | "chatterbox" | "chaossim" | "chat_tts" | "chexmix" | "chronos-forecasting" | "clara" | "clipscope" | "cloud-agents" | "collectorvision" | "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" | "encoderfile" | "espnet" | "eupe" | "fairseq" | "fastai" | "fastprint" | "fasttext" | "fixer" | "flair" | "flextab" | "fme" | "gemma.cpp" | "geometry-crafter" | "gliner" | "gliner2" | "glm-tts" | "glyph-byt5" | "granite-library" | "grok" | "habibi-tts" | "hallo" | "minimax-h3" | "hermes" | "holomotion" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "hy-worldplay" | "hy-world-2" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "intellifold" | "ising-decoding" | "keras" | "tf-keras" | "keras-hub" | "kerasformers" | "kernels" | "kimi-audio" | "kittentts" | "kronos" | "k2" | "lyra-2.0" | "lagernvs" | "ltx" | "lightning-ir" | "litert" | "litert-lm" | "lerobot" | "lightglue" | "liveportrait" | "longcat-video-avatar-1.5" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "magenta-realtime-2" | "mamba-ssm" | "manas-1" | "mars5-tts" | "matanyone" | "mesh-anything" | "merlin" | "medvae" | "mflux" | "mitie" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "mobilint" | "moshi" | "mtvcraft" | "multimolecule" | "nemo" | "ninfer" | "nobg" | "nv-medtech" | "open-oasis" | "open_clip" | "openasr" | "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" | "robo-orchard-lab" | "rwkv" | "saelens" | "scail-2" | "sam2" | "sam-3d-body" | "sam-3d-objects" | "same" | "sample-factory" | "sap-rpt-1-oss" | "sapiens" | "sapiens2" | "seedvr" | "self-forcing" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-3" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "skala" | "soloaudio" | "songbloom" | "stable-baselines3" | "stanza" | "supertonic" | "swarmformer" | "synthefy-migas" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tensorrt" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timee-ts" | "timm" | "tirex" | "tirex-2" | "torchgeo" | "transformers" | "transformers.js" | "trellis" | "trellis2" | "tunejury" | "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")[];
|
|
1834
|
+
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" | "ccpfn" | "champ" | "chatterbox" | "chaossim" | "chat_tts" | "chexmix" | "chronos-forecasting" | "clara" | "clipscope" | "cloud-agents" | "collectorvision" | "colipri" | "cosyvoice" | "cotracker" | "colpali" | "comet" | "cortiq" | "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" | "encoderfile" | "espnet" | "eupe" | "fairseq" | "fastai" | "fastprint" | "fasttext" | "fixer" | "flair" | "flextab" | "fme" | "gemma.cpp" | "geometry-crafter" | "gliner" | "gliner2" | "glm-tts" | "glyph-byt5" | "granite-library" | "grok" | "habibi-tts" | "hallo" | "minimax-h3" | "hermes" | "holomotion" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "hy-worldplay" | "hy-world-2" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "intellifold" | "ising-decoding" | "keras" | "tf-keras" | "keras-hub" | "kerasformers" | "kernels" | "kimi-audio" | "kittentts" | "kronos" | "k2" | "lyra-2.0" | "lagernvs" | "ltx" | "lightning-ir" | "litert" | "litert-lm" | "lerobot" | "lightglue" | "liveportrait" | "longcat-video-avatar-1.5" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "magenta-realtime-2" | "mamba-ssm" | "manas-1" | "mars5-tts" | "matanyone" | "memra" | "mesh-anything" | "merlin" | "medvae" | "mflux" | "mitie" | "ml-agents" | "ml-sharp" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "mobilint" | "montreal-forced-aligner" | "moshi" | "mtvcraft" | "multimolecule" | "nemo" | "ninfer" | "nobg" | "nv-medtech" | "open-oasis" | "open_clip" | "openasr" | "opendde" | "openpeerllm" | "open-sora" | "outetts" | "paddlenlp" | "PaddleOCR" | "peft" | "perception-encoder" | "phantom-wan" | "piper" | "pocket-tts" | "pruna-ai" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "quantumpeer" | "qwen3_tts" | "recurrentgemma" | "relik" | "refiners" | "renderformer" | "reverb" | "rkllm" | "robo-orchard-lab" | "rwkv" | "saelens" | "scail-2" | "sam2" | "sam-3d-body" | "sam-3d-objects" | "same" | "sample-factory" | "sap-rpt-1-oss" | "sapiens" | "sapiens2" | "seedvr" | "self-forcing" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-3" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "skala" | "soloaudio" | "songbloom" | "stable-baselines3" | "stanza" | "supertonic" | "swarmformer" | "synthefy-migas" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tensorrt" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timee-ts" | "timm" | "tirex" | "tirex-2" | "torchgeo" | "transformers" | "transformers.js" | "trellis" | "trellis2" | "tunejury" | "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")[];
|
|
1796
1835
|
//# 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,MAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsvDI,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,2BAA2B,CAAC;AAEvE,eAAO,MAAM,sBAAsB,EAA+C,eAAe,EAAE,CAAC;AAEpG,eAAO,MAAM,8BAA8B,44GAQ1B,CAAC"}
|
|
@@ -290,6 +290,14 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
290
290
|
repoUrl: "https://github.com/Unbabel/COMET/",
|
|
291
291
|
countDownloads: `path:"hparams.yaml"`,
|
|
292
292
|
},
|
|
293
|
+
cortiq: {
|
|
294
|
+
prettyLabel: "cortiq",
|
|
295
|
+
repoName: "cortiq",
|
|
296
|
+
repoUrl: "https://github.com/infosave2007/cmf",
|
|
297
|
+
docsUrl: "https://github.com/infosave2007/cmf/blob/master/docs/CMF_V2_SPEC.md",
|
|
298
|
+
snippets: snippets.cortiq,
|
|
299
|
+
countDownloads: `path_extension:"cmf"`,
|
|
300
|
+
},
|
|
293
301
|
cosmos: {
|
|
294
302
|
prettyLabel: "Cosmos",
|
|
295
303
|
repoName: "Cosmos",
|
|
@@ -880,6 +888,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
880
888
|
snippets: snippets.matanyone,
|
|
881
889
|
filter: false,
|
|
882
890
|
},
|
|
891
|
+
memra: {
|
|
892
|
+
prettyLabel: "memra",
|
|
893
|
+
repoName: "memra",
|
|
894
|
+
repoUrl: "https://github.com/avifenesh/memra",
|
|
895
|
+
snippets: snippets.memra,
|
|
896
|
+
filter: false,
|
|
897
|
+
},
|
|
883
898
|
"mesh-anything": {
|
|
884
899
|
prettyLabel: "MeshAnything",
|
|
885
900
|
repoName: "MeshAnything",
|
|
@@ -971,6 +986,14 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
971
986
|
snippets: snippets.mobilint,
|
|
972
987
|
filter: false,
|
|
973
988
|
},
|
|
989
|
+
"montreal-forced-aligner": {
|
|
990
|
+
prettyLabel: "Montreal Forced Aligner",
|
|
991
|
+
repoName: "Montreal Forced Aligner",
|
|
992
|
+
repoUrl: "https://github.com/MontrealCorpusTools/Montreal-Forced-Aligner",
|
|
993
|
+
docsUrl: "https://montreal-forced-aligner.readthedocs.io",
|
|
994
|
+
filter: false,
|
|
995
|
+
countDownloads: `path:"acoustic/final.mdl" OR path_extension:"zip"`,
|
|
996
|
+
},
|
|
974
997
|
moshi: {
|
|
975
998
|
prettyLabel: "Moshi",
|
|
976
999
|
repoName: "Moshi",
|
|
@@ -1049,6 +1072,15 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1049
1072
|
filter: false,
|
|
1050
1073
|
countDownloads: `path_extension:"oasr"`,
|
|
1051
1074
|
},
|
|
1075
|
+
opendde: {
|
|
1076
|
+
prettyLabel: "OpenDDE",
|
|
1077
|
+
repoName: "OpenDDE",
|
|
1078
|
+
repoUrl: "https://github.com/aurekaresearch/OpenDDE",
|
|
1079
|
+
docsUrl: "https://huggingface.co/aurekaresearch/OpenDDE/blob/main/docs/inference_instructions.md",
|
|
1080
|
+
snippets: snippets.opendde,
|
|
1081
|
+
filter: false,
|
|
1082
|
+
countDownloads: `path_extension:"pt"`,
|
|
1083
|
+
},
|
|
1052
1084
|
openpeerllm: {
|
|
1053
1085
|
prettyLabel: "OpenPeerLLM",
|
|
1054
1086
|
repoName: "OpenPeerLLM",
|
|
@@ -1113,6 +1145,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1113
1145
|
filter: false,
|
|
1114
1146
|
countDownloads: `path_extension:"pth"`,
|
|
1115
1147
|
},
|
|
1148
|
+
piper: {
|
|
1149
|
+
prettyLabel: "Piper",
|
|
1150
|
+
repoName: "Piper",
|
|
1151
|
+
repoUrl: "https://github.com/OHF-Voice/piper1-gpl",
|
|
1152
|
+
filter: false,
|
|
1153
|
+
countDownloads: `path_extension:"onnx" OR path_extension:"ckpt"`,
|
|
1154
|
+
},
|
|
1116
1155
|
"pocket-tts": {
|
|
1117
1156
|
prettyLabel: "Pocket-TTS",
|
|
1118
1157
|
repoName: "PocketTTS",
|
package/package.json
CHANGED
package/src/local-apps.spec.ts
CHANGED
|
@@ -301,7 +301,7 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
301
301
|
});
|
|
302
302
|
|
|
303
303
|
it("unsloth tagged model", async () => {
|
|
304
|
-
const { displayOnModelPage,
|
|
304
|
+
const { displayOnModelPage, deeplink } = LOCAL_APPS.unsloth;
|
|
305
305
|
const model: ModelData = {
|
|
306
306
|
id: "some-user/my-unsloth-finetune",
|
|
307
307
|
tags: ["unsloth", "conversational"],
|
|
@@ -309,25 +309,11 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
309
309
|
};
|
|
310
310
|
|
|
311
311
|
expect(displayOnModelPage(model)).toBe(true);
|
|
312
|
-
|
|
313
|
-
expect(snippet[0].setup).toBe("curl -fsSL https://unsloth.ai/install.sh | sh");
|
|
314
|
-
expect(snippet[0].content).toBe(
|
|
315
|
-
"# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p 8888\n# Then open http://localhost:8888 in your browser\n# Search for some-user/my-unsloth-finetune to start chatting",
|
|
316
|
-
);
|
|
317
|
-
expect(snippet[1].setup).toBe("irm https://unsloth.ai/install.ps1 | iex");
|
|
318
|
-
expect(snippet[1].content).toBe(snippet[0].content);
|
|
319
|
-
expect(snippet[2].setup).toBe("# No setup required");
|
|
320
|
-
expect(snippet[2].content).toBe(
|
|
321
|
-
"# Open https://huggingface.co/spaces/unsloth/studio in your browser\n# Search for some-user/my-unsloth-finetune to start chatting",
|
|
322
|
-
);
|
|
323
|
-
expect(snippet[3].setup).toBe("pip install unsloth");
|
|
324
|
-
expect(snippet[3].content).toBe(
|
|
325
|
-
'from unsloth import FastModel\nmodel, tokenizer = FastModel.from_pretrained(\n model_name="some-user/my-unsloth-finetune",\n max_seq_length=2048,\n)',
|
|
326
|
-
);
|
|
312
|
+
expect(deeplink(model, undefined).href).toBe("unsloth://open_from_hf?model=some-user%2Fmy-unsloth-finetune");
|
|
327
313
|
});
|
|
328
314
|
|
|
329
315
|
it("unsloth namespace gguf model", async () => {
|
|
330
|
-
const { displayOnModelPage,
|
|
316
|
+
const { displayOnModelPage, deeplink } = LOCAL_APPS.unsloth;
|
|
331
317
|
const model: ModelData = {
|
|
332
318
|
id: "unsloth/Llama-3.2-3B-Instruct-GGUF",
|
|
333
319
|
tags: ["conversational"],
|
|
@@ -336,18 +322,10 @@ curl -X POST "http://localhost:8000/v1/chat/completions" \\
|
|
|
336
322
|
};
|
|
337
323
|
|
|
338
324
|
expect(displayOnModelPage(model)).toBe(true);
|
|
339
|
-
|
|
340
|
-
expect(
|
|
341
|
-
|
|
342
|
-
"# Run unsloth studio\nunsloth studio -H 0.0.0.0 -p 8888\n# Then open http://localhost:8888 in your browser\n# Search for unsloth/Llama-3.2-3B-Instruct-GGUF to start chatting",
|
|
343
|
-
);
|
|
344
|
-
expect(snippet[1].setup).toBe("irm https://unsloth.ai/install.ps1 | iex");
|
|
345
|
-
expect(snippet[1].content).toBe(snippet[0].content);
|
|
346
|
-
expect(snippet[2].setup).toBe("# No setup required");
|
|
347
|
-
expect(snippet[2].content).toBe(
|
|
348
|
-
"# Open https://huggingface.co/spaces/unsloth/studio in your browser\n# Search for unsloth/Llama-3.2-3B-Instruct-GGUF to start chatting",
|
|
325
|
+
expect(deeplink(model, undefined).href).toBe("unsloth://open_from_hf?model=unsloth%2FLlama-3.2-3B-Instruct-GGUF");
|
|
326
|
+
expect(deeplink(model, "Llama-3.2-3B-Instruct-UD-Q4_K_XL.gguf").href).toBe(
|
|
327
|
+
"unsloth://open_from_hf?model=unsloth%2FLlama-3.2-3B-Instruct-GGUF&file=Llama-3.2-3B-Instruct-UD-Q4_K_XL.gguf",
|
|
349
328
|
);
|
|
350
|
-
expect(snippet).toHaveLength(3); // GGUF models only get 3 snippets
|
|
351
329
|
});
|
|
352
330
|
|
|
353
331
|
it("non unsloth namespace gguf model", async () => {
|
package/src/local-apps.ts
CHANGED
|
@@ -225,56 +225,6 @@ const snippetOllama = (model: ModelData, filepath?: string): string => {
|
|
|
225
225
|
return `ollama run hf.co/${model.id}${getQuantTag(filepath)}`;
|
|
226
226
|
};
|
|
227
227
|
|
|
228
|
-
const snippetUnsloth = (model: ModelData): LocalAppSnippet[] => {
|
|
229
|
-
const isGguf = isLlamaCppGgufModel(model);
|
|
230
|
-
|
|
231
|
-
const studio_content = [
|
|
232
|
-
"# Run unsloth studio",
|
|
233
|
-
"unsloth studio -H 0.0.0.0 -p 8888",
|
|
234
|
-
"# Then open http://localhost:8888 in your browser",
|
|
235
|
-
"# Search for " + model.id + " to start chatting",
|
|
236
|
-
].join("\n");
|
|
237
|
-
|
|
238
|
-
const studio_instructions: LocalAppSnippet = {
|
|
239
|
-
title: "Install Unsloth Studio (macOS, Linux, WSL)",
|
|
240
|
-
setup: "curl -fsSL https://unsloth.ai/install.sh | sh",
|
|
241
|
-
content: studio_content,
|
|
242
|
-
};
|
|
243
|
-
|
|
244
|
-
const studio_instructions_windows: LocalAppSnippet = {
|
|
245
|
-
title: "Install Unsloth Studio (Windows)",
|
|
246
|
-
setup: "irm https://unsloth.ai/install.ps1 | iex",
|
|
247
|
-
content: studio_content,
|
|
248
|
-
};
|
|
249
|
-
|
|
250
|
-
const hf_spaces_instructions: LocalAppSnippet = {
|
|
251
|
-
title: "Using HuggingFace Spaces for Unsloth",
|
|
252
|
-
setup: "# No setup required",
|
|
253
|
-
content:
|
|
254
|
-
"# Open https://huggingface.co/spaces/unsloth/studio in your browser\n# Search for " +
|
|
255
|
-
model.id +
|
|
256
|
-
" to start chatting",
|
|
257
|
-
};
|
|
258
|
-
|
|
259
|
-
const fastmodel_instructions: LocalAppSnippet = {
|
|
260
|
-
title: "Load model with FastModel",
|
|
261
|
-
setup: "pip install unsloth",
|
|
262
|
-
content: [
|
|
263
|
-
"from unsloth import FastModel",
|
|
264
|
-
"model, tokenizer = FastModel.from_pretrained(",
|
|
265
|
-
' model_name="' + model.id + '",',
|
|
266
|
-
" max_seq_length=2048,",
|
|
267
|
-
")",
|
|
268
|
-
].join("\n"),
|
|
269
|
-
};
|
|
270
|
-
|
|
271
|
-
if (isGguf) {
|
|
272
|
-
return [studio_instructions, studio_instructions_windows, hf_spaces_instructions];
|
|
273
|
-
} else {
|
|
274
|
-
return [studio_instructions, studio_instructions_windows, hf_spaces_instructions, fastmodel_instructions];
|
|
275
|
-
}
|
|
276
|
-
};
|
|
277
|
-
|
|
278
228
|
const snippetLocalAI = (model: ModelData, filepath?: string): LocalAppSnippet[] => {
|
|
279
229
|
const command = (binary: string) =>
|
|
280
230
|
["# Load and run the model:", `${binary} huggingface://${model.id}/${filepath ?? "{{GGUF_FILE}}"}`].join("\n");
|
|
@@ -798,11 +748,18 @@ export const LOCAL_APPS = {
|
|
|
798
748
|
snippet: snippetOllama,
|
|
799
749
|
},
|
|
800
750
|
unsloth: {
|
|
801
|
-
prettyLabel: "Unsloth
|
|
802
|
-
docsUrl: "https://unsloth.ai/docs
|
|
751
|
+
prettyLabel: "Unsloth Desktop",
|
|
752
|
+
docsUrl: "https://unsloth.ai/docs",
|
|
803
753
|
mainTask: "text-generation",
|
|
804
754
|
displayOnModelPage: isUnslothModel,
|
|
805
|
-
|
|
755
|
+
deeplink: (model, filepath) => {
|
|
756
|
+
const url = new URL("unsloth://open_from_hf");
|
|
757
|
+
url.searchParams.set("model", model.id);
|
|
758
|
+
if (filepath) {
|
|
759
|
+
url.searchParams.set("file", filepath);
|
|
760
|
+
}
|
|
761
|
+
return url;
|
|
762
|
+
},
|
|
806
763
|
},
|
|
807
764
|
"docker-model-runner": {
|
|
808
765
|
prettyLabel: "Docker Model Runner",
|
|
@@ -247,6 +247,31 @@ print("R² Score:", r2)`;
|
|
|
247
247
|
return [installSnippet, classificationSnippet, regressionsSnippet];
|
|
248
248
|
};
|
|
249
249
|
|
|
250
|
+
export const cortiq = (model: ModelData): string[] => {
|
|
251
|
+
const setup = `# one Rust binary, no additional dependencies
|
|
252
|
+
cargo install cortiq-cli # or a prebuilt binary from github.com/infosave2007/cmf/releases
|
|
253
|
+
hf download ${model.id} --include "*.cmf" --local-dir .
|
|
254
|
+
ls *.cmf # some repos ship more than one quantization`;
|
|
255
|
+
if (model.pipeline_tag === "text-to-image") {
|
|
256
|
+
return [setup, `cortiq imagine FILE.cmf --prompt "a red fox in a snowy forest" --out fox.ppm`];
|
|
257
|
+
}
|
|
258
|
+
if (model.pipeline_tag === "text-to-video") {
|
|
259
|
+
return [setup, `cortiq animate FILE.cmf --prompt "a corgi in a chef hat flipping a pancake" --out clip.avi`];
|
|
260
|
+
}
|
|
261
|
+
if (model.pipeline_tag === "text-to-audio") {
|
|
262
|
+
return [
|
|
263
|
+
setup,
|
|
264
|
+
`cortiq music FILE.cmf --prompt "dream pop, warm analog synths, brushed drums" \\
|
|
265
|
+
--lyrics "[verse] the tide came in and took the map" --seconds 20 --out song.wav`,
|
|
266
|
+
];
|
|
267
|
+
}
|
|
268
|
+
return [
|
|
269
|
+
setup,
|
|
270
|
+
`cortiq run FILE.cmf --prompt "What is the capital of France?"`,
|
|
271
|
+
`cortiq serve FILE.cmf --port 8080 # OpenAI-compatible server`,
|
|
272
|
+
];
|
|
273
|
+
};
|
|
274
|
+
|
|
250
275
|
export const cxr_foundation = (): string[] => [
|
|
251
276
|
`# pip install git+https://github.com/Google-Health/cxr-foundation.git#subdirectory=python
|
|
252
277
|
|
|
@@ -1473,6 +1498,20 @@ from matanyone import InferenceCore
|
|
|
1473
1498
|
processor = InferenceCore("${model.id}")`,
|
|
1474
1499
|
];
|
|
1475
1500
|
|
|
1501
|
+
export const memra = (model: ModelData): string[] => [
|
|
1502
|
+
`# memra serves NVIDIA Blackwell workstation and consumer cards (sm_120a), with a
|
|
1503
|
+
# compile-gated Hopper lane. Prebuilt binaries need Linux x86_64 and driver 580+,
|
|
1504
|
+
# and no CUDA toolkit.
|
|
1505
|
+
curl -fsSL https://raw.githubusercontent.com/avifenesh/memra/main/tools/install.sh | sh`,
|
|
1506
|
+
|
|
1507
|
+
`# One chat-templated generation. In a repo with several GGUF files, append
|
|
1508
|
+
# :<substring> to choose one, for example hf:${model.id}:Q4_K_M
|
|
1509
|
+
MEMRA_CHAT=1 run-gen hf:${model.id} --prompt "Explain KV caches in one sentence."`,
|
|
1510
|
+
|
|
1511
|
+
`# Or an OpenAI-compatible server on 127.0.0.1:8080.
|
|
1512
|
+
MEMRA_MODELS="model=hf:${model.id}" memra-server`,
|
|
1513
|
+
];
|
|
1514
|
+
|
|
1476
1515
|
export const mesh_anything = (): string[] => [
|
|
1477
1516
|
`# Install from https://github.com/buaacyw/MeshAnything.git
|
|
1478
1517
|
|
|
@@ -1552,6 +1591,13 @@ openasr transcribe audio.wav --model ${modelId}`,
|
|
|
1552
1591
|
];
|
|
1553
1592
|
};
|
|
1554
1593
|
|
|
1594
|
+
export const opendde = (): string[] => [
|
|
1595
|
+
`# pip install 'opendde[gpu]'
|
|
1596
|
+
# Checkpoints are fetched from the Hub into $OPENDDE_ROOT_DIR (default ~/.cache/opendde)
|
|
1597
|
+
opendde doctor
|
|
1598
|
+
opendde pred -i examples/input.json -o ./output -n opendde_v1`,
|
|
1599
|
+
];
|
|
1600
|
+
|
|
1555
1601
|
export const paddlenlp = (model: ModelData): string[] => {
|
|
1556
1602
|
const architecture = model.config?.architectures?.[0];
|
|
1557
1603
|
// interpolated as a Python class name, so a non-identifier is treated as absent
|
package/src/model-libraries.ts
CHANGED
|
@@ -334,6 +334,14 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
334
334
|
repoUrl: "https://github.com/Unbabel/COMET/",
|
|
335
335
|
countDownloads: `path:"hparams.yaml"`,
|
|
336
336
|
},
|
|
337
|
+
cortiq: {
|
|
338
|
+
prettyLabel: "cortiq",
|
|
339
|
+
repoName: "cortiq",
|
|
340
|
+
repoUrl: "https://github.com/infosave2007/cmf",
|
|
341
|
+
docsUrl: "https://github.com/infosave2007/cmf/blob/master/docs/CMF_V2_SPEC.md",
|
|
342
|
+
snippets: snippets.cortiq,
|
|
343
|
+
countDownloads: `path_extension:"cmf"`,
|
|
344
|
+
},
|
|
337
345
|
cosmos: {
|
|
338
346
|
prettyLabel: "Cosmos",
|
|
339
347
|
repoName: "Cosmos",
|
|
@@ -924,6 +932,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
924
932
|
snippets: snippets.matanyone,
|
|
925
933
|
filter: false,
|
|
926
934
|
},
|
|
935
|
+
memra: {
|
|
936
|
+
prettyLabel: "memra",
|
|
937
|
+
repoName: "memra",
|
|
938
|
+
repoUrl: "https://github.com/avifenesh/memra",
|
|
939
|
+
snippets: snippets.memra,
|
|
940
|
+
filter: false,
|
|
941
|
+
},
|
|
927
942
|
"mesh-anything": {
|
|
928
943
|
prettyLabel: "MeshAnything",
|
|
929
944
|
repoName: "MeshAnything",
|
|
@@ -1015,6 +1030,14 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1015
1030
|
snippets: snippets.mobilint,
|
|
1016
1031
|
filter: false,
|
|
1017
1032
|
},
|
|
1033
|
+
"montreal-forced-aligner": {
|
|
1034
|
+
prettyLabel: "Montreal Forced Aligner",
|
|
1035
|
+
repoName: "Montreal Forced Aligner",
|
|
1036
|
+
repoUrl: "https://github.com/MontrealCorpusTools/Montreal-Forced-Aligner",
|
|
1037
|
+
docsUrl: "https://montreal-forced-aligner.readthedocs.io",
|
|
1038
|
+
filter: false,
|
|
1039
|
+
countDownloads: `path:"acoustic/final.mdl" OR path_extension:"zip"`,
|
|
1040
|
+
},
|
|
1018
1041
|
moshi: {
|
|
1019
1042
|
prettyLabel: "Moshi",
|
|
1020
1043
|
repoName: "Moshi",
|
|
@@ -1093,6 +1116,15 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1093
1116
|
filter: false,
|
|
1094
1117
|
countDownloads: `path_extension:"oasr"`,
|
|
1095
1118
|
},
|
|
1119
|
+
opendde: {
|
|
1120
|
+
prettyLabel: "OpenDDE",
|
|
1121
|
+
repoName: "OpenDDE",
|
|
1122
|
+
repoUrl: "https://github.com/aurekaresearch/OpenDDE",
|
|
1123
|
+
docsUrl: "https://huggingface.co/aurekaresearch/OpenDDE/blob/main/docs/inference_instructions.md",
|
|
1124
|
+
snippets: snippets.opendde,
|
|
1125
|
+
filter: false,
|
|
1126
|
+
countDownloads: `path_extension:"pt"`,
|
|
1127
|
+
},
|
|
1096
1128
|
openpeerllm: {
|
|
1097
1129
|
prettyLabel: "OpenPeerLLM",
|
|
1098
1130
|
repoName: "OpenPeerLLM",
|
|
@@ -1157,6 +1189,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1157
1189
|
filter: false,
|
|
1158
1190
|
countDownloads: `path_extension:"pth"`,
|
|
1159
1191
|
},
|
|
1192
|
+
piper: {
|
|
1193
|
+
prettyLabel: "Piper",
|
|
1194
|
+
repoName: "Piper",
|
|
1195
|
+
repoUrl: "https://github.com/OHF-Voice/piper1-gpl",
|
|
1196
|
+
filter: false,
|
|
1197
|
+
countDownloads: `path_extension:"onnx" OR path_extension:"ckpt"`,
|
|
1198
|
+
},
|
|
1160
1199
|
"pocket-tts": {
|
|
1161
1200
|
prettyLabel: "Pocket-TTS",
|
|
1162
1201
|
repoName: "PocketTTS",
|