Papadopoulos, Dimitris
commited on
Commit
·
1099c0c
1
Parent(s):
ff585be
Fixed readme
Browse files
README.md
CHANGED
@@ -6,7 +6,7 @@ tags:
|
|
6 |
- translation
|
7 |
|
8 |
widget:
|
9 |
-
- text: "
|
10 |
license: apache-2.0
|
11 |
metrics:
|
12 |
- bleu
|
@@ -42,7 +42,7 @@ mname = " <your_downloaded_model_folderpath_here> "
|
|
42 |
tokenizer = FSMTTokenizer.from_pretrained(mname)
|
43 |
model = FSMTForConditionalGeneration.from_pretrained(mname)
|
44 |
|
45 |
-
text = "
|
46 |
|
47 |
encoded = tokenizer.encode(text, return_tensors='pt')
|
48 |
|
|
|
6 |
- translation
|
7 |
|
8 |
widget:
|
9 |
+
- text: "Η τύχη βοηθάει τους τολμηρούς."
|
10 |
license: apache-2.0
|
11 |
metrics:
|
12 |
- bleu
|
|
|
42 |
tokenizer = FSMTTokenizer.from_pretrained(mname)
|
43 |
model = FSMTForConditionalGeneration.from_pretrained(mname)
|
44 |
|
45 |
+
text = "Η τύχη βοηθάει τους τολμηρούς."
|
46 |
|
47 |
encoded = tokenizer.encode(text, return_tensors='pt')
|
48 |
|