Gaëtan Caillaut
commited on
Commit
·
b7f5ca3
1
Parent(s):
59ab6e1
v0.2.3
Browse files
data/frwiki-20220901/corpus.jsonl.gz
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ff7552edaa792aac97ec98e843934c2f89ab0a6f4e6f396aeaaea9471a3d0eec
|
3 |
+
size 2906655985
|
data/frwiki-20220901/corpus_abstracts.jsonl.gz
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b3f69686abc68357ea0e951a902bd90023df85c02eb6623ee6b92c745c8a4b0
|
3 |
+
size 423652809
|
data/frwiki-20220901/corpus_mini.jsonl.gz
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b053d788ebb0e4cee73e70c692fa1929e90160f6b7727f6d4dc7ce3889b3feb
|
3 |
+
size 118438
|
data/frwiki-20220901/entities.jsonl.gz
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d0f0c0d14e25142da6b2ea3b0116f1df4dfc16e341919fc8870fdd60b5803b1
|
3 |
+
size 168104357
|
frwiki_el.py
CHANGED
@@ -45,7 +45,7 @@ class FrwikiElDataset(datasets.GeneratorBasedBuilder):
|
|
45 |
"""
|
46 |
"""
|
47 |
|
48 |
-
VERSION = datasets.Version("0.2.
|
49 |
|
50 |
# This is an example of a dataset with multiple configurations.
|
51 |
# If you don't want/need to define several sub-sets in your dataset,
|
@@ -144,8 +144,4 @@ class FrwikiElDataset(datasets.GeneratorBasedBuilder):
|
|
144 |
with gzip.open(open(path, 'rb'), "rt", encoding="UTF-8") as datafile:
|
145 |
for id, line in enumerate(datafile):
|
146 |
item = json.loads(line)
|
147 |
-
|
148 |
-
if item['wikipedia_id'] == 4883187:
|
149 |
-
continue
|
150 |
-
else:
|
151 |
-
yield id, item
|
|
|
45 |
"""
|
46 |
"""
|
47 |
|
48 |
+
VERSION = datasets.Version("0.2.3")
|
49 |
|
50 |
# This is an example of a dataset with multiple configurations.
|
51 |
# If you don't want/need to define several sub-sets in your dataset,
|
|
|
144 |
with gzip.open(open(path, 'rb'), "rt", encoding="UTF-8") as datafile:
|
145 |
for id, line in enumerate(datafile):
|
146 |
item = json.loads(line)
|
147 |
+
yield id, item
|
|
|
|
|
|
|
|