gokaygokay commited on
Commit
95bff31
1 Parent(s): 6f782c6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -34,7 +34,7 @@ model_inputs = processor(text=prompt, images=image, return_tensors="pt").to('cud
34
  input_len = model_inputs["input_ids"].shape[-1]
35
 
36
  with torch.inference_mode():
37
- generation = model.generate(**model_inputs, repetition_penalty = 1.10, max_new_tokens=256, do_sample=False)
38
  generation = generation[0][input_len:]
39
  decoded = processor.decode(generation, skip_special_tokens=True)
40
  print(decoded)
 
34
  input_len = model_inputs["input_ids"].shape[-1]
35
 
36
  with torch.inference_mode():
37
+ generation = model.generate(**model_inputs, repetition_penalty=1.10, max_new_tokens=256, do_sample=False)
38
  generation = generation[0][input_len:]
39
  decoded = processor.decode(generation, skip_special_tokens=True)
40
  print(decoded)