]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
examples : fix typo in minigpt4.py (#2298)
authorIkko Eltociear Ashimine <redacted>
Fri, 21 Jul 2023 11:53:07 +0000 (20:53 +0900)
committerGitHub <redacted>
Fri, 21 Jul 2023 11:53:07 +0000 (14:53 +0300)
promt -> prompt

examples/embd-input/minigpt4.py

index 8e98f85179c4e0a2d8165ae8424638d840bf991a..15c9b77c0d37c73316528404360ef3cea72218e5 100644 (file)
@@ -64,7 +64,7 @@ class MiniGPT4(Blip2Base):
         self.max_txt_len = max_txt_len
         self.end_sym = end_sym
         self.model = MyModel(["main", *args])
-        # system promt
+        # system prompt
         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."
            "###")