@huggingface/tasks 0.22.4 → 0.22.5
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/model-libraries-snippets.d.ts +9 -0
- package/dist/commonjs/model-libraries-snippets.d.ts.map +1 -1
- package/dist/commonjs/model-libraries-snippets.js +163 -3
- package/dist/commonjs/model-libraries.d.ts +166 -2
- package/dist/commonjs/model-libraries.d.ts.map +1 -1
- package/dist/commonjs/model-libraries.js +165 -1
- package/dist/esm/model-libraries-snippets.d.ts +9 -0
- package/dist/esm/model-libraries-snippets.d.ts.map +1 -1
- package/dist/esm/model-libraries-snippets.js +151 -0
- package/dist/esm/model-libraries.d.ts +166 -2
- package/dist/esm/model-libraries.d.ts.map +1 -1
- package/dist/esm/model-libraries.js +165 -1
- package/package.json +1 -1
- package/src/model-libraries-snippets.ts +161 -0
- package/src/model-libraries.ts +165 -1
|
@@ -28,6 +28,52 @@ model = AadyaM1Forecaster(weights)
|
|
|
28
28
|
pmf = model.forecast([28, 30, 27], elapsed=0)`,
|
|
29
29
|
];
|
|
30
30
|
|
|
31
|
+
export const minicpmOcr = (model: ModelData): string[] => {
|
|
32
|
+
const isGguf = !!model.gguf?.context_length;
|
|
33
|
+
const backend = isGguf ? "llamacpp" : "vllm";
|
|
34
|
+
const device = isGguf ? "cpu" : "cuda:0";
|
|
35
|
+
const contextLength = isGguf ? 8192 : 40960;
|
|
36
|
+
const guide = isGguf ? "llamacpp_deploy.md" : "vllm_deploy_en.md";
|
|
37
|
+
const serviceSettings = isGguf
|
|
38
|
+
? "# llama.cpp: load the model and vision projector; use --port 8080,\n# --alias minicpm-ocr, --ctx-size 8192, --parallel 1, --jinja --reasoning off."
|
|
39
|
+
: "# vLLM: load the model above; use --port 8080,\n# --served-model-name minicpm-ocr and --max-model-len 40960.";
|
|
40
|
+
const pipeline = isGguf
|
|
41
|
+
? '{"queue_mode": "serial", "max_workers": 1, "render_workers": 1}'
|
|
42
|
+
: '{"overlap_layout": True, "render_workers": 1}';
|
|
43
|
+
|
|
44
|
+
return [
|
|
45
|
+
`pip install "minicpm-ocr[all]" huggingface_hub
|
|
46
|
+
|
|
47
|
+
# Deploy ${model.id} as a recognition service before running the Python example:
|
|
48
|
+
# https://github.com/OpenBMB/MiniCPM-OCR/blob/main/docs/${guide}
|
|
49
|
+
${serviceSettings}
|
|
50
|
+
# Layout detection uses ${device}; recognition runs on the deployed service.`,
|
|
51
|
+
`from importlib.resources import files
|
|
52
|
+
from pathlib import Path
|
|
53
|
+
|
|
54
|
+
from minicpmvocr import load_config, pipelined_run
|
|
55
|
+
from huggingface_hub import snapshot_download
|
|
56
|
+
|
|
57
|
+
layout_model = snapshot_download("PaddlePaddle/PP-DocLayoutV3")
|
|
58
|
+
cfg = load_config(
|
|
59
|
+
str(files("minicpmvocr").joinpath("configs/minicpmvocr.yaml")),
|
|
60
|
+
overrides={
|
|
61
|
+
"input": {"file_path": str(Path("demo.png").resolve())},
|
|
62
|
+
"engine": {
|
|
63
|
+
"type": "${backend}",
|
|
64
|
+
"server_url": "http://127.0.0.1:8080",
|
|
65
|
+
"model_name": "minicpm-ocr",
|
|
66
|
+
"max_model_len": ${contextLength},
|
|
67
|
+
},
|
|
68
|
+
"layout": {"model_dir": layout_model, "device": "${device}"},
|
|
69
|
+
# Render PDFs in-process so this example also works without a main guard.
|
|
70
|
+
"pipeline": ${pipeline},
|
|
71
|
+
},
|
|
72
|
+
)
|
|
73
|
+
pipelined_run(cfg)`,
|
|
74
|
+
];
|
|
75
|
+
};
|
|
76
|
+
|
|
31
77
|
export const adapters = (model: ModelData): string[] => [
|
|
32
78
|
`from adapters import AutoAdapterModel
|
|
33
79
|
|
|
@@ -37,6 +83,16 @@ model = AutoAdapterModel.from_pretrained("${escapeStringForJson(
|
|
|
37
83
|
model.load_adapter("${model.id}", set_active=True)`,
|
|
38
84
|
];
|
|
39
85
|
|
|
86
|
+
export const alkove = (model: ModelData): string[] => {
|
|
87
|
+
const name = /^alkove-([a-z]+)-/.exec(model.id.split("/").pop() ?? "")?.[1] ?? "focus";
|
|
88
|
+
return [
|
|
89
|
+
`# pip install alkove
|
|
90
|
+
import alkove
|
|
91
|
+
|
|
92
|
+
models = alkove.Models.load(["${name}"])`,
|
|
93
|
+
];
|
|
94
|
+
};
|
|
95
|
+
|
|
40
96
|
const allennlpUnknown = (model: ModelData) => [
|
|
41
97
|
`import allennlp_models
|
|
42
98
|
from allennlp.predictors.predictor import Predictor
|
|
@@ -117,6 +173,18 @@ function get_prompt_from_diffusers_model(model: ModelData): string | undefined {
|
|
|
117
173
|
}
|
|
118
174
|
}
|
|
119
175
|
|
|
176
|
+
export const basedecision = (model: ModelData): string[] => [
|
|
177
|
+
`from basedecision import load_from_hub
|
|
178
|
+
|
|
179
|
+
model = load_from_hub("${model.id}")
|
|
180
|
+
result = model.choose(
|
|
181
|
+
context="Please refund my purchase.",
|
|
182
|
+
question="What does the customer request?",
|
|
183
|
+
options=["Refund", "Delivery status", "Change address"],
|
|
184
|
+
)
|
|
185
|
+
print(result.answer)`,
|
|
186
|
+
];
|
|
187
|
+
|
|
120
188
|
export const ben2 = (model: ModelData): string[] => [
|
|
121
189
|
`import requests
|
|
122
190
|
from PIL import Image
|
|
@@ -461,6 +529,24 @@ dam = DescribeAnythingModel(
|
|
|
461
529
|
)`,
|
|
462
530
|
];
|
|
463
531
|
|
|
532
|
+
export const dew = (model: ModelData): string[] => {
|
|
533
|
+
if (model.pipeline_tag === "text-to-image") {
|
|
534
|
+
return [
|
|
535
|
+
`# pip install dewml --extra-index-url https://pypi.dewml.dev/simple
|
|
536
|
+
import dew
|
|
537
|
+
|
|
538
|
+
pipe = dew.pipeline("${model.id}")
|
|
539
|
+
images = pipe(["a red fox in a snowy forest"], steps=20, key=0).host().images`,
|
|
540
|
+
];
|
|
541
|
+
}
|
|
542
|
+
return [
|
|
543
|
+
`# pip install dewml --extra-index-url https://pypi.dewml.dev/simple
|
|
544
|
+
import dew
|
|
545
|
+
|
|
546
|
+
task = dew.pipeline("${model.id}")`,
|
|
547
|
+
];
|
|
548
|
+
};
|
|
549
|
+
|
|
464
550
|
const diffusers_install = "pip install -U diffusers transformers accelerate";
|
|
465
551
|
|
|
466
552
|
const diffusersDefaultPrompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k";
|
|
@@ -905,6 +991,28 @@ print(f'Accuracy {accuracy_score(y_test, predictions):.2%}')
|
|
|
905
991
|
return [installSnippet, classificationSnippet, regressionsSnippet, matchingSnippet];
|
|
906
992
|
};
|
|
907
993
|
|
|
994
|
+
export const fse = (model: ModelData): string[] => {
|
|
995
|
+
if (model.config?.model_type === "fse") {
|
|
996
|
+
return [
|
|
997
|
+
`pip install "fse>=2.0"`,
|
|
998
|
+
`from fse import Encoder
|
|
999
|
+
|
|
1000
|
+
encoder = Encoder.from_pretrained("${model.id}")
|
|
1001
|
+
vectors = encoder.encode(["A sentence.", "Another sentence."])`,
|
|
1002
|
+
];
|
|
1003
|
+
}
|
|
1004
|
+
return [
|
|
1005
|
+
`pip install "fse<2"`,
|
|
1006
|
+
`from fse import SIF, IndexedList, Vectors
|
|
1007
|
+
|
|
1008
|
+
vectors = Vectors.from_pretrained("${nameWithoutNamespace(model.id)}")
|
|
1009
|
+
model = SIF(vectors)
|
|
1010
|
+
sentences = IndexedList([["hello", "world"], ["fast", "sentence", "embeddings"]])
|
|
1011
|
+
model.train(sentences)
|
|
1012
|
+
vector = model.sv[0]`,
|
|
1013
|
+
];
|
|
1014
|
+
};
|
|
1015
|
+
|
|
908
1016
|
export const gaussianformer = (model: ModelData): string[] => [
|
|
909
1017
|
`# pip install "gaussianformer @ git+https://github.com/SVLwoof/gaussianformer"
|
|
910
1018
|
from gaussianformer import GaussianFormerRenderingPipeline, load_ply
|
|
@@ -1178,6 +1286,15 @@ import soundfile as sf
|
|
|
1178
1286
|
sf.write('output.wav', audio, 24000)`,
|
|
1179
1287
|
];
|
|
1180
1288
|
|
|
1289
|
+
export const konfai = (model: ModelData): string[] => [
|
|
1290
|
+
`pip install "konfai[imaging]" konfai-apps`,
|
|
1291
|
+
`# List the apps this repository holds
|
|
1292
|
+
konfai-apps list ${model.id}
|
|
1293
|
+
|
|
1294
|
+
# Run one of them on an image
|
|
1295
|
+
konfai-apps infer ${model.id}:<app> -i image.nii.gz -o Output`,
|
|
1296
|
+
];
|
|
1297
|
+
|
|
1181
1298
|
/**
|
|
1182
1299
|
* Detect LTX-2.5 (split weights + Gemma 4 TE file) vs LTX-2.3
|
|
1183
1300
|
* (monolith checkpoint + separate Gemma 3 root). Prefer explicit tags / ids /
|
|
@@ -1495,6 +1612,27 @@ model.score("query", ["doc1", "doc2", "doc3"])`,
|
|
|
1495
1612
|
];
|
|
1496
1613
|
};
|
|
1497
1614
|
|
|
1615
|
+
export const linnet_tts = (model: ModelData): string[] => [
|
|
1616
|
+
`# pip install linnet-tts soundfile
|
|
1617
|
+
import linnet_tts, soundfile as sf
|
|
1618
|
+
from huggingface_hub import hf_hub_download
|
|
1619
|
+
|
|
1620
|
+
model = linnet_tts.Model(
|
|
1621
|
+
hf_hub_download("${model.id}", "linnet-en-35m.fp16.safetensors"),
|
|
1622
|
+
hf_hub_download("${model.id}", "tokenizer.model"),
|
|
1623
|
+
)
|
|
1624
|
+
voice = model.load_voice(hf_hub_download("${model.id}", "voices/linnet-en-f1.npy"))
|
|
1625
|
+
|
|
1626
|
+
audio = model.synthesize("Hello there.", voice, temp=0.3, cfg=2.0, seed=0)
|
|
1627
|
+
sf.write("hello.wav", audio, model.sample_rate) # float32, 24 kHz
|
|
1628
|
+
|
|
1629
|
+
# streaming: one chunk per 80 ms step
|
|
1630
|
+
session = model.session(voice, seed=0)
|
|
1631
|
+
session.prime("Streaming gives the first chunk of audio after one step.")
|
|
1632
|
+
for chunk in session:
|
|
1633
|
+
...`,
|
|
1634
|
+
];
|
|
1635
|
+
|
|
1498
1636
|
export const llama_cpp_python = (model: ModelData): string[] => {
|
|
1499
1637
|
const snippets = [
|
|
1500
1638
|
`# !pip install llama-cpp-python
|
|
@@ -1731,6 +1869,22 @@ opendde doctor
|
|
|
1731
1869
|
opendde pred -i examples/input.json -o ./output -n opendde_v1`,
|
|
1732
1870
|
];
|
|
1733
1871
|
|
|
1872
|
+
export const opendecision = (model: ModelData): string[] => [
|
|
1873
|
+
`# pip install tokz-opendecision
|
|
1874
|
+
from opendecision import OpenDecision, Choice, Bool, MultiLabel
|
|
1875
|
+
|
|
1876
|
+
model = OpenDecision.from_pretrained("${model.id}")
|
|
1877
|
+
out = model.decide(
|
|
1878
|
+
"I was charged twice for my May invoice and the app keeps logging me out.",
|
|
1879
|
+
{
|
|
1880
|
+
"queue": Choice(["billing", "technical", "account", "sales"]),
|
|
1881
|
+
"tags": MultiLabel(["double_charge", "login_issue", "refund_request", "outage"]),
|
|
1882
|
+
"urgent": Bool(),
|
|
1883
|
+
},
|
|
1884
|
+
)
|
|
1885
|
+
print(out["queue"].best, out["tags"].selected, out["urgent"].policy)`,
|
|
1886
|
+
];
|
|
1887
|
+
|
|
1734
1888
|
export const paddlenlp = (model: ModelData): string[] => {
|
|
1735
1889
|
const architecture = model.config?.architectures?.[0];
|
|
1736
1890
|
// interpolated as a Python class name, so a non-identifier is treated as absent
|
|
@@ -2021,6 +2175,13 @@ export const timm = (model: ModelData): string[] => [
|
|
|
2021
2175
|
model = timm.create_model("hf-hub:${model.id}", pretrained=True)`,
|
|
2022
2176
|
];
|
|
2023
2177
|
|
|
2178
|
+
// create_model() takes a name from the torch-pointcloud registry; the weights live in "torch-pointcloud/<name>"
|
|
2179
|
+
export const torch_pointcloud = (model: ModelData): string[] => [
|
|
2180
|
+
`import torch_pointcloud as tp
|
|
2181
|
+
|
|
2182
|
+
model = tp.create_model("${nameWithoutNamespace(model.id)}", pretrained=True)`,
|
|
2183
|
+
];
|
|
2184
|
+
|
|
2024
2185
|
export const saelens = (/* model: ModelData */): string[] => [
|
|
2025
2186
|
`# pip install sae-lens
|
|
2026
2187
|
from sae_lens import SAE
|
package/src/model-libraries.ts
CHANGED
|
@@ -83,6 +83,15 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
83
83
|
filter: true,
|
|
84
84
|
countDownloads: `path:"adapter_config.json"`,
|
|
85
85
|
},
|
|
86
|
+
alkove: {
|
|
87
|
+
prettyLabel: "Alkove",
|
|
88
|
+
repoName: "Alkove",
|
|
89
|
+
repoUrl: "https://github.com/alkove-ai/alkove",
|
|
90
|
+
docsUrl: "https://alkove.ai/docs/",
|
|
91
|
+
snippets: snippets.alkove,
|
|
92
|
+
filter: false,
|
|
93
|
+
countDownloads: `path_extension:"alk"`,
|
|
94
|
+
},
|
|
86
95
|
allennlp: {
|
|
87
96
|
prettyLabel: "AllenNLP",
|
|
88
97
|
repoName: "AllenNLP",
|
|
@@ -120,7 +129,7 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
120
129
|
repoName: "Asimov",
|
|
121
130
|
repoUrl: "https://github.com/menloresearch/humanoid-policy-viewer",
|
|
122
131
|
snippets: snippets.asimov,
|
|
123
|
-
filter:
|
|
132
|
+
filter: true,
|
|
124
133
|
countDownloads: `path:"env.yaml"`,
|
|
125
134
|
},
|
|
126
135
|
"aviation-ner": {
|
|
@@ -163,6 +172,15 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
163
172
|
filter: false,
|
|
164
173
|
countDownloads: `path:"llm_config.json"`,
|
|
165
174
|
},
|
|
175
|
+
basedecision: {
|
|
176
|
+
prettyLabel: "BaseDecision",
|
|
177
|
+
repoName: "BaseDecision",
|
|
178
|
+
repoUrl: "https://github.com/hrudayaditya/BaseDecision",
|
|
179
|
+
docsUrl: "https://github.com/hrudayaditya/BaseDecision/blob/main/docs/API.md",
|
|
180
|
+
snippets: snippets.basedecision,
|
|
181
|
+
filter: false,
|
|
182
|
+
countDownloads: `path:"model.safetensors"`,
|
|
183
|
+
},
|
|
166
184
|
bboxmaskpose: {
|
|
167
185
|
prettyLabel: "BBoxMaskPose",
|
|
168
186
|
repoName: "BBoxMaskPose",
|
|
@@ -302,6 +320,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
302
320
|
repoUrl: "https://github.com/amazon-science/chronos-forecasting",
|
|
303
321
|
snippets: snippets.chronos_forecasting,
|
|
304
322
|
},
|
|
323
|
+
"circuit-tracer": {
|
|
324
|
+
prettyLabel: "circuit-tracer",
|
|
325
|
+
repoName: "circuit-tracer",
|
|
326
|
+
repoUrl: "https://github.com/decoderesearch/circuit-tracer",
|
|
327
|
+
filter: false,
|
|
328
|
+
countDownloads: `path_filename:"config" AND path_extension:"yaml"`,
|
|
329
|
+
},
|
|
305
330
|
clara: {
|
|
306
331
|
prettyLabel: "Clara",
|
|
307
332
|
repoName: "Clara",
|
|
@@ -425,6 +450,15 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
425
450
|
snippets: snippets.describe_anything,
|
|
426
451
|
filter: false,
|
|
427
452
|
},
|
|
453
|
+
dewml: {
|
|
454
|
+
prettyLabel: "Dew",
|
|
455
|
+
repoName: "Dew",
|
|
456
|
+
repoUrl: "https://github.com/AshishKumar4/dew",
|
|
457
|
+
docsUrl: "https://dewml.dev",
|
|
458
|
+
snippets: snippets.dew,
|
|
459
|
+
filter: false,
|
|
460
|
+
countDownloads: `path:"run.json"`,
|
|
461
|
+
},
|
|
428
462
|
"dia-tts": {
|
|
429
463
|
prettyLabel: "Dia",
|
|
430
464
|
repoName: "Dia",
|
|
@@ -540,6 +574,14 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
540
574
|
filter: false,
|
|
541
575
|
countDownloads: `path_extension:"pt"`,
|
|
542
576
|
},
|
|
577
|
+
"fahr-face": {
|
|
578
|
+
prettyLabel: "FAHR-Face",
|
|
579
|
+
repoName: "FAHR-Face",
|
|
580
|
+
repoUrl: "https://github.com/AIM-Harvard/FAHR-Face",
|
|
581
|
+
docsUrl: "https://huggingface.co/fridolin22/FAHR-Face",
|
|
582
|
+
filter: false,
|
|
583
|
+
countDownloads: `path:"fahr_face.pth" OR path:"fahr_faceage.pth"`,
|
|
584
|
+
},
|
|
543
585
|
fairseq: {
|
|
544
586
|
prettyLabel: "Fairseq",
|
|
545
587
|
repoName: "fairseq",
|
|
@@ -608,6 +650,14 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
608
650
|
filter: false,
|
|
609
651
|
countDownloads: `path_extension:"tar"`,
|
|
610
652
|
},
|
|
653
|
+
fse: {
|
|
654
|
+
prettyLabel: "fse",
|
|
655
|
+
repoName: "fse",
|
|
656
|
+
repoUrl: "https://github.com/oborchers/Fast_Sentence_Embeddings",
|
|
657
|
+
snippets: snippets.fse,
|
|
658
|
+
filter: false,
|
|
659
|
+
countDownloads: `path:"config.json" OR path_extension:"model"`,
|
|
660
|
+
},
|
|
611
661
|
gaussianformer: {
|
|
612
662
|
prettyLabel: "GaussianFormer",
|
|
613
663
|
repoName: "GaussianFormer",
|
|
@@ -658,6 +708,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
658
708
|
filter: false,
|
|
659
709
|
countDownloads: `path:"flow/flow.pt"`,
|
|
660
710
|
},
|
|
711
|
+
glyd: {
|
|
712
|
+
prettyLabel: "Glyd",
|
|
713
|
+
repoName: "Glyd",
|
|
714
|
+
repoUrl: "https://github.com/surya-koritala/Glyd",
|
|
715
|
+
docsUrl: "https://getglyd.com",
|
|
716
|
+
filter: false,
|
|
717
|
+
},
|
|
661
718
|
"glyph-byt5": {
|
|
662
719
|
prettyLabel: "Glyph-ByT5",
|
|
663
720
|
repoName: "Glyph-ByT5",
|
|
@@ -878,6 +935,15 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
878
935
|
repoUrl: "https://github.com/KittenML/KittenTTS",
|
|
879
936
|
snippets: snippets.kittentts,
|
|
880
937
|
},
|
|
938
|
+
konfai: {
|
|
939
|
+
prettyLabel: "KonfAI",
|
|
940
|
+
repoName: "KonfAI",
|
|
941
|
+
repoUrl: "https://github.com/fideus-labs/KonfAI",
|
|
942
|
+
docsUrl: "https://konfai.readthedocs.io/en/latest/usage/apps.html",
|
|
943
|
+
snippets: snippets.konfai,
|
|
944
|
+
filter: false,
|
|
945
|
+
countDownloads: `path_filename:"app" AND path_extension:"json"`,
|
|
946
|
+
},
|
|
881
947
|
kronos: {
|
|
882
948
|
prettyLabel: "KRONOS",
|
|
883
949
|
repoName: "KRONOS",
|
|
@@ -949,6 +1015,14 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
949
1015
|
filter: false,
|
|
950
1016
|
snippets: snippets.lerobot,
|
|
951
1017
|
},
|
|
1018
|
+
libreyolo: {
|
|
1019
|
+
prettyLabel: "LibreYOLO",
|
|
1020
|
+
repoName: "LibreYOLO",
|
|
1021
|
+
repoUrl: "https://github.com/LibreYOLO/libreyolo",
|
|
1022
|
+
docsUrl: "https://www.libreyolo.com/docs",
|
|
1023
|
+
filter: false,
|
|
1024
|
+
countDownloads: `path_extension:"pt" OR path_extension:"pth" OR path_extension:"ckpt" OR path_extension:"onnx" OR path:"config.json"`,
|
|
1025
|
+
},
|
|
952
1026
|
lightglue: {
|
|
953
1027
|
prettyLabel: "LightGlue",
|
|
954
1028
|
repoName: "LightGlue",
|
|
@@ -963,6 +1037,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
963
1037
|
filter: false,
|
|
964
1038
|
countDownloads: `(path_filename:"params" AND path_extension:"yaml") OR (path_filename:"controllers" AND path_extension:"yaml") OR (path_filename:"norm_stats" AND path_extension:"json")`,
|
|
965
1039
|
},
|
|
1040
|
+
"lingbot-map": {
|
|
1041
|
+
prettyLabel: "LingBot-Map",
|
|
1042
|
+
repoName: "lingbot-map",
|
|
1043
|
+
repoUrl: "https://github.com/Robbyant/lingbot-map",
|
|
1044
|
+
filter: false,
|
|
1045
|
+
countDownloads: `path_extension:"pt"`,
|
|
1046
|
+
},
|
|
966
1047
|
liveportrait: {
|
|
967
1048
|
prettyLabel: "LivePortrait",
|
|
968
1049
|
repoName: "LivePortrait",
|
|
@@ -976,6 +1057,14 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
976
1057
|
repoUrl: "https://github.com/meituan-longcat/LongCat-Video",
|
|
977
1058
|
filter: false,
|
|
978
1059
|
},
|
|
1060
|
+
"linnet-tts": {
|
|
1061
|
+
prettyLabel: "LinnetTTS",
|
|
1062
|
+
repoName: "LinnetTTS",
|
|
1063
|
+
repoUrl: "https://github.com/VoxRT/LinnetTTS",
|
|
1064
|
+
snippets: snippets.linnet_tts,
|
|
1065
|
+
filter: false,
|
|
1066
|
+
countDownloads: `path:"linnet-en-35m.fp16.safetensors"`,
|
|
1067
|
+
},
|
|
979
1068
|
"llama-cpp-python": {
|
|
980
1069
|
prettyLabel: "llama-cpp-python",
|
|
981
1070
|
repoName: "llama-cpp-python",
|
|
@@ -1083,12 +1172,28 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1083
1172
|
filter: true,
|
|
1084
1173
|
countDownloads: `path_extension:"onnx"`,
|
|
1085
1174
|
},
|
|
1175
|
+
"minicpm-ocr": {
|
|
1176
|
+
prettyLabel: "MiniCPM-OCR",
|
|
1177
|
+
repoName: "MiniCPM-OCR",
|
|
1178
|
+
repoUrl: "https://github.com/OpenBMB/MiniCPM-OCR",
|
|
1179
|
+
docsUrl: "https://github.com/OpenBMB/MiniCPM-OCR/blob/main/docs/minicpm_ocr_sdk_api_en.md",
|
|
1180
|
+
snippets: snippets.minicpmOcr,
|
|
1181
|
+
filter: false,
|
|
1182
|
+
},
|
|
1086
1183
|
mitie: {
|
|
1087
1184
|
prettyLabel: "MITIE",
|
|
1088
1185
|
repoName: "MITIE",
|
|
1089
1186
|
repoUrl: "https://github.com/mit-nlp/MITIE",
|
|
1090
1187
|
countDownloads: `path_filename:"total_word_feature_extractor"`,
|
|
1091
1188
|
},
|
|
1189
|
+
mjlab: {
|
|
1190
|
+
prettyLabel: "MJLab",
|
|
1191
|
+
repoName: "MJLab",
|
|
1192
|
+
repoUrl: "https://github.com/mujocolab/mjlab",
|
|
1193
|
+
docsUrl: "https://mujocolab.github.io/mjlab/",
|
|
1194
|
+
filter: false,
|
|
1195
|
+
countDownloads: `path:"policy.onnx" OR path:"final.onnx"`,
|
|
1196
|
+
},
|
|
1092
1197
|
"ml-agents": {
|
|
1093
1198
|
prettyLabel: "ml-agents",
|
|
1094
1199
|
repoName: "ml-agents",
|
|
@@ -1240,6 +1345,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1240
1345
|
filter: false,
|
|
1241
1346
|
countDownloads: `path_extension:"pt"`,
|
|
1242
1347
|
},
|
|
1348
|
+
opendecision: {
|
|
1349
|
+
prettyLabel: "OpenDecision",
|
|
1350
|
+
repoName: "OpenDecision",
|
|
1351
|
+
repoUrl: "https://github.com/tokz-labs/OpenDecision",
|
|
1352
|
+
snippets: snippets.opendecision,
|
|
1353
|
+
filter: false,
|
|
1354
|
+
},
|
|
1243
1355
|
openpeerllm: {
|
|
1244
1356
|
prettyLabel: "OpenPeerLLM",
|
|
1245
1357
|
repoName: "OpenPeerLLM",
|
|
@@ -1322,6 +1434,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1322
1434
|
filter: false,
|
|
1323
1435
|
countDownloads: `path_extension:"onnx" OR path_extension:"ckpt"`,
|
|
1324
1436
|
},
|
|
1437
|
+
pixeldense: {
|
|
1438
|
+
prettyLabel: "PixelDense",
|
|
1439
|
+
repoName: "PixelDense",
|
|
1440
|
+
repoUrl: "https://github.com/Hansxsourse/PixelDense",
|
|
1441
|
+
filter: false,
|
|
1442
|
+
countDownloads: `path:"PixelDense_XXL_T2I.ckpt"`,
|
|
1443
|
+
},
|
|
1325
1444
|
"pocket-tts": {
|
|
1326
1445
|
prettyLabel: "Pocket-TTS",
|
|
1327
1446
|
repoName: "PocketTTS",
|
|
@@ -1330,6 +1449,21 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1330
1449
|
filter: false,
|
|
1331
1450
|
countDownloads: `path:"tts_b6369a24.safetensors"`,
|
|
1332
1451
|
},
|
|
1452
|
+
pqgan: {
|
|
1453
|
+
prettyLabel: "PQGAN",
|
|
1454
|
+
repoName: "PQGAN",
|
|
1455
|
+
repoUrl: "https://github.com/vislearn/PQGAN",
|
|
1456
|
+
filter: false,
|
|
1457
|
+
countDownloads: `path_extension:"safetensors"`,
|
|
1458
|
+
},
|
|
1459
|
+
protomotions: {
|
|
1460
|
+
prettyLabel: "ProtoMotions",
|
|
1461
|
+
repoName: "ProtoMotions",
|
|
1462
|
+
repoUrl: "https://github.com/NVlabs/ProtoMotions",
|
|
1463
|
+
docsUrl: "https://nvlabs.github.io/ProtoMotions/",
|
|
1464
|
+
filter: false,
|
|
1465
|
+
countDownloads: `path_extension:"onnx" OR ((path_filename:"inference_last" OR path_filename:"inference" OR path_filename:"last") AND path_extension:"ckpt")`,
|
|
1466
|
+
},
|
|
1333
1467
|
"pruna-ai": {
|
|
1334
1468
|
prettyLabel: "Pruna AI",
|
|
1335
1469
|
repoName: "Pruna AI",
|
|
@@ -1700,6 +1834,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1700
1834
|
snippets: snippets.supertonic,
|
|
1701
1835
|
filter: false,
|
|
1702
1836
|
},
|
|
1837
|
+
svdtrunc: {
|
|
1838
|
+
prettyLabel: "SVDtrunc",
|
|
1839
|
+
repoName: "SVDtrunc",
|
|
1840
|
+
repoUrl: "https://github.com/vislearn/SVDtrunc",
|
|
1841
|
+
filter: false,
|
|
1842
|
+
countDownloads: `path_extension:"safetensors"`,
|
|
1843
|
+
},
|
|
1703
1844
|
swarmformer: {
|
|
1704
1845
|
prettyLabel: "SwarmFormer",
|
|
1705
1846
|
repoName: "SwarmFormer",
|
|
@@ -1811,6 +1952,15 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1811
1952
|
filter: false,
|
|
1812
1953
|
countDownloads: `path_extension:"pt" OR path_extension:"pth"`,
|
|
1813
1954
|
},
|
|
1955
|
+
"torch-pointcloud": {
|
|
1956
|
+
prettyLabel: "torch-pointcloud",
|
|
1957
|
+
repoName: "torch-pointcloud",
|
|
1958
|
+
repoUrl: "https://github.com/arthurdjn/pytorch-pointcloud",
|
|
1959
|
+
docsUrl: "https://pytorch-pointcloud.org/",
|
|
1960
|
+
snippets: snippets.torch_pointcloud,
|
|
1961
|
+
filter: false,
|
|
1962
|
+
countDownloads: `path:"model.safetensors"`,
|
|
1963
|
+
},
|
|
1814
1964
|
transformers: {
|
|
1815
1965
|
prettyLabel: "Transformers",
|
|
1816
1966
|
repoName: "🤗/transformers",
|
|
@@ -1977,6 +2127,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1977
2127
|
snippets: snippets.whisperkit,
|
|
1978
2128
|
countDownloads: `path_filename:"model" AND path_extension:"mil" AND _exists_:"path_prefix"`,
|
|
1979
2129
|
},
|
|
2130
|
+
wilddet3d: {
|
|
2131
|
+
prettyLabel: "WildDet3D",
|
|
2132
|
+
repoName: "WildDet3D",
|
|
2133
|
+
repoUrl: "https://github.com/allenai/WildDet3D",
|
|
2134
|
+
filter: false,
|
|
2135
|
+
countDownloads: `path_extension:"pt"`,
|
|
2136
|
+
},
|
|
1980
2137
|
yolov10: {
|
|
1981
2138
|
// YOLOv10 is a fork of ultraLytics. Code snippets and download count are the same but the repo is different.
|
|
1982
2139
|
prettyLabel: "YOLOv10",
|
|
@@ -1993,6 +2150,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1993
2150
|
docsUrl: "https://docs.ultralytics.com/models/yolo26/",
|
|
1994
2151
|
countDownloads: `path_extension:"pt" OR path_extension:"safetensors"`,
|
|
1995
2152
|
},
|
|
2153
|
+
zipsplat: {
|
|
2154
|
+
prettyLabel: "ZipSplat",
|
|
2155
|
+
repoName: "ZipSplat",
|
|
2156
|
+
repoUrl: "https://github.com/cvg/ZipSplat",
|
|
2157
|
+
filter: false,
|
|
2158
|
+
countDownloads: `path_extension:"tar"`,
|
|
2159
|
+
},
|
|
1996
2160
|
zonos: {
|
|
1997
2161
|
prettyLabel: "Zonos",
|
|
1998
2162
|
repoName: "Zonos",
|