Update README.md
Browse files
README.md
CHANGED
@@ -67,7 +67,7 @@ image_tensor = model.process_images([image], model.config).to(dtype=model.dtype)
|
|
67 |
output_ids = model.generate(
|
68 |
input_ids,
|
69 |
images=image_tensor,
|
70 |
-
max_new_tokens=
|
71 |
use_cache=True)[0]
|
72 |
|
73 |
print(tokenizer.decode(output_ids[input_ids.shape[1]:], skip_special_tokens=True).strip())
|
|
|
67 |
output_ids = model.generate(
|
68 |
input_ids,
|
69 |
images=image_tensor,
|
70 |
+
max_new_tokens=2048,
|
71 |
use_cache=True)[0]
|
72 |
|
73 |
print(tokenizer.decode(output_ids[input_ids.shape[1]:], skip_special_tokens=True).strip())
|