ai-forever commited on
Commit
84b9243
1 Parent(s): 1056360

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -78,6 +78,7 @@ We compare our solution with both open automatic spell checkers and the ChatGPT
78
  | HunSpell | 28.5 | 30.7 | 29.6 |
79
 
80
  ## How to use
 
81
  from transformers import M2M100ForConditionalGeneration, M2M100Tokenizer
82
 
83
  path_to_model = "<path_to_model>"
@@ -93,4 +94,5 @@ generated_tokens = model.generate(
93
  answer = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
94
  print(answer)
95
 
96
- # ["прийдя в МГТУ я был удивлен никого не обнаружив там..."]
 
 
78
  | HunSpell | 28.5 | 30.7 | 29.6 |
79
 
80
  ## How to use
81
+ ```
82
  from transformers import M2M100ForConditionalGeneration, M2M100Tokenizer
83
 
84
  path_to_model = "<path_to_model>"
 
94
  answer = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
95
  print(answer)
96
 
97
+ ["прийдя в МГТУ я был удивлен никого не обнаружив там..."]
98
+ ```