From fa4fd3b523a9a6222cdb06f0c15fb83bf8acbf27 Mon Sep 17 00:00:00 2001 From: Younes Belkada Date: Tue, 13 Dec 2022 11:56:10 +0000 Subject: [PATCH] Update README.md --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index 726ae5a..ce36e45 100644 --- a/README.md +++ b/README.md @@ -48,14 +48,12 @@ inputs = processor(raw_image, text, return_tensors="pt") out = model.generate(**inputs) print(processor.decode(out[0], skip_special_tokens=True)) -# >>> a photography of a woman and her dog # unconditional image captioning inputs = processor(raw_image, return_tensors="pt") out = model.generate(**inputs) print(processor.decode(out[0], skip_special_tokens=True)) ->>> a woman sitting on the beach with her dog ``` @@ -83,14 +81,12 @@ inputs = processor(raw_image, text, return_tensors="pt").to("cuda") out = model.generate(**inputs) print(processor.decode(out[0], skip_special_tokens=True)) -# >>> a photography of a woman and her dog # unconditional image captioning inputs = processor(raw_image, return_tensors="pt").to("cuda") out = model.generate(**inputs) print(processor.decode(out[0], skip_special_tokens=True)) ->>> a woman sitting on the beach with her dog ```