@huggingface/tasks 0.10.0 → 0.10.2
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/index.cjs +26 -8
- package/dist/index.js +26 -8
- package/dist/src/local-apps.d.ts +2 -1
- package/dist/src/local-apps.d.ts.map +1 -1
- package/dist/src/model-libraries.d.ts +24 -2
- package/dist/src/model-libraries.d.ts.map +1 -1
- package/dist/src/pipelines.d.ts +0 -1
- package/dist/src/pipelines.d.ts.map +1 -1
- package/package.json +1 -4
- package/src/local-apps.ts +7 -6
- package/src/model-libraries.ts +18 -0
- package/src/pipelines.ts +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1314,8 +1314,7 @@ var PIPELINE_DATA = {
|
|
|
1314
1314
|
name: "Multivariate Time Series Forecasting"
|
|
1315
1315
|
}
|
|
1316
1316
|
],
|
|
1317
|
-
color: "blue"
|
|
1318
|
-
hideInModels: true
|
|
1317
|
+
color: "blue"
|
|
1319
1318
|
},
|
|
1320
1319
|
"text-to-video": {
|
|
1321
1320
|
name: "Text-to-Video",
|
|
@@ -4625,6 +4624,15 @@ var MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
4625
4624
|
snippets: bertopic,
|
|
4626
4625
|
filter: true
|
|
4627
4626
|
},
|
|
4627
|
+
big_vision: {
|
|
4628
|
+
prettyLabel: "Big Vision",
|
|
4629
|
+
repoName: "big_vision",
|
|
4630
|
+
repoUrl: "https://github.com/google-research/big_vision",
|
|
4631
|
+
filter: false,
|
|
4632
|
+
countDownloads: {
|
|
4633
|
+
wildcard: { path: "*.npz" }
|
|
4634
|
+
}
|
|
4635
|
+
},
|
|
4628
4636
|
diffusers: {
|
|
4629
4637
|
prettyLabel: "Diffusers",
|
|
4630
4638
|
repoName: "\u{1F917}/diffusers",
|
|
@@ -4903,6 +4911,15 @@ var MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
4903
4911
|
repoUrl: "https://github.com/TensorSpeech/TensorFlowTTS",
|
|
4904
4912
|
snippets: tensorflowtts
|
|
4905
4913
|
},
|
|
4914
|
+
timesfm: {
|
|
4915
|
+
prettyLabel: "TimesFM",
|
|
4916
|
+
repoName: "timesfm",
|
|
4917
|
+
repoUrl: "https://github.com/google-research/timesfm",
|
|
4918
|
+
filter: false,
|
|
4919
|
+
countDownloads: {
|
|
4920
|
+
term: { path: "checkpoints/checkpoint_1100000/state/checkpoint" }
|
|
4921
|
+
}
|
|
4922
|
+
},
|
|
4906
4923
|
timm: {
|
|
4907
4924
|
prettyLabel: "timm",
|
|
4908
4925
|
repoName: "pytorch-image-models",
|
|
@@ -5462,25 +5479,26 @@ var LOCAL_APPS = {
|
|
|
5462
5479
|
docsUrl: "https://jan.ai",
|
|
5463
5480
|
mainTask: "text-generation",
|
|
5464
5481
|
displayOnModelPage: isGgufModel,
|
|
5465
|
-
deeplink: (model) => new URL(`jan://
|
|
5482
|
+
deeplink: (model) => new URL(`jan://models/huggingface/${model.id}`)
|
|
5466
5483
|
},
|
|
5467
|
-
|
|
5468
|
-
prettyLabel: "
|
|
5469
|
-
docsUrl: "https://
|
|
5484
|
+
backyard: {
|
|
5485
|
+
prettyLabel: "Backyard",
|
|
5486
|
+
docsUrl: "https://backyard.ai",
|
|
5470
5487
|
mainTask: "text-generation",
|
|
5471
5488
|
macOSOnly: true,
|
|
5472
5489
|
displayOnModelPage: isGgufModel,
|
|
5473
|
-
deeplink: (model) => new URL(`
|
|
5490
|
+
deeplink: (model) => new URL(`https://backyard.ai/hf/model/${model.id}`)
|
|
5474
5491
|
},
|
|
5475
5492
|
drawthings: {
|
|
5476
5493
|
prettyLabel: "Draw Things",
|
|
5477
5494
|
docsUrl: "https://drawthings.ai",
|
|
5478
5495
|
mainTask: "text-to-image",
|
|
5479
5496
|
macOSOnly: true,
|
|
5497
|
+
comingSoon: true,
|
|
5480
5498
|
/**
|
|
5481
5499
|
* random function, will need to refine the actual conditions:
|
|
5482
5500
|
*/
|
|
5483
|
-
displayOnModelPage: (model) => model.
|
|
5501
|
+
displayOnModelPage: (model) => model.library_name === "diffusers" && model.pipeline_tag === "text-to-image",
|
|
5484
5502
|
deeplink: (model) => new URL(`drawthings://open_from_hf?model=${model.id}`)
|
|
5485
5503
|
},
|
|
5486
5504
|
diffusionbee: {
|
package/dist/index.js
CHANGED
|
@@ -1278,8 +1278,7 @@ var PIPELINE_DATA = {
|
|
|
1278
1278
|
name: "Multivariate Time Series Forecasting"
|
|
1279
1279
|
}
|
|
1280
1280
|
],
|
|
1281
|
-
color: "blue"
|
|
1282
|
-
hideInModels: true
|
|
1281
|
+
color: "blue"
|
|
1283
1282
|
},
|
|
1284
1283
|
"text-to-video": {
|
|
1285
1284
|
name: "Text-to-Video",
|
|
@@ -4589,6 +4588,15 @@ var MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
4589
4588
|
snippets: bertopic,
|
|
4590
4589
|
filter: true
|
|
4591
4590
|
},
|
|
4591
|
+
big_vision: {
|
|
4592
|
+
prettyLabel: "Big Vision",
|
|
4593
|
+
repoName: "big_vision",
|
|
4594
|
+
repoUrl: "https://github.com/google-research/big_vision",
|
|
4595
|
+
filter: false,
|
|
4596
|
+
countDownloads: {
|
|
4597
|
+
wildcard: { path: "*.npz" }
|
|
4598
|
+
}
|
|
4599
|
+
},
|
|
4592
4600
|
diffusers: {
|
|
4593
4601
|
prettyLabel: "Diffusers",
|
|
4594
4602
|
repoName: "\u{1F917}/diffusers",
|
|
@@ -4867,6 +4875,15 @@ var MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
4867
4875
|
repoUrl: "https://github.com/TensorSpeech/TensorFlowTTS",
|
|
4868
4876
|
snippets: tensorflowtts
|
|
4869
4877
|
},
|
|
4878
|
+
timesfm: {
|
|
4879
|
+
prettyLabel: "TimesFM",
|
|
4880
|
+
repoName: "timesfm",
|
|
4881
|
+
repoUrl: "https://github.com/google-research/timesfm",
|
|
4882
|
+
filter: false,
|
|
4883
|
+
countDownloads: {
|
|
4884
|
+
term: { path: "checkpoints/checkpoint_1100000/state/checkpoint" }
|
|
4885
|
+
}
|
|
4886
|
+
},
|
|
4870
4887
|
timm: {
|
|
4871
4888
|
prettyLabel: "timm",
|
|
4872
4889
|
repoName: "pytorch-image-models",
|
|
@@ -5426,25 +5443,26 @@ var LOCAL_APPS = {
|
|
|
5426
5443
|
docsUrl: "https://jan.ai",
|
|
5427
5444
|
mainTask: "text-generation",
|
|
5428
5445
|
displayOnModelPage: isGgufModel,
|
|
5429
|
-
deeplink: (model) => new URL(`jan://
|
|
5446
|
+
deeplink: (model) => new URL(`jan://models/huggingface/${model.id}`)
|
|
5430
5447
|
},
|
|
5431
|
-
|
|
5432
|
-
prettyLabel: "
|
|
5433
|
-
docsUrl: "https://
|
|
5448
|
+
backyard: {
|
|
5449
|
+
prettyLabel: "Backyard",
|
|
5450
|
+
docsUrl: "https://backyard.ai",
|
|
5434
5451
|
mainTask: "text-generation",
|
|
5435
5452
|
macOSOnly: true,
|
|
5436
5453
|
displayOnModelPage: isGgufModel,
|
|
5437
|
-
deeplink: (model) => new URL(`
|
|
5454
|
+
deeplink: (model) => new URL(`https://backyard.ai/hf/model/${model.id}`)
|
|
5438
5455
|
},
|
|
5439
5456
|
drawthings: {
|
|
5440
5457
|
prettyLabel: "Draw Things",
|
|
5441
5458
|
docsUrl: "https://drawthings.ai",
|
|
5442
5459
|
mainTask: "text-to-image",
|
|
5443
5460
|
macOSOnly: true,
|
|
5461
|
+
comingSoon: true,
|
|
5444
5462
|
/**
|
|
5445
5463
|
* random function, will need to refine the actual conditions:
|
|
5446
5464
|
*/
|
|
5447
|
-
displayOnModelPage: (model) => model.
|
|
5465
|
+
displayOnModelPage: (model) => model.library_name === "diffusers" && model.pipeline_tag === "text-to-image",
|
|
5448
5466
|
deeplink: (model) => new URL(`drawthings://open_from_hf?model=${model.id}`)
|
|
5449
5467
|
},
|
|
5450
5468
|
diffusionbee: {
|
package/dist/src/local-apps.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ export declare const LOCAL_APPS: {
|
|
|
70
70
|
displayOnModelPage: typeof isGgufModel;
|
|
71
71
|
deeplink: (model: ModelData) => URL;
|
|
72
72
|
};
|
|
73
|
-
|
|
73
|
+
backyard: {
|
|
74
74
|
prettyLabel: string;
|
|
75
75
|
docsUrl: string;
|
|
76
76
|
mainTask: "text-generation";
|
|
@@ -83,6 +83,7 @@ export declare const LOCAL_APPS: {
|
|
|
83
83
|
docsUrl: string;
|
|
84
84
|
mainTask: "text-to-image";
|
|
85
85
|
macOSOnly: true;
|
|
86
|
+
comingSoon: true;
|
|
86
87
|
/**
|
|
87
88
|
* random function, will need to refine the actual conditions:
|
|
88
89
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-apps.d.ts","sourceRoot":"","sources":["../../src/local-apps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACtB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,kBAAkB,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,OAAO,CAAC;CAClD,GAAG,CACD;IACA;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,GAAG,CAAC;CACnC,GACD;IACA;;OAEG;IACH,OAAO,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,MAAM,CAAC;CACrC,CACH,CAAC;AAEF,iBAAS,WAAW,CAAC,KAAK,EAAE,SAAS,WAEpC;AASD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,UAAU;;;;;;yBAlBS,SAAS,KAAG,MAAM
|
|
1
|
+
{"version":3,"file":"local-apps.d.ts","sourceRoot":"","sources":["../../src/local-apps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACtB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,kBAAkB,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,OAAO,CAAC;CAClD,GAAG,CACD;IACA;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,GAAG,CAAC;CACnC,GACD;IACA;;OAEG;IACH,OAAO,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,MAAM,CAAC;CACrC,CACH,CAAC;AAEF,iBAAS,WAAW,CAAC,KAAK,EAAE,SAAS,WAEpC;AASD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,UAAU;;;;;;yBAlBS,SAAS,KAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAsDhD;;WAEG;;;;;;;;;;;;;CAa+B,CAAC;AAErC,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,UAAU,CAAC"}
|
|
@@ -102,6 +102,17 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
102
102
|
snippets: (model: ModelData) => string[];
|
|
103
103
|
filter: true;
|
|
104
104
|
};
|
|
105
|
+
big_vision: {
|
|
106
|
+
prettyLabel: string;
|
|
107
|
+
repoName: string;
|
|
108
|
+
repoUrl: string;
|
|
109
|
+
filter: false;
|
|
110
|
+
countDownloads: {
|
|
111
|
+
wildcard: {
|
|
112
|
+
path: string;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
105
116
|
diffusers: {
|
|
106
117
|
prettyLabel: string;
|
|
107
118
|
repoName: string;
|
|
@@ -425,6 +436,17 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
425
436
|
repoUrl: string;
|
|
426
437
|
snippets: (model: ModelData) => string[];
|
|
427
438
|
};
|
|
439
|
+
timesfm: {
|
|
440
|
+
prettyLabel: string;
|
|
441
|
+
repoName: string;
|
|
442
|
+
repoUrl: string;
|
|
443
|
+
filter: false;
|
|
444
|
+
countDownloads: {
|
|
445
|
+
term: {
|
|
446
|
+
path: string;
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
};
|
|
428
450
|
timm: {
|
|
429
451
|
prettyLabel: string;
|
|
430
452
|
repoName: string;
|
|
@@ -485,6 +507,6 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
485
507
|
};
|
|
486
508
|
};
|
|
487
509
|
export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;
|
|
488
|
-
export declare const ALL_MODEL_LIBRARY_KEYS: ("sklearn" | "adapter-transformers" | "allennlp" | "asteroid" | "audiocraft" | "bertopic" | "diffusers" | "doctr" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gliner" | "grok" | "keras" | "keras-nlp" | "k2" | "mindspore" | "ml-agents" | "mlx" | "mlx-image" | "nemo" | "open_clip" | "paddlenlp" | "peft" | "pyannote-audio" | "pythae" | "sample-factory" | "sentence-transformers" | "setfit" | "spacy" | "span-marker" | "speechbrain" | "stable-baselines3" | "stanza" | "tensorflowtts" | "timm" | "transformers" | "transformers.js" | "unity-sentis" | "voicecraft" | "whisperkit")[];
|
|
489
|
-
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("sklearn" | "adapter-transformers" | "allennlp" | "asteroid" | "audiocraft" | "bertopic" | "diffusers" | "doctr" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gliner" | "grok" | "keras" | "keras-nlp" | "k2" | "mindspore" | "ml-agents" | "mlx" | "mlx-image" | "nemo" | "open_clip" | "paddlenlp" | "peft" | "pyannote-audio" | "pythae" | "sample-factory" | "sentence-transformers" | "setfit" | "spacy" | "span-marker" | "speechbrain" | "stable-baselines3" | "stanza" | "tensorflowtts" | "timm" | "transformers" | "transformers.js" | "unity-sentis" | "voicecraft" | "whisperkit")[];
|
|
510
|
+
export declare const ALL_MODEL_LIBRARY_KEYS: ("sklearn" | "adapter-transformers" | "allennlp" | "asteroid" | "audiocraft" | "bertopic" | "big_vision" | "diffusers" | "doctr" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gliner" | "grok" | "keras" | "keras-nlp" | "k2" | "mindspore" | "ml-agents" | "mlx" | "mlx-image" | "nemo" | "open_clip" | "paddlenlp" | "peft" | "pyannote-audio" | "pythae" | "sample-factory" | "sentence-transformers" | "setfit" | "spacy" | "span-marker" | "speechbrain" | "stable-baselines3" | "stanza" | "tensorflowtts" | "timesfm" | "timm" | "transformers" | "transformers.js" | "unity-sentis" | "voicecraft" | "whisperkit")[];
|
|
511
|
+
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("sklearn" | "adapter-transformers" | "allennlp" | "asteroid" | "audiocraft" | "bertopic" | "big_vision" | "diffusers" | "doctr" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gliner" | "grok" | "keras" | "keras-nlp" | "k2" | "mindspore" | "ml-agents" | "mlx" | "mlx-image" | "nemo" | "open_clip" | "paddlenlp" | "peft" | "pyannote-audio" | "pythae" | "sample-factory" | "sentence-transformers" | "setfit" | "spacy" | "span-marker" | "speechbrain" | "stable-baselines3" | "stanza" | "tensorflowtts" | "timesfm" | "timm" | "transformers" | "transformers.js" | "unity-sentis" | "voicecraft" | "whisperkit")[];
|
|
490
512
|
//# 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,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,MAAM,EAAE,CAAC;IAC1C;;;;;OAKG;IACH,cAAc,CAAC,EAAE,sBAAsB,CAAC;IACxC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;;GAaG;AAEH,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"model-libraries.d.ts","sourceRoot":"","sources":["../../src/model-libraries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,MAAM,EAAE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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8kBc,CAAC;AAEzC,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,aAAa,CAAC;AAEtD,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,gBAAgB,CAAC;AAEzD,eAAO,MAAM,cAAc,mlCAA+C,CAAC;AAE3E,eAAO,MAAM,aAAa,UAEN,CAAC;AAErB,eAAO,MAAM,kBAAkB,olCAA0B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huggingface/tasks",
|
|
3
3
|
"packageManager": "pnpm@8.10.5",
|
|
4
|
-
"version": "0.10.
|
|
4
|
+
"version": "0.10.2",
|
|
5
5
|
"description": "List of ML tasks for huggingface.co/tasks",
|
|
6
6
|
"repository": "https://github.com/huggingface/huggingface.js.git",
|
|
7
7
|
"publishConfig": {
|
|
@@ -36,9 +36,6 @@
|
|
|
36
36
|
"quicktype-core": "https://github.com/huggingface/quicktype/raw/pack-18.0.17/packages/quicktype-core/quicktype-core-18.0.17.tgz",
|
|
37
37
|
"type-fest": "^3.13.1"
|
|
38
38
|
},
|
|
39
|
-
"dependencies": {
|
|
40
|
-
"node-fetch": "^3.3.2"
|
|
41
|
-
},
|
|
42
39
|
"scripts": {
|
|
43
40
|
"lint": "eslint --quiet --fix --ext .cjs,.ts .",
|
|
44
41
|
"lint:check": "eslint --ext .cjs,.ts .",
|
package/src/local-apps.ts
CHANGED
|
@@ -84,25 +84,26 @@ export const LOCAL_APPS = {
|
|
|
84
84
|
docsUrl: "https://jan.ai",
|
|
85
85
|
mainTask: "text-generation",
|
|
86
86
|
displayOnModelPage: isGgufModel,
|
|
87
|
-
deeplink: (model) => new URL(`jan://
|
|
87
|
+
deeplink: (model) => new URL(`jan://models/huggingface/${model.id}`),
|
|
88
88
|
},
|
|
89
|
-
|
|
90
|
-
prettyLabel: "
|
|
91
|
-
docsUrl: "https://
|
|
89
|
+
backyard: {
|
|
90
|
+
prettyLabel: "Backyard",
|
|
91
|
+
docsUrl: "https://backyard.ai",
|
|
92
92
|
mainTask: "text-generation",
|
|
93
93
|
macOSOnly: true,
|
|
94
94
|
displayOnModelPage: isGgufModel,
|
|
95
|
-
deeplink: (model) => new URL(`
|
|
95
|
+
deeplink: (model) => new URL(`https://backyard.ai/hf/model/${model.id}`),
|
|
96
96
|
},
|
|
97
97
|
drawthings: {
|
|
98
98
|
prettyLabel: "Draw Things",
|
|
99
99
|
docsUrl: "https://drawthings.ai",
|
|
100
100
|
mainTask: "text-to-image",
|
|
101
101
|
macOSOnly: true,
|
|
102
|
+
comingSoon: true,
|
|
102
103
|
/**
|
|
103
104
|
* random function, will need to refine the actual conditions:
|
|
104
105
|
*/
|
|
105
|
-
displayOnModelPage: (model) => model.
|
|
106
|
+
displayOnModelPage: (model) => model.library_name === "diffusers" && model.pipeline_tag === "text-to-image",
|
|
106
107
|
deeplink: (model) => new URL(`drawthings://open_from_hf?model=${model.id}`),
|
|
107
108
|
},
|
|
108
109
|
diffusionbee: {
|
package/src/model-libraries.ts
CHANGED
|
@@ -102,6 +102,15 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
102
102
|
snippets: snippets.bertopic,
|
|
103
103
|
filter: true,
|
|
104
104
|
},
|
|
105
|
+
big_vision: {
|
|
106
|
+
prettyLabel: "Big Vision",
|
|
107
|
+
repoName: "big_vision",
|
|
108
|
+
repoUrl: "https://github.com/google-research/big_vision",
|
|
109
|
+
filter: false,
|
|
110
|
+
countDownloads: {
|
|
111
|
+
wildcard: { path: "*.npz" },
|
|
112
|
+
},
|
|
113
|
+
},
|
|
105
114
|
diffusers: {
|
|
106
115
|
prettyLabel: "Diffusers",
|
|
107
116
|
repoName: "🤗/diffusers",
|
|
@@ -380,6 +389,15 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
380
389
|
repoUrl: "https://github.com/TensorSpeech/TensorFlowTTS",
|
|
381
390
|
snippets: snippets.tensorflowtts,
|
|
382
391
|
},
|
|
392
|
+
timesfm: {
|
|
393
|
+
prettyLabel: "TimesFM",
|
|
394
|
+
repoName: "timesfm",
|
|
395
|
+
repoUrl: "https://github.com/google-research/timesfm",
|
|
396
|
+
filter: false,
|
|
397
|
+
countDownloads: {
|
|
398
|
+
term: { path: "checkpoints/checkpoint_1100000/state/checkpoint" },
|
|
399
|
+
},
|
|
400
|
+
},
|
|
383
401
|
timm: {
|
|
384
402
|
prettyLabel: "timm",
|
|
385
403
|
repoName: "pytorch-image-models",
|