system HF staff commited on
Commit
ef139ce
1 Parent(s): add8e3d

Update files from the datasets library (from 1.6.1)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.6.1

Files changed (1) hide show
  1. europarl_bilingual.py +3 -3
europarl_bilingual.py CHANGED
@@ -77,7 +77,7 @@ _BASE_URL_RELATIONS = "https://opus.nlpl.eu/download.php?f=Europarl/v8/xml/{}-{}
77
 
78
 
79
  class EuroparlBilingualConfig(datasets.BuilderConfig):
80
- """ Slightly custom config to require source and target languages. """
81
 
82
  def __init__(self, *args, lang1=None, lang2=None, **kwargs):
83
  super().__init__(
@@ -96,7 +96,7 @@ class EuroparlBilingualConfig(datasets.BuilderConfig):
96
 
97
 
98
  class EuroparlBilingual(datasets.GeneratorBasedBuilder):
99
- """ Europarl contains aligned sentences in multiple west language pairs."""
100
 
101
  VERSION = datasets.Version(_VERSION)
102
 
@@ -107,7 +107,7 @@ class EuroparlBilingual(datasets.GeneratorBasedBuilder):
107
  ]
108
 
109
  def _info(self):
110
- """ This method specifies the datasets.DatasetInfo object which contains informations and typings for the dataset. """
111
  features = datasets.Features(
112
  {
113
  "translation": datasets.Translation(languages=(self.config.lang1, self.config.lang2)),
 
77
 
78
 
79
  class EuroparlBilingualConfig(datasets.BuilderConfig):
80
+ """Slightly custom config to require source and target languages."""
81
 
82
  def __init__(self, *args, lang1=None, lang2=None, **kwargs):
83
  super().__init__(
 
96
 
97
 
98
  class EuroparlBilingual(datasets.GeneratorBasedBuilder):
99
+ """Europarl contains aligned sentences in multiple west language pairs."""
100
 
101
  VERSION = datasets.Version(_VERSION)
102
 
 
107
  ]
108
 
109
  def _info(self):
110
+ """This method specifies the datasets.DatasetInfo object which contains informations and typings for the dataset."""
111
  features = datasets.Features(
112
  {
113
  "translation": datasets.Translation(languages=(self.config.lang1, self.config.lang2)),