AlexWortega commited on
Commit
74a13a9
1 Parent(s): 214d407

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -68,7 +68,7 @@ def generate_seqs(q,model, k=2):
68
  "num_beams": 4,
69
  "num_return_sequences": k
70
  }
71
- q = q
72
  t = tokenizer.encode(q, add_special_tokens=False, return_tensors='pt').to(device)
73
  g = model.generate(t, **gen_kwargs)
74
  generated_sequences = tokenizer.batch_decode(g, skip_special_tokens=False)
 
68
  "num_beams": 4,
69
  "num_return_sequences": k
70
  }
71
+
72
  t = tokenizer.encode(q, add_special_tokens=False, return_tensors='pt').to(device)
73
  g = model.generate(t, **gen_kwargs)
74
  generated_sequences = tokenizer.batch_decode(g, skip_special_tokens=False)