@huggingface/tasks 0.15.2 → 0.15.4

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.
@@ -208,6 +208,10 @@ export declare const SKUS: {
208
208
  tflops: number;
209
209
  memory: number[];
210
210
  };
211
+ "GTX 1060": {
212
+ tflops: number;
213
+ memory: number[];
214
+ };
211
215
  "RTX Titan": {
212
216
  tflops: number;
213
217
  memory: number[];
@@ -1 +1 @@
1
- {"version":3,"file":"hardware.d.ts","sourceRoot":"","sources":["../../src/hardware.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,iDAAiD,QAAW,CAAC;AAC1E,eAAO,MAAM,yDAAyD,QAAW,CAAC;AAClF,eAAO,MAAM,oCAAoC,QAAU,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,+CAA+C,QAAW,CAAC;AAExE,MAAM,WAAW,YAAY;IAC5B;;;;;;;;;OASG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,UAAqD,CAAC;AAEzF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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M,MAAM,OAAO,GAAG,MAAM,OAAO,IAAI,CAAC"}
@@ -193,6 +193,10 @@ exports.SKUS = {
193
193
  tflops: 8.2, // float32 (GPU does not support native float16)
194
194
  memory: [8],
195
195
  },
196
+ "GTX 1060": {
197
+ tflops: 3.9, // float32 (GPU does not support native float16)
198
+ memory: [3, 6],
199
+ },
196
200
  "RTX Titan": {
197
201
  tflops: 32.62,
198
202
  memory: [24],
@@ -1 +1 @@
1
- {"version":3,"file":"library-to-tasks.d.ts","sourceRoot":"","sources":["../../src/library-to-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,YAAY,EAAE,CAAC,CAiEjF,CAAC"}
1
+ {"version":3,"file":"library-to-tasks.d.ts","sourceRoot":"","sources":["../../src/library-to-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,YAAY,EAAE,CAAC,CAmEjF,CAAC"}
@@ -55,6 +55,8 @@ exports.LIBRARY_TASK_MAPPING = {
55
55
  "image-segmentation",
56
56
  "image-to-image",
57
57
  "image-to-text",
58
+ "image-text-to-text",
59
+ "mask-generation",
58
60
  "object-detection",
59
61
  "question-answering",
60
62
  "summarization",
@@ -181,7 +181,6 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
181
181
  repoName: string;
182
182
  docsUrl: string;
183
183
  repoUrl: string;
184
- countDownloads: string;
185
184
  };
186
185
  "depth-anything-v2": {
187
186
  prett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exports.MODEL_LIBRARIES_UI_ELEMENTS = {
167
167
  repoName: "deepforest",
168
168
  docsUrl: "https://deepforest.readthedocs.io/en/latest/",
169
169
  repoUrl: "https://github.com/weecology/DeepForest",
170
- countDownloads: `path_extension:"pt" OR path_extension:"pl"`,
171
170
  },
172
171
  "depth-anything-v2": {
173
172
  prettyLabel: "DepthAnythingV2",
@@ -22,12 +22,12 @@ export interface TextToVideoInput {
22
22
  */
23
23
  export interface TextToVideoParameters {
24
24
  /**
25
- * A higher guidance scale value encourages the model to generate images closely linked to
25
+ * A higher guidance scale value encourages the model to generate videos closely linked to
26
26
  * the text prompt, but values too high may cause saturation and other artifacts.
27
27
  */
28
28
  guidance_scale?: number;
29
29
  /**
30
- * One or several prompt to guide what NOT to include in image generation.
30
+ * One or several prompt to guide what NOT to include in video generation.
31
31
  */
32
32
  negative_prompt?: string[];
33
33
  /**
@@ -36,7 +36,7 @@ export interface TextToVideoParameters {
36
36
  num_frames?: number;
37
37
  /**
38
38
  * The number of denoising steps. More denoising steps usually lead to a higher quality
39
- * image at the expense of slower inference.
39
+ * video at the expense of slower inference.
40
40
  */
41
41
  num_inference_steps?: number;
42
42
  /**
@@ -208,6 +208,10 @@ export declare const SKUS: {
208
208
  tflops: number;
209
209
  memory: number[];
210
210
  };
211
+ "GTX 1060": {
212
+ tflops: number;
213
+ memory: number[];
214
+ };
211
215
  "RTX Titan": {
212
216
  tflops: number;
213
217
  memory: number[];
@@ -1 +1 @@
1
- {"version":3,"file":"hardware.d.ts","sourceRoot":"","sources":["../../src/hardware.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,iDAAiD,QAAW,CAAC;AAC1E,eAAO,MAAM,yDAAyD,QAAW,CAAC;AAClF,eAAO,MAAM,oCAAoC,QAAU,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,+CAA+C,QAAW,CAAC;AAExE,MAAM,WAAW,YAAY;IAC5B;;;;;;;;;OASG;IACH,MAAM,EAAE,MAAM,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyeuD,CAAC;AAEzE,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,IAAI,CAAC"}
@@ -190,6 +190,10 @@ export const SKUS = {
190
190
  tflops: 8.2, // float32 (GPU does not support native float16)
191
191
  memory: [8],
192
192
  },
193
+ "GTX 1060": {
194
+ tflops: 3.9, // float32 (GPU does not support native float16)
195
+ memory: [3, 6],
196
+ },
193
197
  "RTX Titan": {
194
198
  tflops: 32.62,
195
199
  memory: [24],
@@ -1 +1 @@
1
- {"version":3,"file":"library-to-tasks.d.ts","sourceRoot":"","sources":["../../src/library-to-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,YAAY,EAAE,CAAC,CAiEjF,CAAC"}
1
+ {"version":3,"file":"library-to-tasks.d.ts","sourceRoot":"","sources":["../../src/library-to-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,YAAY,EAAE,CAAC,CAmEjF,CAAC"}
@@ -52,6 +52,8 @@ export const LIBRARY_TASK_MAPPING = {
52
52
  "image-segmentation",
53
53
  "image-to-image",
54
54
  "image-to-text",
55
+ "image-text-to-text",
56
+ "mask-generation",
55
57
  "object-detection",
56
58
  "question-answering",
57
59
  "summarization",
@@ -181,7 +181,6 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
181
181
  repoName: string;
182
182
  docsUrl: string;
183
183
  repoUrl: string;
184
- countDownloads: string;
185
184
  };
186
185
  "depth-anything-v2": {
187
186
  prettyLabel: string;
@@ -1 +1 @@
1
- {"version":3,"file":"model-libraries.d.ts","sourceRoot":"","sources":["../../src/model-libraries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,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;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAq0BI,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,2BAA2B,CAAC;AAEvE,eAAO,MAAM,sBAAsB,EAA+C,eAAe,EAAE,CAAC;AAEpG,eAAO,MAAM,8BAA8B,0gDAQ1B,CAAC"}
@@ -141,7 +141,6 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
141
141
  repoName: "deepforest",
142
142
  docsUrl: "https://deepforest.readthedocs.io/en/latest/",
143
143
  repoUrl: "https://github.com/weecology/DeepForest",
144
- countDownloads: `path_extension:"pt" OR path_extension:"pl"`,
145
144
  },
146
145
  "depth-anything-v2": {
147
146
  prettyLabel: "DepthAnythingV2",
@@ -22,12 +22,12 @@ export interface TextToVideoInput {
22
22
  */
23
23
  export interface TextToVideoParameters {
24
24
  /**
25
- * A higher guidance scale value encourages the model to generate images closely linked to
25
+ * A higher guidance scale value encourages the model to generate videos closely linked to
26
26
  * the text prompt, but values too high may cause saturation and other artifacts.
27
27
  */
28
28
  guidance_scale?: number;
29
29
  /**
30
- * One or several prompt to guide what NOT to include in image generation.
30
+ * One or several prompt to guide what NOT to include in video generation.
31
31
  */
32
32
  negative_prompt?: string[];
33
33
  /**
@@ -36,7 +36,7 @@ export interface TextToVideoParameters {
36
36
  num_frames?: number;
37
37
  /**
38
38
  * The number of denoising steps. More denoising steps usually lead to a higher quality
39
- * image at the expense of slower inference.
39
+ * video at the expense of slower inference.
40
40
  */
41
41
  num_inference_steps?: number;
42
42
  /**
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.15.2",
4
+ "version": "0.15.4",
5
5
  "description": "List of ML tasks for huggingface.co/tasks",
6
6
  "repository": "https://github.com/huggingface/huggingface.js.git",
7
7
  "publishConfig": {
package/src/hardware.ts CHANGED
@@ -212,6 +212,10 @@ export const SKUS = {
212
212
  tflops: 8.2, // float32 (GPU does not support native float16)
213
213
  memory: [8],
214
214
  },
215
+ "GTX 1060": {
216
+ tflops: 3.9, // float32 (GPU does not support native float16)
217
+ memory: [3, 6],
218
+ },
215
219
  "RTX Titan": {
216
220
  tflops: 32.62,
217
221
  memory: [24],
@@ -55,6 +55,8 @@ export const LIBRARY_TASK_MAPPING: Partial<Record<ModelLibraryKey, PipelineType[
55
55
  "image-segmentation",
56
56
  "image-to-image",
57
57
  "image-to-text",
58
+ "image-text-to-text",
59
+ "mask-generation",
58
60
  "object-detection",
59
61
  "question-answering",
60
62
  "summarization",
@@ -185,7 +185,6 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
185
185
  repoName: "deepforest",
186
186
  docsUrl: "https://deepforest.readthedocs.io/en/latest/",
187
187
  repoUrl: "https://github.com/weecology/DeepForest",
188
- countDownloads: `path_extension:"pt" OR path_extension:"pl"`,
189
188
  },
190
189
  "depth-anything-v2": {
191
190
  prettyLabel: "DepthAnythingV2",
@@ -22,12 +22,12 @@ export interface TextToVideoInput {
22
22
  */
23
23
  export interface TextToVideoParameters {
24
24
  /**
25
- * A higher guidance scale value encourages the model to generate images closely linked to
25
+ * A higher guidance scale value encourages the model to generate videos closely linked to
26
26
  * the text prompt, but values too high may cause saturation and other artifacts.
27
27
  */
28
28
  guidance_scale?: number;
29
29
  /**
30
- * One or several prompt to guide what NOT to include in image generation.
30
+ * One or several prompt to guide what NOT to include in video generation.
31
31
  */
32
32
  negative_prompt?: string[];
33
33
  /**
@@ -36,7 +36,7 @@ export interface TextToVideoParameters {
36
36
  num_frames?: number;
37
37
  /**
38
38
  * The number of denoising steps. More denoising steps usually lead to a higher quality
39
- * image at the expense of slower inference.
39
+ * video at the expense of slower inference.
40
40
  */
41
41
  num_inference_steps?: number;
42
42
  /**
@@ -25,18 +25,18 @@
25
25
  },
26
26
  "guidance_scale": {
27
27
  "type": "number",
28
- "description": "A higher guidance scale value encourages the model to generate images closely linked to the text prompt, but values too high may cause saturation and other artifacts."
28
+ "description": "A higher guidance scale value encourages the model to generate videos closely linked to the text prompt, but values too high may cause saturation and other artifacts."
29
29
  },
30
30
  "negative_prompt": {
31
31
  "type": "array",
32
32
  "items": {
33
33
  "type": "string"
34
34
  },
35
- "description": "One or several prompt to guide what NOT to include in image generation."
35
+ "description": "One or several prompt to guide what NOT to include in video generation."
36
36
  },
37
37
  "num_inference_steps": {
38
38
  "type": "integer",
39
- "description": "The number of denoising steps. More denoising steps usually lead to a higher quality image at the expense of slower inference."
39
+ "description": "The number of denoising steps. More denoising steps usually lead to a higher quality video at the expense of slower inference."
40
40
  },
41
41
  "seed": {
42
42
  "type": "integer",