ydshieh HF staff commited on
Commit
5d18dc3
1 Parent(s): d2f46ca

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -40,7 +40,7 @@ generated_text = processor.batch_decode(generated_ids, skip_special_tokens=True)
40
  processed_text = processor.post_processor_generation(generated_text, cleanup_and_extract=False)
41
 
42
  print(processed_text)
43
- # `An image of a snowman<patch_index_0044><patch_index_0863> warming himself by a fire<patch_index_0005><patch_index_0911>.`
44
 
45
  # By default, the generated text is cleanup and the entities are extracted.
46
  processed_text, entities = processor.post_processor_generation(generated_text)
 
40
  processed_text = processor.post_processor_generation(generated_text, cleanup_and_extract=False)
41
 
42
  print(processed_text)
43
+ # `<grounding> An image of<phrase> a snowman</phrase><object><patch_index_0044><patch_index_0863></object> warming himself by<phrase> a fire</phrase><object><patch_index_0005><patch_index_0911></object>.`
44
 
45
  # By default, the generated text is cleanup and the entities are extracted.
46
  processed_text, entities = processor.post_processor_generation(generated_text)