JCarlos commited on
Commit
427f281
1 Parent(s): bcfb5aa

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -49,7 +49,7 @@ To translate you can do:
49
 
50
  ```python
51
  >>> sentence = "Entonces dijo"
52
- >>> input = tokenizer(text, return_tensors="pt")
53
  >>> output = model.generate(input["input_ids"], max_length=40, num_beams=4, early_stopping=True)
54
  >>> print('Original Sentence: {} \nTranslated sentence: {}'.format(sentence, tokenizer.decode(output[0])))
55
  ```
 
49
 
50
  ```python
51
  >>> sentence = "Entonces dijo"
52
+ >>> input = tokenizer(sentence, return_tensors="pt")
53
  >>> output = model.generate(input["input_ids"], max_length=40, num_beams=4, early_stopping=True)
54
  >>> print('Original Sentence: {} \nTranslated sentence: {}'.format(sentence, tokenizer.decode(output[0])))
55
  ```