atasoglu commited on
Commit
d722476
1 Parent(s): 24a36dc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -39,7 +39,7 @@ features = feature_extractor(images=[img], return_tensors="pt")
39
  pixel_values = features.pixel_values.to(device)
40
 
41
  generated_captions = tokenizer.batch_decode(
42
- model.generate(pixel_values, max_new_tokens=128),
43
  skip_special_tokens=True,
44
  )
45
 
 
39
  pixel_values = features.pixel_values.to(device)
40
 
41
  generated_captions = tokenizer.batch_decode(
42
+ model.generate(pixel_values, max_new_tokens=20),
43
  skip_special_tokens=True,
44
  )
45