nob
Browse files- dump.jsonl +2 -2
- dump_3k_scand_xl_sme_nob.txt +0 -0
- format_eval.py +1 -1
dump.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:105a4fc6a1353832e75a403f41a4be20db3f9854fd64567bfe5f13847e4221f2
|
3 |
+
size 434904
|
dump_3k_scand_xl_sme_nob.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
format_eval.py
CHANGED
@@ -3,6 +3,6 @@ import json
|
|
3 |
json_file="dump.jsonl"
|
4 |
with jsonlines.open(json_file) as reader:
|
5 |
for obj in reader:
|
6 |
-
print(f"\
|
7 |
print(f"Target: {obj['target']}")
|
8 |
print(f"Result: {obj['prediction']}")
|
|
|
3 |
json_file="dump.jsonl"
|
4 |
with jsonlines.open(json_file) as reader:
|
5 |
for obj in reader:
|
6 |
+
print(f"\nSami: {obj['input']['inputs_pretokenized']}")
|
7 |
print(f"Target: {obj['target']}")
|
8 |
print(f"Result: {obj['prediction']}")
|