CadenzaBaron
commited on
Commit
•
71a5e5c
1
Parent(s):
b032140
Update README.md
Browse files
README.md
CHANGED
@@ -31,7 +31,7 @@ inputs = tokenizer(test_string, return_tensors="pt")
|
|
31 |
translated_tokens = model.generate(**inputs, num_beams=10, do_sample=True)
|
32 |
translation = tokenizer.batch_decode(translated_tokens, skip_special_tokens=True)[0]
|
33 |
|
34 |
-
print("CH : ", test_string , " // EN : ", translation)
|
35 |
```
|
36 |
|
37 |
Translation sample and comparison with Google Translate and DeepL : [Link to Spreadsheet](https://docs.google.com/spreadsheets/d/1J1i9P0nyI9q5-m2iZGSUatt3ZdHSxU8NOp9tJH7wxsk/edit?usp=sharing)
|
|
|
31 |
translated_tokens = model.generate(**inputs, num_beams=10, do_sample=True)
|
32 |
translation = tokenizer.batch_decode(translated_tokens, skip_special_tokens=True)[0]
|
33 |
|
34 |
+
print("CH : ", test_string , " // EN : ", translation)
|
35 |
```
|
36 |
|
37 |
Translation sample and comparison with Google Translate and DeepL : [Link to Spreadsheet](https://docs.google.com/spreadsheets/d/1J1i9P0nyI9q5-m2iZGSUatt3ZdHSxU8NOp9tJH7wxsk/edit?usp=sharing)
|