@huggingface/tasks 0.21.37 → 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.
@@ -222,7 +222,7 @@ export declare const LOCAL_APPS: {
222
222
  docsUrl: string;
223
223
  mainTask: "text-generation";
224
224
  displayOnModelPage: typeof isUnslothModel;
225
- snippet: (model: ModelData) => LocalAppSnippet[];
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,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,KAAK,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,SAAS,KAAK;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC,CAAC;IACpG;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,kBAAkB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,KAAG,MAAM;;;;;;;;;;;;;;yBAkT1B,SAAS,aAAa,MAAM,KAAG,MAAM;;;;;;;yBAM9C,SAAS,aAAa,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 Studio",
676
- docsUrl: "https://unsloth.ai/docs/new/studio",
632
+ prettyLabel: "Unsloth Desktop",
633
+ docsUrl: "https://unsloth.ai/docs",
677
634
  mainTask: "text-generation",
678
635
  displayOnModelPage: isUnslothModel,
679
- snippet: snippetUnsloth,
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, snippet: snippetFunc } = local_apps_js_1.LOCAL_APPS.unsloth;
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
- const snippet = snippetFunc(model);
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, snippet: snippetFunc } = local_apps_js_1.LOCAL_APPS.unsloth;
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
- const snippet = snippetFunc(model);
299
- (0, vitest_1.expect)(snippet[0].setup).toBe("curl -fsSL https://unsloth.ai/install.sh | sh");
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,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,OAAO,SAAS,KAAG,MAAM,EAYxD,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,OAAO,SAAS,KAAG,MAAM,EAkBhD,CAAC;AAEF,eAAO,MAAM,eAAe,QAAO,MAAM,EAmDxC,CAAC;AAEF,eAAO,MAAM,cAAc,QAAO,MAAM,EAcvC,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,OAAO,SAAS,KAAG,MAAM,EA6C1D,CAAC;AAEF,eAAO,MAA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,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"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.mesh_anything = 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.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.supertonic = exports.nobg = exports.birefnet = 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.openasr = exports.open_clip = exports.multimolecule = 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 = 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
@@ -2289,14 +2333,30 @@ model = BiRefNet.from_pretrained("${model.id}")`,
2289
2333
  exports.birefnet = birefnet;
2290
2334
  const nobg = (model) => {
2291
2335
  const installSnippet = `pip install nobg`;
2292
- const exampleSnippet = `import torch
2336
+ // we check model tags and if it supports prompts we show an example for it, else we show the default example without prompts
2337
+ const predictCall = model.tags.includes("promptable")
2338
+ ? `cutout = model.predict(processor, "image.jpg", "prompt")`
2339
+ : `cutout = model.predict(processor, "image.jpg")`;
2340
+ // snippet using the predict method
2341
+ const predictSnippet = `# Option 1: use via the predict method
2342
+
2343
+ from nobg import AutoModel, AutoProcessor
2344
+
2345
+ model = AutoModel.from_pretrained("${model.id}").eval()
2346
+ processor = AutoProcessor.from_pretrained("${model.id}")
2347
+
2348
+ ${predictCall}`;
2349
+ // snippet using the model and processor directly
2350
+ const manualSnippet = `# Option 2: use the model and processor directly
2351
+
2352
+ import torch
2293
2353
  from loadimg import load_img
2294
2354
  from nobg import AutoModel, AutoProcessor
2295
2355
 
2296
2356
  model = AutoModel.from_pretrained("${model.id}").eval()
2297
2357
  processor = AutoProcessor.from_pretrained("${model.id}")
2298
2358
 
2299
- image = load_img("input.jpg").convert("RGB")
2359
+ image = load_img("image.jpg").convert("RGB")
2300
2360
  inputs = processor(image, return_tensors="pt")
2301
2361
 
2302
2362
  with torch.no_grad():
@@ -2304,7 +2364,7 @@ with torch.no_grad():
2304
2364
 
2305
2365
  alpha = processor.post_process_alpha_matting(outputs, target_sizes=[(image.height, image.width)])[0]
2306
2366
  processor.cutout(image, alpha).save("output.png")`;
2307
- return [installSnippet, exampleSnippet];
2367
+ return [installSnippet, predictSnippet, manualSnippet];
2308
2368
  };
2309
2369
  exports.nobg = nobg;
2310
2370
  const supertonic = () => [
@@ -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,KA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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",
@@ -222,7 +222,7 @@ export declare const LOCAL_APPS: {
222
222
  docsUrl: string;
223
223
  mainTask: "text-generation";
224
224
  displayOnModelPage: typeof isUnslothModel;
225
- snippet: (model: ModelData) => LocalAppSnippet[];
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,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,KAAK,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,SAAS,KAAK;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC,CAAC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AS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAJjD,SAAS,aAAa,MAAM,KAAG,MAAM;;;;;;;;;;;;;;yBAkT1B,SAAS,aAAa,MAAM,KAAG,MAAM;;;;;;;yBAM9C,SAAS,aAAa,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"}
@@ -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 Studio",
673
- docsUrl: "https://unsloth.ai/docs/new/studio",
629
+ prettyLabel: "Unsloth Desktop",
630
+ docsUrl: "https://unsloth.ai/docs",
674
631
  mainTask: "text-generation",
675
632
  displayOnModelPage: isUnslothModel,
676
- snippet: snippetUnsloth,
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",