mathiascreutz
commited on
Commit
•
1ab1a79
1
Parent(s):
bba20ca
Data loader complete and documented
Browse files- opusparcus.py +4 -2
opusparcus.py
CHANGED
@@ -79,12 +79,14 @@ class OpusparcusConfig(datasets.BuilderConfig):
|
|
79 |
lang: string, two letter language code:
|
80 |
de, en, fi, fr, ru, sv
|
81 |
quality: int, filter training set according to quality:
|
82 |
-
[ 60, 65, 70, 75, 80, 85, 90, 95, 100]
|
83 |
**kwargs: keyword arguments forwarded to super.
|
84 |
"""
|
85 |
super(OpusparcusConfig, self).__init__(
|
86 |
name="{0}.{1}".format(lang, quality),
|
87 |
-
description
|
|
|
|
|
88 |
**kwargs,
|
89 |
)
|
90 |
self.lang = lang
|
|
|
79 |
lang: string, two letter language code:
|
80 |
de, en, fi, fr, ru, sv
|
81 |
quality: int, filter training set according to quality:
|
82 |
+
[ 60, 65, 70, 75, 80, 85, 90, 95, 100 ]
|
83 |
**kwargs: keyword arguments forwarded to super.
|
84 |
"""
|
85 |
super(OpusparcusConfig, self).__init__(
|
86 |
name="{0}.{1}".format(lang, quality),
|
87 |
+
description=\
|
88 |
+
"Opusparcus datasets for '{:s}', training set quality: {:d}"\
|
89 |
+
.format(lang, quality),
|
90 |
**kwargs,
|
91 |
)
|
92 |
self.lang = lang
|