MoritzLaurer commited on
Commit
14428bc
·
verified ·
1 Parent(s): e4d408c

Upload internvl2-objectdetection-prompt.yaml with huggingface_hub

Browse files
internvl2-objectdetection-prompt.yaml CHANGED
@@ -1,18 +1,13 @@
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
 
1
  prompt:
2
+ template:
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
+ template_variables:
11
+ - image_url
 
 
 
 
 
12
  metadata:
13
  model: https://huggingface.co/collections/OpenGVLab/internvl-20-667d3961ab5eb12c7ed1463e