aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorIkko Eltociear Ashimine <eltociear@gmail.com>2023-07-21 20:53:07 +0900
committerGitHub <noreply@github.com>2023-07-21 14:53:07 +0300
commit03e566977b277937c5f706180171c5d12b597b0b (patch)
tree2107fb66402a8f8b56575be02ba5e46b7a65bf65 /examples
parent513f8619535a64fa9ace808cdcbcf66211535f5c (diff)
examples : fix typo in minigpt4.py (#2298)
promt -> prompt
Diffstat (limited to 'examples')
-rw-r--r--examples/embd-input/minigpt4.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/embd-input/minigpt4.py b/examples/embd-input/minigpt4.py
index 8e98f85..15c9b77 100644
--- a/examples/embd-input/minigpt4.py
+++ b/examples/embd-input/minigpt4.py
@@ -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."
"###")