Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
natural-language-inference
Languages:
English
Size:
10K - 100K
License:
Update babi_nli.py
Browse files- babi_nli.py +2 -17
babi_nli.py
CHANGED
@@ -35,21 +35,6 @@ bAbI_nli_CITATION = r"""@article{weston2015towards,
|
|
35 |
year={2015}
|
36 |
}
|
37 |
|
38 |
-
@inproceedings{sileo-moens-2022-analysis,
|
39 |
-
title = "Analysis and Prediction of {NLP} Models via Task Embeddings",
|
40 |
-
author = "Sileo, Damien and
|
41 |
-
Moens, Marie-Francine",
|
42 |
-
booktitle = "Proceedings of the Thirteenth Language Resources and Evaluation Conference",
|
43 |
-
month = jun,
|
44 |
-
year = "2022",
|
45 |
-
address = "Marseille, France",
|
46 |
-
publisher = "European Language Resources Association",
|
47 |
-
url = "https://aclanthology.org/2022.lrec-1.67",
|
48 |
-
pages = "633--647",
|
49 |
-
abstract = "Task embeddings are low-dimensional representations that are trained to capture task properties. In this paper, we propose MetaEval, a collection of 101 NLP tasks. We fit a single transformer to all MetaEval tasks jointly while conditioning it on learned embeddings. The resulting task embeddings enable a novel analysis of the space of tasks. We then show that task aspects can be mapped to task embeddings for new tasks without using any annotated examples. Predicted embeddings can modulate the encoder for zero-shot inference and outperform a zero-shot baseline on GLUE tasks. The provided multitask setup can function as a benchmark for future transfer learning research.",
|
50 |
-
}
|
51 |
-
|
52 |
-
|
53 |
"""
|
54 |
|
55 |
_babi_nli_DESCRIPTION = """\
|
@@ -122,8 +107,8 @@ class bAbI_nli_Config(datasets.BuilderConfig):
|
|
122 |
self.citation = textwrap.dedent(bAbI_nli_CITATION)
|
123 |
self.process_label = lambda x: str(x)
|
124 |
self.description = ""
|
125 |
-
self.url = ""
|
126 |
-
|
127 |
|
128 |
class bAbI_nli(datasets.GeneratorBasedBuilder):
|
129 |
|
|
|
35 |
year={2015}
|
36 |
}
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
"""
|
39 |
|
40 |
_babi_nli_DESCRIPTION = """\
|
|
|
107 |
self.citation = textwrap.dedent(bAbI_nli_CITATION)
|
108 |
self.process_label = lambda x: str(x)
|
109 |
self.description = ""
|
110 |
+
self.url = "https://github.com/facebookarchive/bAbI-tasks/blob/master/LICENSE.md"
|
111 |
+
|
112 |
|
113 |
class bAbI_nli(datasets.GeneratorBasedBuilder):
|
114 |
|