sultan-hassan commited on
Commit
6b76d6d
1 Parent(s): 9a2225d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -48,7 +48,7 @@ prompt = template.format(
48
  response="",
49
  )
50
  out = gemma_lm.generate(prompt, max_length=1024)
51
- ind = out.index('Response') + len('Response')+2
52
  print ("Question:", Question)
53
  print ("Answer:", out[ind:])
54
  ```
 
48
  response="",
49
  )
50
  out = gemma_lm.generate(prompt, max_length=1024)
51
+ ind = out.index('\n\nResponse:\n') + len('\n\nResponse:\n')
52
  print ("Question:", Question)
53
  print ("Answer:", out[ind:])
54
  ```