nielsr HF Staff commited on
Commit
69e032f
·
verified ·
1 Parent(s): 4387770

Add pipeline tag and library name to model card

Browse files

This PR enhances the model card by adding the `pipeline_tag: image-text-to-text` and `library_name: transformers` to the metadata.

- `library_name: transformers`: This addition enables the automated "how to use" code snippet widget on the Hugging Face Hub, showcasing the model's compatibility with the Transformers library, as evidenced by the existing "Quick start" section.
- `pipeline_tag: image-text-to-text`: This tag correctly categorizes the model, which takes both an image and a textual question as input to generate a textual response, improving its discoverability on the Hub.

The existing paper link, project page link, and sample usage section are preserved as they are already accurate and complete.

Files changed (1) hide show
  1. README.md +5 -6
README.md CHANGED
@@ -1,5 +1,7 @@
1
  ---
2
  license: apache-2.0
 
 
3
  ---
4
 
5
  # The first R1-styled model (ColonR1) tailored for reasoning in colonoscopy tasks
@@ -67,7 +69,8 @@ Below is a code snippet to help you quickly try out our ColonR1 model using Hugg
67
  "3. No extra information or text outside of these tags."
68
  )
69
 
70
- final_question = f"{Question}\n{TASK_SUFFIX}"
 
71
 
72
  messages = [
73
  {
@@ -119,8 +122,4 @@ Feel free to cite if you find the Colon-X Project useful for your work:
119
 
120
  # License
121
 
122
- This project utilizes certain datasets and checkpoints that are subject to their respective original licenses. Users must comply with all terms and conditions of these original licenses. The content of this project itself is licensed under the Apache license 2.0.
123
-
124
-
125
-
126
-
 
1
  ---
2
  license: apache-2.0
3
+ library_name: transformers
4
+ pipeline_tag: image-text-to-text
5
  ---
6
 
7
  # The first R1-styled model (ColonR1) tailored for reasoning in colonoscopy tasks
 
69
  "3. No extra information or text outside of these tags."
70
  )
71
 
72
+ final_question = f"{Question}
73
+ {TASK_SUFFIX}"
74
 
75
  messages = [
76
  {
 
122
 
123
  # License
124
 
125
+ This project utilizes certain datasets and checkpoints that are subject to their respective original licenses. Users must comply with all terms and conditions of these original licenses. The content of this project itself is licensed under the Apache license 2.0.