@huggingface/tasks 0.12.0 → 0.12.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 +185 -57
- package/dist/index.js +185 -57
- package/dist/src/local-apps.d.ts +7 -0
- package/dist/src/local-apps.d.ts.map +1 -1
- package/dist/src/model-data.d.ts +4 -0
- package/dist/src/model-data.d.ts.map +1 -1
- package/dist/src/model-libraries-snippets.d.ts +1 -0
- package/dist/src/model-libraries-snippets.d.ts.map +1 -1
- package/dist/src/model-libraries.d.ts +9 -2
- package/dist/src/model-libraries.d.ts.map +1 -1
- package/dist/src/tasks/audio-classification/data.d.ts.map +1 -1
- package/dist/src/tasks/audio-to-audio/data.d.ts.map +1 -1
- package/dist/src/tasks/automatic-speech-recognition/data.d.ts.map +1 -1
- package/dist/src/tasks/document-question-answering/data.d.ts.map +1 -1
- package/dist/src/tasks/question-answering/data.d.ts.map +1 -1
- package/dist/src/tasks/text-classification/data.d.ts.map +1 -1
- package/dist/src/tasks/text-to-speech/data.d.ts.map +1 -1
- package/dist/src/tasks/token-classification/data.d.ts.map +1 -1
- package/dist/src/tasks/translation/data.d.ts.map +1 -1
- package/dist/src/tasks/zero-shot-classification/data.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/local-apps.ts +75 -2
- package/src/model-data.ts +4 -0
- package/src/model-libraries-snippets.ts +9 -0
- package/src/model-libraries.ts +7 -0
- package/src/tasks/audio-classification/data.ts +8 -4
- package/src/tasks/audio-to-audio/data.ts +5 -1
- package/src/tasks/automatic-speech-recognition/data.ts +6 -2
- package/src/tasks/document-question-answering/data.ts +7 -3
- package/src/tasks/fill-mask/data.ts +3 -3
- package/src/tasks/image-segmentation/data.ts +1 -1
- package/src/tasks/image-to-image/data.ts +1 -1
- package/src/tasks/image-to-text/data.ts +1 -1
- package/src/tasks/question-answering/data.ts +5 -1
- package/src/tasks/sentence-similarity/data.ts +3 -3
- package/src/tasks/summarization/data.ts +2 -2
- package/src/tasks/text-classification/data.ts +18 -6
- package/src/tasks/text-generation/data.ts +3 -3
- package/src/tasks/text-to-image/data.ts +1 -1
- package/src/tasks/text-to-speech/data.ts +7 -3
- package/src/tasks/token-classification/data.ts +11 -3
- package/src/tasks/translation/data.ts +9 -8
- package/src/tasks/video-classification/data.ts +3 -3
- package/src/tasks/visual-question-answering/data.ts +2 -2
- package/src/tasks/zero-shot-classification/data.ts +8 -4
- package/src/tasks/zero-shot-image-classification/data.ts +2 -2
|
@@ -5,12 +5,12 @@ const taskData: TaskDataCustom = {
|
|
|
5
5
|
datasets: [
|
|
6
6
|
{
|
|
7
7
|
description: "A dataset of copyright-free books translated into 16 different languages.",
|
|
8
|
-
id: "opus_books",
|
|
8
|
+
id: "Helsinki-NLP/opus_books",
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
11
|
description:
|
|
12
12
|
"An example of translation between programming languages. This dataset consists of functions in Java and C#.",
|
|
13
|
-
id: "code_x_glue_cc_code_to_code_trans",
|
|
13
|
+
id: "google/code_x_glue_cc_code_to_code_trans",
|
|
14
14
|
},
|
|
15
15
|
],
|
|
16
16
|
demo: {
|
|
@@ -42,13 +42,14 @@ const taskData: TaskDataCustom = {
|
|
|
42
42
|
],
|
|
43
43
|
models: [
|
|
44
44
|
{
|
|
45
|
-
description:
|
|
46
|
-
|
|
45
|
+
description:
|
|
46
|
+
"Very powerful model that can translate many languages between each other, especially low-resource languages.",
|
|
47
|
+
id: "facebook/nllb-200-1.3B",
|
|
47
48
|
},
|
|
48
49
|
{
|
|
49
50
|
description:
|
|
50
51
|
"A general-purpose Transformer that can be used to translate from English to German, French, or Romanian.",
|
|
51
|
-
id: "t5-base",
|
|
52
|
+
id: "google-t5/t5-base",
|
|
52
53
|
},
|
|
53
54
|
],
|
|
54
55
|
spaces: [
|
|
@@ -57,12 +58,12 @@ const taskData: TaskDataCustom = {
|
|
|
57
58
|
id: "Iker/Translate-100-languages",
|
|
58
59
|
},
|
|
59
60
|
{
|
|
60
|
-
description: "An application that can translate between
|
|
61
|
-
id: "
|
|
61
|
+
description: "An application that can translate between many languages.",
|
|
62
|
+
id: "Geonmo/nllb-translation-demo",
|
|
62
63
|
},
|
|
63
64
|
],
|
|
64
65
|
summary: "Translation is the task of converting text from one language to another.",
|
|
65
|
-
widgetModels: ["
|
|
66
|
+
widgetModels: ["facebook/mbart-large-50-many-to-many-mmt"],
|
|
66
67
|
youtubeId: "1JvfrvZgi6c",
|
|
67
68
|
};
|
|
68
69
|
|
|
@@ -56,12 +56,12 @@ const taskData: TaskDataCustom = {
|
|
|
56
56
|
models: [
|
|
57
57
|
{
|
|
58
58
|
// TO DO: write description
|
|
59
|
-
description: "Strong Video Classification model trained on the
|
|
60
|
-
id: "
|
|
59
|
+
description: "Strong Video Classification model trained on the Kinetics 400 dataset.",
|
|
60
|
+
id: "google/vivit-b-16x2-kinetics400",
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
// TO DO: write description
|
|
64
|
-
description: "Strong Video Classification model trained on the
|
|
64
|
+
description: "Strong Video Classification model trained on the Kinetics 400 dataset.",
|
|
65
65
|
id: "microsoft/xclip-base-patch32",
|
|
66
66
|
},
|
|
67
67
|
],
|
|
@@ -8,7 +8,7 @@ const taskData: TaskDataCustom = {
|
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
description: "A dataset to benchmark visual reasoning based on text in images.",
|
|
11
|
-
id: "textvqa",
|
|
11
|
+
id: "facebook/textvqa",
|
|
12
12
|
},
|
|
13
13
|
],
|
|
14
14
|
demo: {
|
|
@@ -63,7 +63,7 @@ const taskData: TaskDataCustom = {
|
|
|
63
63
|
{
|
|
64
64
|
description:
|
|
65
65
|
"A visual question answering model trained for mathematical reasoning and chart derendering from images.",
|
|
66
|
-
id: "google/matcha-base
|
|
66
|
+
id: "google/matcha-base",
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
description: "A strong visual question answering that answers questions from book covers.",
|
|
@@ -4,17 +4,17 @@ const taskData: TaskDataCustom = {
|
|
|
4
4
|
datasets: [
|
|
5
5
|
{
|
|
6
6
|
description: "A widely used dataset used to benchmark multiple variants of text classification.",
|
|
7
|
-
id: "glue",
|
|
7
|
+
id: "nyu-mll/glue",
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
description:
|
|
11
11
|
"The Multi-Genre Natural Language Inference (MultiNLI) corpus is a crowd-sourced collection of 433k sentence pairs annotated with textual entailment information.",
|
|
12
|
-
id: "
|
|
12
|
+
id: "nyu-mll/multi_nli",
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
description:
|
|
16
16
|
"FEVER is a publicly available dataset for fact extraction and verification against textual sources.",
|
|
17
|
-
id: "
|
|
17
|
+
id: "fever/fever",
|
|
18
18
|
},
|
|
19
19
|
],
|
|
20
20
|
demo: {
|
|
@@ -53,9 +53,13 @@ const taskData: TaskDataCustom = {
|
|
|
53
53
|
metrics: [],
|
|
54
54
|
models: [
|
|
55
55
|
{
|
|
56
|
-
description: "Powerful zero-shot text classification model",
|
|
56
|
+
description: "Powerful zero-shot text classification model.",
|
|
57
57
|
id: "facebook/bart-large-mnli",
|
|
58
58
|
},
|
|
59
|
+
{
|
|
60
|
+
description: "Powerful zero-shot multilingual text classification model that can accomplish multiple tasks.",
|
|
61
|
+
id: "MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7",
|
|
62
|
+
},
|
|
59
63
|
],
|
|
60
64
|
spaces: [],
|
|
61
65
|
summary:
|
|
@@ -53,7 +53,7 @@ const taskData: TaskDataCustom = {
|
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
description: "Strong zero-shot image classification model.",
|
|
56
|
-
id: "google/siglip-
|
|
56
|
+
id: "google/siglip-so400m-patch14-224",
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
description: "Small yet powerful zero-shot image classification model that can run on edge devices.",
|
|
@@ -77,7 +77,7 @@ const taskData: TaskDataCustom = {
|
|
|
77
77
|
],
|
|
78
78
|
summary:
|
|
79
79
|
"Zero-shot image classification is the task of classifying previously unseen classes during training of a model.",
|
|
80
|
-
widgetModels: ["
|
|
80
|
+
widgetModels: ["google/siglip-so400m-patch14-224"],
|
|
81
81
|
youtubeId: "",
|
|
82
82
|
};
|
|
83
83
|
|