pere commited on
Commit
a3213a5
1 Parent(s): 939a036
Files changed (3) hide show
  1. dump.jsonl +2 -2
  2. dump_3k_scand_xl_sme_nob.txt +0 -0
  3. format_eval.py +1 -1
dump.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9e8ea1bca2da4d8e258af95a17bae34ea81d03fdc9d4e421da99aedef8a43920
3
- size 467261
 
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"\nNorwegian: {obj['input']['inputs_pretokenized']}")
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']}")