birgermoell
commited on
Commit
•
9b02708
1
Parent(s):
a60d26b
Updated eval
Browse files
evaluate.py
CHANGED
@@ -8,7 +8,7 @@ def pt_evaluate():
|
|
8 |
model = AutoModelForMaskedLM.from_pretrained("flax-community/nordic-roberta-wiki")
|
9 |
|
10 |
my_unmasker_pipeline = pipeline('fill-mask', model=model, tokenizer=tokenizer)
|
11 |
-
output = my_unmasker_pipeline("
|
12 |
print(output)
|
13 |
|
14 |
pt_evaluate()
|
|
|
8 |
model = AutoModelForMaskedLM.from_pretrained("flax-community/nordic-roberta-wiki")
|
9 |
|
10 |
my_unmasker_pipeline = pipeline('fill-mask', model=model, tokenizer=tokenizer)
|
11 |
+
output = my_unmasker_pipeline("Det är roligt att <mask>")
|
12 |
print(output)
|
13 |
|
14 |
pt_evaluate()
|
events.out.tfevents.1626248489.t1v-n-905ccd3e-w-0.123625.3.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6a54b8878b7d5c432d7c82c21ba1b0aee5b6a6cb964ea2658de4a15accd3307
|
3 |
+
size 40
|
events.out.tfevents.1626248655.t1v-n-905ccd3e-w-0.131950.3.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a57d685442e397e189223afceea98fd38013facbffeda690a1729dc105c83320
|
3 |
+
size 3817116
|