Commit
•
20d0a39
1
Parent(s):
9ca08c9
Create internvl2-objectdetection-prompt.yaml
Browse files
internvl2-objectdetection-prompt.yaml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 detect and label all objects in the following image and mark their positions."
|
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 |
+
|
16 |
+
# Additional metadata
|
17 |
+
metadata:
|
18 |
+
model: https://huggingface.co/collections/OpenGVLab/internvl-20-667d3961ab5eb12c7ed1463e
|