Parcourir la source

examples : fix typo in minigpt4.py (#2298)

promt -> prompt
Ikko Eltociear Ashimine il y a 2 ans
Parent
commit
03e566977b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      examples/embd-input/minigpt4.py

+ 1 - 1
examples/embd-input/minigpt4.py

@@ -64,7 +64,7 @@ class MiniGPT4(Blip2Base):
         self.max_txt_len = max_txt_len
         self.max_txt_len = max_txt_len
         self.end_sym = end_sym
         self.end_sym = end_sym
         self.model = MyModel(["main", *args])
         self.model = MyModel(["main", *args])
-        # system promt
+        # system prompt
         self.model.eval_string("Give the following image: <Img>ImageContent</Img>. "
         self.model.eval_string("Give the following image: <Img>ImageContent</Img>. "
            "You will be able to see the image once I provide it to you. Please answer my questions."
            "You will be able to see the image once I provide it to you. Please answer my questions."
            "###")
            "###")