Update internvl2-bbox-prompt.yaml
Browse files- internvl2-bbox-prompt.yaml +20 -0
internvl2-bbox-prompt.yaml
CHANGED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
prompt:
|
2 |
+
messages:
|
3 |
+
- role: user
|
4 |
+
content:
|
5 |
+
- type: image_url
|
6 |
+
image_url:
|
7 |
+
url: {image_url}
|
8 |
+
- type: text
|
9 |
+
text: Please provide the bounding box coordinate of the region this sentence describes: <ref>{area_description}</ref>
|
10 |
+
|
11 |
+
# Optional: You can list the input variables here to enable validation of the template
|
12 |
+
# This follows the LangChain PromptTemplate convention: https://api.python.langchain.com/en/latest/core/prompts/langchain_core.prompts.prompt.PromptTemplate.html
|
13 |
+
input_variables:
|
14 |
+
- image_url
|
15 |
+
- area_description
|
16 |
+
|
17 |
+
# Additional metadata
|
18 |
+
metadata:
|
19 |
+
model: https://huggingface.co/collections/OpenGVLab/internvl-20-667d3961ab5eb12c7ed1463e
|
20 |
+
|