Update wikipedia-for-mask-filling.py
Browse files
wikipedia-for-mask-filling.py
CHANGED
@@ -60,28 +60,28 @@ class WikipediaForMaskFilling(datasets.GeneratorBasedBuilder):
|
|
60 |
name="original_4096",
|
61 |
version=datasets.Version("1.0.0"),
|
62 |
description="Part of the dataset with original texts and masks, with text chunks split into size of max 4096 tokens (Longformer).",
|
63 |
-
|
64 |
type="original"
|
65 |
),
|
66 |
WikipediaForMaskFillingConfig(
|
67 |
name="original_512",
|
68 |
version=datasets.Version("1.0.0"),
|
69 |
description="text chunks split into size of max 512 tokens (roberta).",
|
70 |
-
|
71 |
type="original"
|
72 |
),
|
73 |
WikipediaForMaskFillingConfig(
|
74 |
name="paraphrased_4096",
|
75 |
version=datasets.Version("1.0.0"),
|
76 |
description="Part of the dataset with paraphrased texts and masks, with text chunks split into size of max 4096 tokens (Longformer).",
|
77 |
-
|
78 |
type="paraphrased"
|
79 |
),
|
80 |
WikipediaForMaskFillingConfig(
|
81 |
name="paraphrased_512",
|
82 |
version=datasets.Version("1.0.0"),
|
83 |
description="Paraphrased text chunks split into size of max 512 tokens (roberta).",
|
84 |
-
|
85 |
type="paraphrased"
|
86 |
)
|
87 |
]
|
|
|
60 |
name="original_4096",
|
61 |
version=datasets.Version("1.0.0"),
|
62 |
description="Part of the dataset with original texts and masks, with text chunks split into size of max 4096 tokens (Longformer).",
|
63 |
+
size=4096,
|
64 |
type="original"
|
65 |
),
|
66 |
WikipediaForMaskFillingConfig(
|
67 |
name="original_512",
|
68 |
version=datasets.Version("1.0.0"),
|
69 |
description="text chunks split into size of max 512 tokens (roberta).",
|
70 |
+
size=512,
|
71 |
type="original"
|
72 |
),
|
73 |
WikipediaForMaskFillingConfig(
|
74 |
name="paraphrased_4096",
|
75 |
version=datasets.Version("1.0.0"),
|
76 |
description="Part of the dataset with paraphrased texts and masks, with text chunks split into size of max 4096 tokens (Longformer).",
|
77 |
+
size=4096,
|
78 |
type="paraphrased"
|
79 |
),
|
80 |
WikipediaForMaskFillingConfig(
|
81 |
name="paraphrased_512",
|
82 |
version=datasets.Version("1.0.0"),
|
83 |
description="Paraphrased text chunks split into size of max 512 tokens (roberta).",
|
84 |
+
size=512,
|
85 |
type="paraphrased"
|
86 |
)
|
87 |
]
|