SkitCon commited on
Commit
7f59eaa
·
verified ·
1 Parent(s): 1c77bed

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -33,8 +33,8 @@ input_sentences = ["Yo va al tienda.", "Espero que tú ganas."]
33
 
34
  tokenized_text = tokenizer(input_sentences, return_tensors="pt")
35
 
36
- input_ids = source_enc["input_ids"].squeeze()
37
- attention_mask = source_enc["attention_mask"].squeeze()
38
 
39
  outputs = model.generate(input_ids=input_ids, attention_mask=attention_mask)
40
 
 
33
 
34
  tokenized_text = tokenizer(input_sentences, return_tensors="pt")
35
 
36
+ input_ids = tokenized_text["input_ids"].squeeze()
37
+ attention_mask = tokenized_text["attention_mask"].squeeze()
38
 
39
  outputs = model.generate(input_ids=input_ids, attention_mask=attention_mask)
40