@huggingface/tasks 0.11.7 → 0.11.9
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 +159 -31
- package/dist/index.js +159 -31
- package/dist/src/local-apps.d.ts +22 -1
- package/dist/src/local-apps.d.ts.map +1 -1
- package/dist/src/model-libraries-snippets.d.ts +2 -0
- package/dist/src/model-libraries-snippets.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 +8 -2
- package/dist/src/pipelines.d.ts.map +1 -1
- package/dist/src/tasks/feature-extraction/data.d.ts.map +1 -1
- package/dist/src/tasks/image-feature-extraction/data.d.ts.map +1 -1
- package/dist/src/tasks/index.d.ts.map +1 -1
- package/dist/src/tasks/text-generation/data.d.ts.map +1 -1
- package/package.json +4 -1
- package/src/local-apps.ts +45 -1
- package/src/model-libraries-snippets.ts +47 -0
- package/src/model-libraries.ts +22 -0
- package/src/pipelines.ts +6 -0
- package/src/tasks/feature-extraction/data.ts +5 -1
- package/src/tasks/image-feature-extraction/data.ts +7 -3
- package/src/tasks/image-segmentation/data.ts +4 -4
- package/src/tasks/image-text-to-text/about.md +2 -0
- package/src/tasks/image-text-to-text/data.ts +1 -1
- package/src/tasks/image-to-image/data.ts +2 -2
- package/src/tasks/index.ts +2 -0
- package/src/tasks/mask-generation/data.ts +4 -4
- package/src/tasks/text-generation/data.ts +16 -12
- package/src/tasks/text-to-image/data.ts +3 -3
package/dist/index.js
CHANGED
|
@@ -1350,6 +1350,12 @@ var PIPELINE_DATA = {
|
|
|
1350
1350
|
modality: "cv",
|
|
1351
1351
|
color: "indigo"
|
|
1352
1352
|
},
|
|
1353
|
+
"video-text-to-text": {
|
|
1354
|
+
name: "Video-Text-to-Text",
|
|
1355
|
+
modality: "multimodal",
|
|
1356
|
+
color: "blue",
|
|
1357
|
+
hideInDatasets: true
|
|
1358
|
+
},
|
|
1353
1359
|
other: {
|
|
1354
1360
|
name: "Other",
|
|
1355
1361
|
modality: "other",
|
|
@@ -1693,8 +1699,12 @@ var taskData5 = {
|
|
|
1693
1699
|
],
|
|
1694
1700
|
spaces: [
|
|
1695
1701
|
{
|
|
1696
|
-
description: "A leaderboard to rank
|
|
1702
|
+
description: "A leaderboard to rank text feature extraction models based on a benchmark.",
|
|
1697
1703
|
id: "mteb/leaderboard"
|
|
1704
|
+
},
|
|
1705
|
+
{
|
|
1706
|
+
description: "A leaderboard to rank best feature extraction models based on human feedback.",
|
|
1707
|
+
id: "mteb/arena"
|
|
1698
1708
|
}
|
|
1699
1709
|
],
|
|
1700
1710
|
summary: "Feature extraction is the task of extracting features learnt in a model.",
|
|
@@ -1899,15 +1909,19 @@ var taskData8 = {
|
|
|
1899
1909
|
},
|
|
1900
1910
|
{
|
|
1901
1911
|
description: "A strong image feature extraction model.",
|
|
1902
|
-
id: "
|
|
1912
|
+
id: "nvidia/MambaVision-T-1K"
|
|
1903
1913
|
},
|
|
1904
1914
|
{
|
|
1905
|
-
description: "A robust image feature extraction
|
|
1915
|
+
description: "A robust image feature extraction model.",
|
|
1906
1916
|
id: "facebook/dino-vitb16"
|
|
1907
1917
|
},
|
|
1908
1918
|
{
|
|
1909
|
-
description: "Strong image
|
|
1919
|
+
description: "Strong image feature extraction model made for information retrieval from documents.",
|
|
1910
1920
|
id: "vidore/colpali"
|
|
1921
|
+
},
|
|
1922
|
+
{
|
|
1923
|
+
description: "Strong image feature extraction model that can be used on images and documents.",
|
|
1924
|
+
id: "OpenGVLab/InternViT-6B-448px-V1-2"
|
|
1911
1925
|
}
|
|
1912
1926
|
],
|
|
1913
1927
|
spaces: [],
|
|
@@ -1959,8 +1973,8 @@ var taskData9 = {
|
|
|
1959
1973
|
],
|
|
1960
1974
|
models: [
|
|
1961
1975
|
{
|
|
1962
|
-
description: "
|
|
1963
|
-
id: "
|
|
1976
|
+
description: "An image-to-image model to improve image resolution.",
|
|
1977
|
+
id: "fal/AuraSR-v2"
|
|
1964
1978
|
},
|
|
1965
1979
|
{
|
|
1966
1980
|
description: "A model that increases the resolution of an image.",
|
|
@@ -2178,7 +2192,7 @@ var taskData11 = {
|
|
|
2178
2192
|
],
|
|
2179
2193
|
summary: "Image-text-to-text models take in an image and text prompt and output text. These models are also called vision-language models, or VLMs. The difference from image-to-text models is that these models take an additional text input, not restricting the model to certain use cases like image captioning, and may also be trained to accept a conversation as input.",
|
|
2180
2194
|
widgetModels: ["microsoft/kosmos-2-patch14-224"],
|
|
2181
|
-
youtubeId: ""
|
|
2195
|
+
youtubeId: "IoGaGfU1CIg"
|
|
2182
2196
|
};
|
|
2183
2197
|
var data_default11 = taskData11;
|
|
2184
2198
|
|
|
@@ -2229,16 +2243,16 @@ var taskData12 = {
|
|
|
2229
2243
|
id: "facebook/detr-resnet-50-panoptic"
|
|
2230
2244
|
},
|
|
2231
2245
|
{
|
|
2232
|
-
description: "
|
|
2233
|
-
id: "
|
|
2246
|
+
description: "Background removal model.",
|
|
2247
|
+
id: "briaai/RMBG-1.4"
|
|
2234
2248
|
},
|
|
2235
2249
|
{
|
|
2236
2250
|
description: "Semantic segmentation model trained on ADE20k benchmark dataset with 512x512 resolution.",
|
|
2237
2251
|
id: "nvidia/segformer-b0-finetuned-ade-512-512"
|
|
2238
2252
|
},
|
|
2239
2253
|
{
|
|
2240
|
-
description: "
|
|
2241
|
-
id: "
|
|
2254
|
+
description: "A multipurpose image segmentation model for high resolution images.",
|
|
2255
|
+
id: "ZhengPeng7/BiRefNet"
|
|
2242
2256
|
},
|
|
2243
2257
|
{
|
|
2244
2258
|
description: "Panoptic segmentation model trained COCO (common objects) dataset.",
|
|
@@ -2302,13 +2316,13 @@ var taskData13 = {
|
|
|
2302
2316
|
},
|
|
2303
2317
|
{
|
|
2304
2318
|
description: "Very strong mask generation model.",
|
|
2305
|
-
id: "facebook/
|
|
2319
|
+
id: "facebook/sam2-hiera-large"
|
|
2306
2320
|
}
|
|
2307
2321
|
],
|
|
2308
2322
|
spaces: [
|
|
2309
2323
|
{
|
|
2310
|
-
description: "An application that combines a mask generation model with
|
|
2311
|
-
id: "
|
|
2324
|
+
description: "An application that combines a mask generation model with a zero-shot object detection model for text-guided image segmentation.",
|
|
2325
|
+
id: "merve/OWLSAM2"
|
|
2312
2326
|
},
|
|
2313
2327
|
{
|
|
2314
2328
|
description: "An application that compares the performance of a large and a small mask generation model.",
|
|
@@ -2316,7 +2330,7 @@ var taskData13 = {
|
|
|
2316
2330
|
},
|
|
2317
2331
|
{
|
|
2318
2332
|
description: "An application based on an improved mask generation model.",
|
|
2319
|
-
id: "
|
|
2333
|
+
id: "SkalskiP/segment-anything-model-2"
|
|
2320
2334
|
},
|
|
2321
2335
|
{
|
|
2322
2336
|
description: "An application to remove objects from videos using mask generation models.",
|
|
@@ -3012,15 +3026,15 @@ var taskData24 = {
|
|
|
3012
3026
|
models: [
|
|
3013
3027
|
{
|
|
3014
3028
|
description: "One of the most powerful image generation models that can generate realistic outputs.",
|
|
3015
|
-
id: "
|
|
3029
|
+
id: "black-forest-labs/FLUX.1-dev"
|
|
3016
3030
|
},
|
|
3017
3031
|
{
|
|
3018
3032
|
description: "A powerful yet fast image generation model.",
|
|
3019
3033
|
id: "latent-consistency/lcm-lora-sdxl"
|
|
3020
3034
|
},
|
|
3021
3035
|
{
|
|
3022
|
-
description: "
|
|
3023
|
-
id: "
|
|
3036
|
+
description: "Text-to-image model for photorealistic generation.",
|
|
3037
|
+
id: "Kwai-Kolors/Kolors"
|
|
3024
3038
|
},
|
|
3025
3039
|
{
|
|
3026
3040
|
description: "A powerful text-to-image model.",
|
|
@@ -3381,6 +3395,10 @@ var taskData29 = {
|
|
|
3381
3395
|
{
|
|
3382
3396
|
description: "An instruction dataset with preference ratings on responses.",
|
|
3383
3397
|
id: "openbmb/UltraFeedback"
|
|
3398
|
+
},
|
|
3399
|
+
{
|
|
3400
|
+
description: "A large synthetic dataset for alignment of text generation models.",
|
|
3401
|
+
id: "argilla/magpie-ultra-v0.1"
|
|
3384
3402
|
}
|
|
3385
3403
|
],
|
|
3386
3404
|
demo: {
|
|
@@ -3411,32 +3429,32 @@ var taskData29 = {
|
|
|
3411
3429
|
],
|
|
3412
3430
|
models: [
|
|
3413
3431
|
{
|
|
3414
|
-
description: "A
|
|
3415
|
-
id: "
|
|
3432
|
+
description: "A text-generation model trained to follow instructions.",
|
|
3433
|
+
id: "google/gemma-2-2b-it"
|
|
3416
3434
|
},
|
|
3417
3435
|
{
|
|
3418
|
-
description: "A
|
|
3436
|
+
description: "A code generation model that can generate code in 80+ languages.",
|
|
3419
3437
|
id: "bigcode/starcoder"
|
|
3420
3438
|
},
|
|
3421
3439
|
{
|
|
3422
|
-
description: "
|
|
3423
|
-
id: "
|
|
3440
|
+
description: "Very powerful text generation model trained to follow instructions.",
|
|
3441
|
+
id: "meta-llama/Meta-Llama-3.1-8B-Instruct"
|
|
3424
3442
|
},
|
|
3425
3443
|
{
|
|
3426
3444
|
description: "Small yet powerful text generation model.",
|
|
3427
|
-
id: "microsoft/
|
|
3445
|
+
id: "microsoft/Phi-3-mini-4k-instruct"
|
|
3428
3446
|
},
|
|
3429
3447
|
{
|
|
3430
|
-
description: "A very powerful model that can
|
|
3431
|
-
id: "
|
|
3448
|
+
description: "A very powerful model that can solve mathematical problems.",
|
|
3449
|
+
id: "AI-MO/NuminaMath-7B-TIR"
|
|
3432
3450
|
},
|
|
3433
3451
|
{
|
|
3434
|
-
description: "
|
|
3435
|
-
id: "HuggingFaceH4/
|
|
3452
|
+
description: "Strong coding assistant model.",
|
|
3453
|
+
id: "HuggingFaceH4/starchat2-15b-v0.1"
|
|
3436
3454
|
},
|
|
3437
3455
|
{
|
|
3438
3456
|
description: "Very strong open-source large language model.",
|
|
3439
|
-
id: "
|
|
3457
|
+
id: "mistralai/Mistral-Nemo-Instruct-2407"
|
|
3440
3458
|
}
|
|
3441
3459
|
],
|
|
3442
3460
|
spaces: [
|
|
@@ -3463,7 +3481,7 @@ var taskData29 = {
|
|
|
3463
3481
|
],
|
|
3464
3482
|
summary: "Generating text is the task of generating new text given another text. These models can, for example, fill in incomplete text or paraphrase.",
|
|
3465
3483
|
widgetModels: ["HuggingFaceH4/zephyr-7b-beta"],
|
|
3466
|
-
youtubeId: "
|
|
3484
|
+
youtubeId: "e9gNEAlsOvU"
|
|
3467
3485
|
};
|
|
3468
3486
|
var data_default29 = taskData29;
|
|
3469
3487
|
|
|
@@ -4188,6 +4206,7 @@ var TASKS_MODEL_LIBRARIES = {
|
|
|
4188
4206
|
],
|
|
4189
4207
|
translation: ["transformers", "transformers.js"],
|
|
4190
4208
|
"unconditional-image-generation": ["diffusers"],
|
|
4209
|
+
"video-text-to-text": ["transformers"],
|
|
4191
4210
|
"visual-question-answering": ["transformers", "transformers.js"],
|
|
4192
4211
|
"voice-activity-detection": [],
|
|
4193
4212
|
"zero-shot-classification": ["transformers", "transformers.js"],
|
|
@@ -4247,6 +4266,7 @@ var TASKS_DATA = {
|
|
|
4247
4266
|
"token-classification": getData("token-classification", data_default26),
|
|
4248
4267
|
translation: getData("translation", data_default27),
|
|
4249
4268
|
"unconditional-image-generation": getData("unconditional-image-generation", data_default31),
|
|
4269
|
+
"video-text-to-text": getData("video-text-to-text", data_default16),
|
|
4250
4270
|
"visual-question-answering": getData("visual-question-answering", data_default33),
|
|
4251
4271
|
"voice-activity-detection": void 0,
|
|
4252
4272
|
"zero-shot-classification": getData("zero-shot-classification", data_default34),
|
|
@@ -4484,6 +4504,23 @@ tokenizer = keras_nlp.models.Tokenizer.from_preset("hf://${model.id}")
|
|
|
4484
4504
|
backbone = keras_nlp.models.Backbone.from_preset("hf://${model.id}")
|
|
4485
4505
|
`
|
|
4486
4506
|
];
|
|
4507
|
+
var llama_cpp_python = (model) => [
|
|
4508
|
+
`from llama_cpp import Llama
|
|
4509
|
+
|
|
4510
|
+
llm = Llama.from_pretrained(
|
|
4511
|
+
repo_id="${model.id}",
|
|
4512
|
+
filename="{{GGUF_FILE}}",
|
|
4513
|
+
)
|
|
4514
|
+
|
|
4515
|
+
llm.create_chat_completion(
|
|
4516
|
+
messages = [
|
|
4517
|
+
{
|
|
4518
|
+
"role": "user",
|
|
4519
|
+
"content": "What is the capital of France?"
|
|
4520
|
+
}
|
|
4521
|
+
]
|
|
4522
|
+
)`
|
|
4523
|
+
];
|
|
4487
4524
|
var tf_keras = (model) => [
|
|
4488
4525
|
`# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy)
|
|
4489
4526
|
# See https://github.com/keras-team/tf-keras for more details.
|
|
@@ -4709,6 +4746,33 @@ var fastai = (model) => [
|
|
|
4709
4746
|
|
|
4710
4747
|
learn = from_pretrained_fastai("${model.id}")`
|
|
4711
4748
|
];
|
|
4749
|
+
var sam2 = (model) => {
|
|
4750
|
+
const image_predictor = `# Use SAM2 with images
|
|
4751
|
+
import torch
|
|
4752
|
+
from sam2.sam2_image_predictor import SAM2ImagePredictor
|
|
4753
|
+
|
|
4754
|
+
predictor = SAM2ImagePredictor.from_pretrained(${model.id})
|
|
4755
|
+
|
|
4756
|
+
with torch.inference_mode(), torch.autocast("cuda", dtype=torch.bfloat16):
|
|
4757
|
+
predictor.set_image(<your_image>)
|
|
4758
|
+
masks, _, _ = predictor.predict(<input_prompts>)`;
|
|
4759
|
+
const video_predictor = `# Use SAM2 with videos
|
|
4760
|
+
import torch
|
|
4761
|
+
from sam2.sam2_video_predictor import SAM2VideoPredictor
|
|
4762
|
+
|
|
4763
|
+
predictor = SAM2VideoPredictor.from_pretrained(${model.id})
|
|
4764
|
+
|
|
4765
|
+
with torch.inference_mode(), torch.autocast("cuda", dtype=torch.bfloat16):
|
|
4766
|
+
state = predictor.init_state(<your_video>)
|
|
4767
|
+
|
|
4768
|
+
# add new prompts and instantly get the output on the same frame
|
|
4769
|
+
frame_idx, object_ids, masks = predictor.add_new_points(state, <your_prompts>):
|
|
4770
|
+
|
|
4771
|
+
# propagate the prompts to get masklets throughout the video
|
|
4772
|
+
for frame_idx, object_ids, masks in predictor.propagate_in_video(state):
|
|
4773
|
+
...`;
|
|
4774
|
+
return [image_predictor, video_predictor];
|
|
4775
|
+
};
|
|
4712
4776
|
var sampleFactory = (model) => [
|
|
4713
4777
|
`python -m sample_factory.huggingface.load_from_hub -r ${model.id} -d ./train_dir`
|
|
4714
4778
|
];
|
|
@@ -5254,6 +5318,12 @@ var MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
5254
5318
|
filter: false,
|
|
5255
5319
|
countDownloads: `path:"liveportrait/landmark.onnx"`
|
|
5256
5320
|
},
|
|
5321
|
+
"llama-cpp-python": {
|
|
5322
|
+
prettyLabel: "llama-cpp-python",
|
|
5323
|
+
repoName: "llama-cpp-python",
|
|
5324
|
+
repoUrl: "https://github.com/abetlen/llama-cpp-python",
|
|
5325
|
+
snippets: llama_cpp_python
|
|
5326
|
+
},
|
|
5257
5327
|
mindspore: {
|
|
5258
5328
|
prettyLabel: "MindSpore",
|
|
5259
5329
|
repoName: "mindspore",
|
|
@@ -5369,6 +5439,14 @@ var MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
5369
5439
|
filter: false,
|
|
5370
5440
|
countDownloads: `path:"tokenizer.model"`
|
|
5371
5441
|
},
|
|
5442
|
+
refiners: {
|
|
5443
|
+
prettyLabel: "Refiners",
|
|
5444
|
+
repoName: "Refiners",
|
|
5445
|
+
repoUrl: "https://github.com/finegrain-ai/refiners",
|
|
5446
|
+
docsUrl: "https://refine.rs/",
|
|
5447
|
+
filter: false,
|
|
5448
|
+
countDownloads: `path:"model.safetensors"`
|
|
5449
|
+
},
|
|
5372
5450
|
saelens: {
|
|
5373
5451
|
prettyLabel: "SAELens",
|
|
5374
5452
|
repoName: "SAELens",
|
|
@@ -5376,6 +5454,14 @@ var MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
5376
5454
|
snippets: saelens,
|
|
5377
5455
|
filter: false
|
|
5378
5456
|
},
|
|
5457
|
+
sam2: {
|
|
5458
|
+
prettyLabel: "sam2",
|
|
5459
|
+
repoName: "sam2",
|
|
5460
|
+
repoUrl: "https://github.com/facebookresearch/segment-anything-2",
|
|
5461
|
+
filter: false,
|
|
5462
|
+
snippets: sam2,
|
|
5463
|
+
countDownloads: `path_extension:"pt"`
|
|
5464
|
+
},
|
|
5379
5465
|
"sample-factory": {
|
|
5380
5466
|
prettyLabel: "sample-factory",
|
|
5381
5467
|
repoName: "sample-factory",
|
|
@@ -6517,6 +6603,27 @@ var snippetLlamacpp = (model, filepath) => {
|
|
|
6517
6603
|
}
|
|
6518
6604
|
];
|
|
6519
6605
|
};
|
|
6606
|
+
var snippetLocalAI = (model, filepath) => {
|
|
6607
|
+
const command = (binary) => ["# Load and run the model:", `${binary} huggingface://${model.id}/${filepath ?? "{{GGUF_FILE}}"}`].join("\n");
|
|
6608
|
+
return [
|
|
6609
|
+
{
|
|
6610
|
+
title: "Install from binary",
|
|
6611
|
+
setup: "curl https://localai.io/install.sh | sh",
|
|
6612
|
+
content: command("local-ai run")
|
|
6613
|
+
},
|
|
6614
|
+
{
|
|
6615
|
+
title: "Use Docker images",
|
|
6616
|
+
setup: [
|
|
6617
|
+
// prettier-ignore
|
|
6618
|
+
"# Pull the image:",
|
|
6619
|
+
"docker pull localai/localai:latest-cpu"
|
|
6620
|
+
].join("\n"),
|
|
6621
|
+
content: command(
|
|
6622
|
+
"docker run -p 8080:8080 --name localai -v $PWD/models:/build/models localai/localai:latest-cpu"
|
|
6623
|
+
)
|
|
6624
|
+
}
|
|
6625
|
+
];
|
|
6626
|
+
};
|
|
6520
6627
|
var LOCAL_APPS = {
|
|
6521
6628
|
"llama.cpp": {
|
|
6522
6629
|
prettyLabel: "llama.cpp",
|
|
@@ -6532,6 +6639,13 @@ var LOCAL_APPS = {
|
|
|
6532
6639
|
displayOnModelPage: isGgufModel,
|
|
6533
6640
|
deeplink: (model, filepath) => new URL(`lmstudio://open_from_hf?model=${model.id}${filepath ? `&file=${filepath}` : ""}`)
|
|
6534
6641
|
},
|
|
6642
|
+
localai: {
|
|
6643
|
+
prettyLabel: "LocalAI",
|
|
6644
|
+
docsUrl: "https://github.com/mudler/LocalAI",
|
|
6645
|
+
mainTask: "text-generation",
|
|
6646
|
+
displayOnModelPage: isGgufModel,
|
|
6647
|
+
snippet: snippetLocalAI
|
|
6648
|
+
},
|
|
6535
6649
|
jan: {
|
|
6536
6650
|
prettyLabel: "Jan",
|
|
6537
6651
|
docsUrl: "https://jan.ai",
|
|
@@ -6602,9 +6716,23 @@ var LOCAL_APPS = {
|
|
|
6602
6716
|
docsUrl: "https://diffusionbee.com",
|
|
6603
6717
|
mainTask: "text-to-image",
|
|
6604
6718
|
macOSOnly: true,
|
|
6605
|
-
comingSoon: true,
|
|
6606
6719
|
displayOnModelPage: (model) => model.library_name === "diffusers" && model.pipeline_tag === "text-to-image",
|
|
6607
6720
|
deeplink: (model) => new URL(`diffusionbee://open_from_hf?model=${model.id}`)
|
|
6721
|
+
},
|
|
6722
|
+
joyfusion: {
|
|
6723
|
+
prettyLabel: "JoyFusion",
|
|
6724
|
+
docsUrl: "https://joyfusion.app",
|
|
6725
|
+
mainTask: "text-to-image",
|
|
6726
|
+
macOSOnly: true,
|
|
6727
|
+
displayOnModelPage: (model) => model.tags.includes("coreml") && model.pipeline_tag === "text-to-image",
|
|
6728
|
+
deeplink: (model) => new URL(`https://joyfusion.app/import_from_hf?repo_id=${model.id}`)
|
|
6729
|
+
},
|
|
6730
|
+
invoke: {
|
|
6731
|
+
prettyLabel: "Invoke",
|
|
6732
|
+
docsUrl: "https://github.com/invoke-ai/InvokeAI",
|
|
6733
|
+
mainTask: "text-to-image",
|
|
6734
|
+
displayOnModelPage: (model) => model.library_name === "diffusers" && model.pipeline_tag === "text-to-image",
|
|
6735
|
+
deeplink: (model) => new URL(`https://models.invoke.ai/huggingface/${model.id}`)
|
|
6608
6736
|
}
|
|
6609
6737
|
};
|
|
6610
6738
|
|
package/dist/src/local-apps.d.ts
CHANGED
|
@@ -78,6 +78,13 @@ export declare const LOCAL_APPS: {
|
|
|
78
78
|
displayOnModelPage: typeof isGgufModel;
|
|
79
79
|
deeplink: (model: ModelData, filepath: string | undefined) => URL;
|
|
80
80
|
};
|
|
81
|
+
localai: {
|
|
82
|
+
prettyLabel: string;
|
|
83
|
+
docsUrl: string;
|
|
84
|
+
mainTask: "text-generation";
|
|
85
|
+
displayOnModelPage: typeof isGgufModel;
|
|
86
|
+
snippet: (model: ModelData, filepath?: string) => LocalAppSnippet[];
|
|
87
|
+
};
|
|
81
88
|
jan: {
|
|
82
89
|
prettyLabel: string;
|
|
83
90
|
docsUrl: string;
|
|
@@ -134,7 +141,21 @@ export declare const LOCAL_APPS: {
|
|
|
134
141
|
docsUrl: string;
|
|
135
142
|
mainTask: "text-to-image";
|
|
136
143
|
macOSOnly: true;
|
|
137
|
-
|
|
144
|
+
displayOnModelPage: (model: ModelData) => boolean;
|
|
145
|
+
deeplink: (model: ModelData) => URL;
|
|
146
|
+
};
|
|
147
|
+
joyfusion: {
|
|
148
|
+
prettyLabel: string;
|
|
149
|
+
docsUrl: string;
|
|
150
|
+
mainTask: "text-to-image";
|
|
151
|
+
macOSOnly: true;
|
|
152
|
+
displayOnModelPage: (model: ModelData) => boolean;
|
|
153
|
+
deeplink: (model: ModelData) => URL;
|
|
154
|
+
};
|
|
155
|
+
invoke: {
|
|
156
|
+
prettyLabel: string;
|
|
157
|
+
docsUrl: string;
|
|
158
|
+
mainTask: "text-to-image";
|
|
138
159
|
displayOnModelPage: (model: ModelData) => boolean;
|
|
139
160
|
deeplink: (model: ModelData) => URL;
|
|
140
161
|
};
|
|
@@ -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,MAAM,WAAW,eAAe;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM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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,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,GAAG,CAAC;CACtD,GACD;IACA;;;OAGG;IACH,OAAO,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,MAAM,GAAG,MAAM,EAAE,GAAG,eAAe,GAAG,eAAe,EAAE,CAAC;CACzG,CACH,CAAC;AAEF,iBAAS,WAAW,CAAC,KAAK,EAAE,SAAS,WAEpC;AA8DD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,UAAU;;;;;;yBAvES,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;;;;;;;;yBAqCjD,SAAS,aAAa,MAAM,KAAG,eAAe,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsJ3C,CAAC;AAErC,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,UAAU,CAAC"}
|
|
@@ -16,6 +16,7 @@ export declare const flair: (model: ModelData) => string[];
|
|
|
16
16
|
export declare const gliner: (model: ModelData) => string[];
|
|
17
17
|
export declare const keras: (model: ModelData) => string[];
|
|
18
18
|
export declare const keras_nlp: (model: ModelData) => string[];
|
|
19
|
+
export declare const llama_cpp_python: (model: ModelData) => string[];
|
|
19
20
|
export declare const tf_keras: (model: ModelData) => string[];
|
|
20
21
|
export declare const mamba_ssm: (model: ModelData) => string[];
|
|
21
22
|
export declare const mars5_tts: (model: ModelData) => string[];
|
|
@@ -30,6 +31,7 @@ export declare const saelens: () => string[];
|
|
|
30
31
|
export declare const sklearn: (model: ModelData) => string[];
|
|
31
32
|
export declare const stable_audio_tools: (model: ModelData) => string[];
|
|
32
33
|
export declare const fastai: (model: ModelData) => string[];
|
|
34
|
+
export declare const sam2: (model: ModelData) => string[];
|
|
33
35
|
export declare const sampleFactory: (model: ModelData) => string[];
|
|
34
36
|
export declare const sentenceTransformers: (model: ModelData) => string[];
|
|
35
37
|
export declare const setfit: (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,cAAc,CAAC;AAY9C,eAAO,MAAM,QAAQ,UAAW,SAAS,KAAG,MAAM,EAKjD,CAAC;AAkBF,eAAO,MAAM,QAAQ,UAAW,SAAS,KAAG,MAAM,EAKjD,CAAC;AAEF,eAAO,MAAM,QAAQ,UAAW,SAAS,KAAG,MAAM,EAIjD,CAAC;AAEF,eAAO,MAAM,SAAS,UAAW,SAAS,KAAG,MAAM,EAkBlD,CAAC;AAMF,eAAO,MAAM,QAAQ,UAAW,SAAS,KAAG,MAAM,EAIjD,CAAC;AAEF,eAAO,MAAM,KAAK,UAAW,SAAS,KAAG,MAAM,EAI9C,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAAW,SAAS,KAAG,MAAM,EA6C1D,CAAC;AA+BF,eAAO,MAAM,SAAS,UAAW,SAAS,KAAG,MAAM,EAUlD,CAAC;AAEF,eAAO,MAAM,MAAM,UAAW,SAAS,KAAG,MAAM,EAgB/C,CAAC;AAEF,eAAO,MAAM,SAAS,UAAW,SAAS,KAAG,MAAM,EAMlD,CAAC;AAEF,eAAO,MAAM,SAAS,UAAW,SAAS,KAAG,MAAM,EASlD,CAAC;AAIF,eAAO,MAAM,MAAM,UAAW,SAAS,KAAG,MAAM,EAO/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EL_LIBRARIES_UI_ELEMENTS: {
|
|
|
308
308
|
filter: false;
|
|
309
309
|
countDownloads: string;
|
|
310
310
|
};
|
|
311
|
+
"llama-cpp-python": {
|
|
312
|
+
prettyLabel: string;
|
|
313
|
+
repoName: string;
|
|
314
|
+
repoUrl: string;
|
|
315
|
+
snippets: (model: ModelData) => string[];
|
|
316
|
+
};
|
|
311
317
|
mindspore: {
|
|
312
318
|
prettyLabel: string;
|
|
313
319
|
repoName: string;
|
|
@@ -423,6 +429,14 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
423
429
|
filter: false;
|
|
424
430
|
countDownloads: string;
|
|
425
431
|
};
|
|
432
|
+
refiners: {
|
|
433
|
+
prettyLabel: string;
|
|
434
|
+
repoName: string;
|
|
435
|
+
repoUrl: string;
|
|
436
|
+
docsUrl: string;
|
|
437
|
+
filter: false;
|
|
438
|
+
countDownloads: string;
|
|
439
|
+
};
|
|
426
440
|
saelens: {
|
|
427
441
|
prettyLabel: string;
|
|
428
442
|
repoName: string;
|
|
@@ -430,6 +444,14 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
430
444
|
snippets: () => string[];
|
|
431
445
|
filter: false;
|
|
432
446
|
};
|
|
447
|
+
sam2: {
|
|
448
|
+
prettyLabel: string;
|
|
449
|
+
repoName: string;
|
|
450
|
+
repoUrl: string;
|
|
451
|
+
filter: false;
|
|
452
|
+
snippets: (model: ModelData) => string[];
|
|
453
|
+
countDownloads: string;
|
|
454
|
+
};
|
|
433
455
|
"sample-factory": {
|
|
434
456
|
prettyLabel: string;
|
|
435
457
|
repoName: string;
|
|
@@ -592,6 +614,6 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
592
614
|
};
|
|
593
615
|
};
|
|
594
616
|
export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;
|
|
595
|
-
export declare const ALL_MODEL_LIBRARY_KEYS: ("adapter-transformers" | "allennlp" | "asteroid" | "audiocraft" | "audioseal" | "bertopic" | "big_vision" | "birefnet" | "bm25s" | "champ" | "chat_tts" | "colpali" | "depth-anything-v2" | "diffree" | "diffusers" | "doctr" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gemma.cpp" | "gliner" | "glyph-byt5" | "grok" | "hallo" | "hunyuan-dit" | "keras" | "tf-keras" | "keras-nlp" | "k2" | "liveportrait" | "mindspore" | "mamba-ssm" | "mars5-tts" | "mesh-anything" | "ml-agents" | "mlx" | "mlx-image" | "mlc-llm" | "nemo" | "open_clip" | "paddlenlp" | "peft" | "pyannote-audio" | "pythae" | "recurrentgemma" | "saelens" | "sample-factory" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "stable-audio-tools" | "diffusion-single-file" | "stable-baselines3" | "stanza" | "tensorflowtts" | "tic-clip" | "timesfm" | "timm" | "transformers" | "transformers.js" | "unity-sentis" | "voicecraft" | "whisperkit")[];
|
|
596
|
-
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("adapter-transformers" | "allennlp" | "asteroid" | "audiocraft" | "audioseal" | "bertopic" | "big_vision" | "birefnet" | "bm25s" | "champ" | "chat_tts" | "colpali" | "depth-anything-v2" | "diffree" | "diffusers" | "doctr" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gemma.cpp" | "gliner" | "glyph-byt5" | "grok" | "hallo" | "hunyuan-dit" | "keras" | "tf-keras" | "keras-nlp" | "k2" | "liveportrait" | "mindspore" | "mamba-ssm" | "mars5-tts" | "mesh-anything" | "ml-agents" | "mlx" | "mlx-image" | "mlc-llm" | "nemo" | "open_clip" | "paddlenlp" | "peft" | "pyannote-audio" | "pythae" | "recurrentgemma" | "saelens" | "sample-factory" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "stable-audio-tools" | "diffusion-single-file" | "stable-baselines3" | "stanza" | "tensorflowtts" | "tic-clip" | "timesfm" | "timm" | "transformers" | "transformers.js" | "unity-sentis" | "voicecraft" | "whisperkit")[];
|
|
617
|
+
export declare const ALL_MODEL_LIBRARY_KEYS: ("adapter-transformers" | "allennlp" | "asteroid" | "audiocraft" | "audioseal" | "bertopic" | "big_vision" | "birefnet" | "bm25s" | "champ" | "chat_tts" | "colpali" | "depth-anything-v2" | "diffree" | "diffusers" | "doctr" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gemma.cpp" | "gliner" | "glyph-byt5" | "grok" | "hallo" | "hunyuan-dit" | "keras" | "tf-keras" | "keras-nlp" | "k2" | "liveportrait" | "llama-cpp-python" | "mindspore" | "mamba-ssm" | "mars5-tts" | "mesh-anything" | "ml-agents" | "mlx" | "mlx-image" | "mlc-llm" | "nemo" | "open_clip" | "paddlenlp" | "peft" | "pyannote-audio" | "pythae" | "recurrentgemma" | "refiners" | "saelens" | "sam2" | "sample-factory" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "stable-audio-tools" | "diffusion-single-file" | "stable-baselines3" | "stanza" | "tensorflowtts" | "tic-clip" | "timesfm" | "timm" | "transformers" | "transformers.js" | "unity-sentis" | "voicecraft" | "whisperkit")[];
|
|
618
|
+
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("adapter-transformers" | "allennlp" | "asteroid" | "audiocraft" | "audioseal" | "bertopic" | "big_vision" | "birefnet" | "bm25s" | "champ" | "chat_tts" | "colpali" | "depth-anything-v2" | "diffree" | "diffusers" | "doctr" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gemma.cpp" | "gliner" | "glyph-byt5" | "grok" | "hallo" | "hunyuan-dit" | "keras" | "tf-keras" | "keras-nlp" | "k2" | "liveportrait" | "llama-cpp-python" | "mindspore" | "mamba-ssm" | "mars5-tts" | "mesh-anything" | "ml-agents" | "mlx" | "mlx-image" | "mlc-llm" | "nemo" | "open_clip" | "paddlenlp" | "peft" | "pyannote-audio" | "pythae" | "recurrentgemma" | "refiners" | "saelens" | "sam2" | "sample-factory" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "stable-audio-tools" | "diffusion-single-file" | "stable-baselines3" | "stanza" | "tensorflowtts" | "tic-clip" | "timesfm" | "timm" | "transformers" | "transformers.js" | "unity-sentis" | "voicecraft" | "whisperkit")[];
|
|
597
619
|
//# 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,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,MAAM,EAAE,CAAC;IAC1C;;;;;OAKG;IACH,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;;GAaG;AAEH,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"model-libraries.d.ts","sourceRoot":"","sources":["../../src/model-libraries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC;;;;OAIG;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CAAC"}
|
package/dist/src/pipelines.d.ts
CHANGED
|
@@ -387,6 +387,12 @@ export declare const PIPELINE_DATA: {
|
|
|
387
387
|
modality: "cv";
|
|
388
388
|
color: "indigo";
|
|
389
389
|
};
|
|
390
|
+
"video-text-to-text": {
|
|
391
|
+
name: string;
|
|
392
|
+
modality: "multimodal";
|
|
393
|
+
color: "blue";
|
|
394
|
+
hideInDatasets: true;
|
|
395
|
+
};
|
|
390
396
|
other: {
|
|
391
397
|
name: string;
|
|
392
398
|
modality: "other";
|
|
@@ -397,7 +403,7 @@ export declare const PIPELINE_DATA: {
|
|
|
397
403
|
};
|
|
398
404
|
export type PipelineType = keyof typeof PIPELINE_DATA;
|
|
399
405
|
export type WidgetType = PipelineType | "conversational";
|
|
400
|
-
export declare const PIPELINE_TYPES: ("other" | "text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | "feature-extraction" | "text-generation" | "text2text-generation" | "fill-mask" | "sentence-similarity" | "text-to-speech" | "text-to-audio" | "automatic-speech-recognition" | "audio-to-audio" | "audio-classification" | "voice-activity-detection" | "depth-estimation" | "image-classification" | "object-detection" | "image-segmentation" | "text-to-image" | "image-to-text" | "image-to-image" | "image-to-video" | "unconditional-image-generation" | "video-classification" | "reinforcement-learning" | "robotics" | "tabular-classification" | "tabular-regression" | "tabular-to-text" | "table-to-text" | "multiple-choice" | "text-retrieval" | "time-series-forecasting" | "text-to-video" | "image-text-to-text" | "visual-question-answering" | "document-question-answering" | "zero-shot-image-classification" | "graph-ml" | "mask-generation" | "zero-shot-object-detection" | "text-to-3d" | "image-to-3d" | "image-feature-extraction")[];
|
|
406
|
+
export declare const PIPELINE_TYPES: ("other" | "text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | "feature-extraction" | "text-generation" | "text2text-generation" | "fill-mask" | "sentence-similarity" | "text-to-speech" | "text-to-audio" | "automatic-speech-recognition" | "audio-to-audio" | "audio-classification" | "voice-activity-detection" | "depth-estimation" | "image-classification" | "object-detection" | "image-segmentation" | "text-to-image" | "image-to-text" | "image-to-image" | "image-to-video" | "unconditional-image-generation" | "video-classification" | "reinforcement-learning" | "robotics" | "tabular-classification" | "tabular-regression" | "tabular-to-text" | "table-to-text" | "multiple-choice" | "text-retrieval" | "time-series-forecasting" | "text-to-video" | "image-text-to-text" | "visual-question-answering" | "document-question-answering" | "zero-shot-image-classification" | "graph-ml" | "mask-generation" | "zero-shot-object-detection" | "text-to-3d" | "image-to-3d" | "image-feature-extraction" | "video-text-to-text")[];
|
|
401
407
|
export declare const SUBTASK_TYPES: string[];
|
|
402
|
-
export declare const PIPELINE_TYPES_SET: Set<"other" | "text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | "feature-extraction" | "text-generation" | "text2text-generation" | "fill-mask" | "sentence-similarity" | "text-to-speech" | "text-to-audio" | "automatic-speech-recognition" | "audio-to-audio" | "audio-classification" | "voice-activity-detection" | "depth-estimation" | "image-classification" | "object-detection" | "image-segmentation" | "text-to-image" | "image-to-text" | "image-to-image" | "image-to-video" | "unconditional-image-generation" | "video-classification" | "reinforcement-learning" | "robotics" | "tabular-classification" | "tabular-regression" | "tabular-to-text" | "table-to-text" | "multiple-choice" | "text-retrieval" | "time-series-forecasting" | "text-to-video" | "image-text-to-text" | "visual-question-answering" | "document-question-answering" | "zero-shot-image-classification" | "graph-ml" | "mask-generation" | "zero-shot-object-detection" | "text-to-3d" | "image-to-3d" | "image-feature-extraction">;
|
|
408
|
+
export declare const PIPELINE_TYPES_SET: Set<"other" | "text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | "feature-extraction" | "text-generation" | "text2text-generation" | "fill-mask" | "sentence-similarity" | "text-to-speech" | "text-to-audio" | "automatic-speech-recognition" | "audio-to-audio" | "audio-classification" | "voice-activity-detection" | "depth-estimation" | "image-classification" | "object-detection" | "image-segmentation" | "text-to-image" | "image-to-text" | "image-to-image" | "image-to-video" | "unconditional-image-generation" | "video-classification" | "reinforcement-learning" | "robotics" | "tabular-classification" | "tabular-regression" | "tabular-to-text" | "table-to-text" | "multiple-choice" | "text-retrieval" | "time-series-forecasting" | "text-to-video" | "image-text-to-text" | "visual-question-answering" | "document-question-answering" | "zero-shot-image-classification" | "graph-ml" | "mask-generation" | "zero-shot-object-detection" | "text-to-3d" | "image-to-3d" | "image-feature-extraction" | "video-text-to-text">;
|
|
403
409
|
//# sourceMappingURL=pipelines.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/pipelines.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,yEAA0E,CAAC;AAElG,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnD,eAAO,MAAM,eAAe;;;;;;;;CAQQ,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,WAAW,OAAO;IACvB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACb;AAED;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;IACjE;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB;AAcD,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/pipelines.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,yEAA0E,CAAC;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3E,eAAO,MAAM,aAAa,UAEN,CAAC;AAErB,eAAO,MAAM,kBAAkB,2mCAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/feature-extraction/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AAEzC,QAAA,MAAM,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/feature-extraction/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AAEzC,QAAA,MAAM,QAAQ,EAAE,cAoDf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/image-feature-extraction/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AAEzC,QAAA,MAAM,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/image-feature-extraction/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AAEzC,QAAA,MAAM,QAAQ,EAAE,cAsDf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tasks/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AA0CjD,mBAAmB,kCAAkC,CAAC;AACtD,mBAAmB,0CAA0C,CAAC;AAC9D,YAAY,EACX,mBAAmB,EACnB,0BAA0B,EAC1B,oBAAoB,EACpB,4BAA4B,EAC5B,2BAA2B,EAC3B,0BAA0B,E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{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/text-generation/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AAEzC,QAAA,MAAM,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/text-generation/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AAEzC,QAAA,MAAM,QAAQ,EAAE,cA6Gf,CAAC;AAEF,eAAe,QAAQ,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.11.
|
|
4
|
+
"version": "0.11.9",
|
|
5
5
|
"description": "List of ML tasks for huggingface.co/tasks",
|
|
6
6
|
"repository": "https://github.com/huggingface/huggingface.js.git",
|
|
7
7
|
"publishConfig": {
|
|
@@ -42,6 +42,9 @@
|
|
|
42
42
|
"format": "prettier --write .",
|
|
43
43
|
"format:check": "prettier --check .",
|
|
44
44
|
"build": "tsup src/index.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration",
|
|
45
|
+
"watch:export": "tsup src/index.ts --format cjs,esm --watch",
|
|
46
|
+
"watch:types": "tsc --emitDeclarationOnly --declaration --watch",
|
|
47
|
+
"watch": "npm-run-all --parallel watch:export watch:types",
|
|
45
48
|
"check": "tsc",
|
|
46
49
|
"inference-codegen": "tsx scripts/inference-codegen.ts && prettier --write src/tasks/*/inference.ts",
|
|
47
50
|
"inference-tgi-import": "tsx scripts/inference-tgi-import.ts && prettier --write src/tasks/text-generation/spec/*.json && prettier --write src/tasks/chat-completion/spec/*.json",
|