Upload 2 files
Browse filesfix output file
- convert_dialekt.py +2 -3
- test.jsonl +2 -2
convert_dialekt.py
CHANGED
@@ -118,6 +118,5 @@ processed_documents = process_vert_format(vert_content)
|
|
118 |
OF = ".data/hf_dataset/cnc_dialekt/test.jsonl"
|
119 |
os.makedirs(os.path.dirname(OF), exist_ok=True)
|
120 |
with jsonlines.open(OF, "w") as writer:
|
121 |
-
for
|
122 |
-
|
123 |
-
writer.write({"text": doc})
|
|
|
118 |
OF = ".data/hf_dataset/cnc_dialekt/test.jsonl"
|
119 |
os.makedirs(os.path.dirname(OF), exist_ok=True)
|
120 |
with jsonlines.open(OF, "w") as writer:
|
121 |
+
for doc_id, doc in list(processed_documents.items()):
|
122 |
+
writer.write({"text": doc, "id": doc_id})
|
|
test.jsonl
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:55bd598e3feee2f1b3f89a4380fcc81c0ff80328752a0b2e05fffee5c9699a26
|
3 |
+
size 3211277
|