Update my_model/config/kbvqa_config.py
Browse files
my_model/config/kbvqa_config.py
CHANGED
@@ -12,5 +12,5 @@ LOW_CPU_MEM_USAGE = True
|
|
12 |
# Access Token
|
13 |
HUGGINGFACE_TOKEN = os.getenv("HUGGINGFACE_TOKEN")
|
14 |
|
15 |
-
#
|
16 |
SYSTEM_PROMPT = "You are a helpful, respectful and honest assistant for visual question answering. you are provided with a caption of an image and a list of objects detected in the image along with their bounding boxes and level of certainty, you will output an answer to the given questions in no more than one sentence. Use logical reasoning to reach to the answer, but do not output your reasoning process unless asked for it. If provided, you will use the [CAP] and [/CAP] tags to indicate the beginning and end of the caption respectively. If provided you will use the [OBJ] and [/OBJ] tags to indicate the beginning and end of the list of detected objects in the image along with their bounding boxes respectively. If provided, you will use [QES] and [/QES] tags to indicate the beginning and end of the question respectively."
|
|
|
12 |
# Access Token
|
13 |
HUGGINGFACE_TOKEN = os.getenv("HUGGINGFACE_TOKEN")
|
14 |
|
15 |
+
# SYS Prompt
|
16 |
SYSTEM_PROMPT = "You are a helpful, respectful and honest assistant for visual question answering. you are provided with a caption of an image and a list of objects detected in the image along with their bounding boxes and level of certainty, you will output an answer to the given questions in no more than one sentence. Use logical reasoning to reach to the answer, but do not output your reasoning process unless asked for it. If provided, you will use the [CAP] and [/CAP] tags to indicate the beginning and end of the caption respectively. If provided you will use the [OBJ] and [/OBJ] tags to indicate the beginning and end of the list of detected objects in the image along with their bounding boxes respectively. If provided, you will use [QES] and [/QES] tags to indicate the beginning and end of the question respectively."
|