Datasets:
Update
Browse files- WMT-16-PubMed.py +1 -0
WMT-16-PubMed.py
CHANGED
@@ -131,6 +131,7 @@ class WMT_16_PubMed(datasets.GeneratorBasedBuilder):
|
|
131 |
with open(filepath, 'rb') as fd:
|
132 |
gzip_fd = gzip.GzipFile(fileobj=fd)
|
133 |
df = pd.read_csv(gzip_fd)
|
|
|
134 |
# df = pd.read_csv(filepath, compression='gzip', header=0, sep=',')
|
135 |
|
136 |
for index, row in df.loc[df['lang'] == self.config.name].iterrows():
|
|
|
131 |
with open(filepath, 'rb') as fd:
|
132 |
gzip_fd = gzip.GzipFile(fileobj=fd)
|
133 |
df = pd.read_csv(gzip_fd)
|
134 |
+
|
135 |
# df = pd.read_csv(filepath, compression='gzip', header=0, sep=',')
|
136 |
|
137 |
for index, row in df.loc[df['lang'] == self.config.name].iterrows():
|