abhik1505040
commited on
Commit
β’
b59185c
1
Parent(s):
22c1724
Added metadata
Browse files- dummy/{xlsum.amharic β amharic}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.arabic β arabic}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.azerbaijani β azerbaijani}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.bengali β bengali}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.burmese β burmese}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.chinese_simplified β chinese_simplified}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.chinese_traditional β chinese_traditional}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.english β english}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.french β french}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.gujarati β gujarati}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.hausa β hausa}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.hindi β hindi}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.igbo β igbo}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.indonesian β indonesian}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.japanese β japanese}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.kirundi β kirundi}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.korean β korean}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.kyrgyz β kyrgyz}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.marathi β marathi}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.nepali β nepali}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.oromo β oromo}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.pashto β pashto}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.persian β persian}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.pidgin β pidgin}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.portuguese β portuguese}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.punjabi β punjabi}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.russian β russian}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.scottish_gaelic β scottish_gaelic}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.serbian_cyrillic β serbian_cyrillic}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.serbian_latin β serbian_latin}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.sinhala β sinhala}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.somali β somali}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.spanish β spanish}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.swahili β swahili}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.tamil β tamil}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.telugu β telugu}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.thai β thai}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.tigrinya β tigrinya}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.turkish β turkish}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.ukrainian β ukrainian}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.urdu β urdu}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.uzbek β uzbek}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.vietnamese β vietnamese}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.welsh β welsh}/2.0.0/dummy_data.zip +0 -0
- dummy/{xlsum.yoruba β yoruba}/2.0.0/dummy_data.zip +0 -0
- xlsum.py +3 -3
dummy/{xlsum.amharic β amharic}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.amharic/2.0.0/dummy_data.zip and b/dummy/amharic/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.arabic β arabic}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.arabic/2.0.0/dummy_data.zip and b/dummy/arabic/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.azerbaijani β azerbaijani}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.azerbaijani/2.0.0/dummy_data.zip and b/dummy/azerbaijani/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.bengali β bengali}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.bengali/2.0.0/dummy_data.zip and b/dummy/bengali/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.burmese β burmese}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.burmese/2.0.0/dummy_data.zip and b/dummy/burmese/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.chinese_simplified β chinese_simplified}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.chinese_simplified/2.0.0/dummy_data.zip and b/dummy/chinese_simplified/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.chinese_traditional β chinese_traditional}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.chinese_traditional/2.0.0/dummy_data.zip and b/dummy/chinese_traditional/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.english β english}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.english/2.0.0/dummy_data.zip and b/dummy/english/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.french β french}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.french/2.0.0/dummy_data.zip and b/dummy/french/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.gujarati β gujarati}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.gujarati/2.0.0/dummy_data.zip and b/dummy/gujarati/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.hausa β hausa}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.hausa/2.0.0/dummy_data.zip and b/dummy/hausa/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.hindi β hindi}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.hindi/2.0.0/dummy_data.zip and b/dummy/hindi/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.igbo β igbo}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.igbo/2.0.0/dummy_data.zip and b/dummy/igbo/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.indonesian β indonesian}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.indonesian/2.0.0/dummy_data.zip and b/dummy/indonesian/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.japanese β japanese}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.japanese/2.0.0/dummy_data.zip and b/dummy/japanese/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.kirundi β kirundi}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.kirundi/2.0.0/dummy_data.zip and b/dummy/kirundi/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.korean β korean}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.korean/2.0.0/dummy_data.zip and b/dummy/korean/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.kyrgyz β kyrgyz}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.kyrgyz/2.0.0/dummy_data.zip and b/dummy/kyrgyz/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.marathi β marathi}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.marathi/2.0.0/dummy_data.zip and b/dummy/marathi/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.nepali β nepali}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.nepali/2.0.0/dummy_data.zip and b/dummy/nepali/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.oromo β oromo}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.oromo/2.0.0/dummy_data.zip and b/dummy/oromo/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.pashto β pashto}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.pashto/2.0.0/dummy_data.zip and b/dummy/pashto/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.persian β persian}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.persian/2.0.0/dummy_data.zip and b/dummy/persian/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.pidgin β pidgin}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.pidgin/2.0.0/dummy_data.zip and b/dummy/pidgin/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.portuguese β portuguese}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.portuguese/2.0.0/dummy_data.zip and b/dummy/portuguese/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.punjabi β punjabi}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.punjabi/2.0.0/dummy_data.zip and b/dummy/punjabi/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.russian β russian}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.russian/2.0.0/dummy_data.zip and b/dummy/russian/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.scottish_gaelic β scottish_gaelic}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.scottish_gaelic/2.0.0/dummy_data.zip and b/dummy/scottish_gaelic/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.serbian_cyrillic β serbian_cyrillic}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.serbian_cyrillic/2.0.0/dummy_data.zip and b/dummy/serbian_cyrillic/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.serbian_latin β serbian_latin}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.serbian_latin/2.0.0/dummy_data.zip and b/dummy/serbian_latin/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.sinhala β sinhala}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.sinhala/2.0.0/dummy_data.zip and b/dummy/sinhala/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.somali β somali}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.somali/2.0.0/dummy_data.zip and b/dummy/somali/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.spanish β spanish}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.spanish/2.0.0/dummy_data.zip and b/dummy/spanish/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.swahili β swahili}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.swahili/2.0.0/dummy_data.zip and b/dummy/swahili/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.tamil β tamil}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.tamil/2.0.0/dummy_data.zip and b/dummy/tamil/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.telugu β telugu}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.telugu/2.0.0/dummy_data.zip and b/dummy/telugu/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.thai β thai}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.thai/2.0.0/dummy_data.zip and b/dummy/thai/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.tigrinya β tigrinya}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.tigrinya/2.0.0/dummy_data.zip and b/dummy/tigrinya/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.turkish β turkish}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.turkish/2.0.0/dummy_data.zip and b/dummy/turkish/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.ukrainian β ukrainian}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.ukrainian/2.0.0/dummy_data.zip and b/dummy/ukrainian/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.urdu β urdu}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.urdu/2.0.0/dummy_data.zip and b/dummy/urdu/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.uzbek β uzbek}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.uzbek/2.0.0/dummy_data.zip and b/dummy/uzbek/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.vietnamese β vietnamese}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.vietnamese/2.0.0/dummy_data.zip and b/dummy/vietnamese/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.welsh β welsh}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.welsh/2.0.0/dummy_data.zip and b/dummy/welsh/2.0.0/dummy_data.zip differ
|
|
dummy/{xlsum.yoruba β yoruba}/2.0.0/dummy_data.zip
RENAMED
Binary files a/dummy/xlsum.yoruba/2.0.0/dummy_data.zip and b/dummy/yoruba/2.0.0/dummy_data.zip differ
|
|
xlsum.py
CHANGED
@@ -41,7 +41,7 @@ _HOMEPAGE = "https://github.com/csebuetnlp/xl-sum"
|
|
41 |
|
42 |
_LICENSE = "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)"
|
43 |
|
44 |
-
_URL = "https://huggingface.co/datasets/csebuetnlp/
|
45 |
|
46 |
_LANGUAGES = [
|
47 |
"oromo",
|
@@ -97,7 +97,7 @@ class Xlsum(datasets.GeneratorBasedBuilder):
|
|
97 |
|
98 |
BUILDER_CONFIGS = [
|
99 |
datasets.BuilderConfig(
|
100 |
-
name="
|
101 |
version=datasets.Version("2.0.0")
|
102 |
)
|
103 |
for lang in _LANGUAGES
|
@@ -124,7 +124,7 @@ class Xlsum(datasets.GeneratorBasedBuilder):
|
|
124 |
|
125 |
def _split_generators(self, dl_manager):
|
126 |
"""Returns SplitGenerators."""
|
127 |
-
lang = str(self.config.name)
|
128 |
url = _URL.format(lang, self.VERSION.version_str[:-2])
|
129 |
|
130 |
data_dir = dl_manager.download_and_extract(url)
|
|
|
41 |
|
42 |
_LICENSE = "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)"
|
43 |
|
44 |
+
_URL = "https://huggingface.co/datasets/csebuetnlp/xlsum/resolve/main/data/{}_XLSum_v{}.tar.bz2"
|
45 |
|
46 |
_LANGUAGES = [
|
47 |
"oromo",
|
|
|
97 |
|
98 |
BUILDER_CONFIGS = [
|
99 |
datasets.BuilderConfig(
|
100 |
+
name="{}".format(lang),
|
101 |
version=datasets.Version("2.0.0")
|
102 |
)
|
103 |
for lang in _LANGUAGES
|
|
|
124 |
|
125 |
def _split_generators(self, dl_manager):
|
126 |
"""Returns SplitGenerators."""
|
127 |
+
lang = str(self.config.name)
|
128 |
url = _URL.format(lang, self.VERSION.version_str[:-2])
|
129 |
|
130 |
data_dir = dl_manager.download_and_extract(url)
|