derektan95 commited on
Commit
44fb3df
·
verified ·
1 Parent(s): 4adc5da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -6
app.py CHANGED
@@ -176,15 +176,14 @@ examples = [
176
  ]
177
  output_labels = ["Segmentation Output"]
178
 
179
- title = "LISA: Reasoning Segmentation via Large Language Model"
180
 
181
  description = """
182
  <font size=4>
183
- This is an adapted version of the online demo for LISA, where we pretrained the LISA model with data from AVS-Bench (Search-TTA). \n
184
  If multiple users are using it at the same time, they will enter a queue, which may delay some time. \n
185
  **Note**: **Different prompts can lead to significantly varied results**. \n
186
  **Note**: Please try to **standardize** your input text prompts to **avoid ambiguity**, and also pay attention to whether the **punctuations** of the input are correct. \n
187
- **Note**: Current model is **LISA-13B-llama2-v0-explanatory**, and 4-bit quantization may impair text-generation quality. \n
188
  **Usage**: <br>
189
  &ensp;(1) To let LISA **segment something**, input prompt like: "Can you segment xxx in this image?", "What is xxx in this image? Please output segmentation mask."; <br>
190
  &ensp;(2) To let LISA **output an explanation**, input prompt like: "What is xxx in this image? Please output segmentation mask and explain why."; <br>
@@ -195,12 +194,17 @@ Hope you can enjoy our work!
195
 
196
  article = """
197
  <p style='text-align: center'>
198
- <a href='https://arxiv.org/abs/2308.00692' target='_blank'>
199
- Preprint Paper
200
  </a>
201
  \n
202
  <p style='text-align: center'>
203
- <a href='https://github.com/dvlab-research/LISA' target='_blank'> Github Repo </a></p>
 
 
 
 
 
204
  """
205
 
206
 
 
176
  ]
177
  output_labels = ["Segmentation Output"]
178
 
179
+ title = "LISA-AVS: LISA 7B Model Finetuned on AVS-Bench Dataset"
180
 
181
  description = """
182
  <font size=4>
183
+ Note: This is an adapted version of the online demo for LISA, where we finetune from scratch the LISA model (7B) with data from AVS-Bench (Search-TTA). \n
184
  If multiple users are using it at the same time, they will enter a queue, which may delay some time. \n
185
  **Note**: **Different prompts can lead to significantly varied results**. \n
186
  **Note**: Please try to **standardize** your input text prompts to **avoid ambiguity**, and also pay attention to whether the **punctuations** of the input are correct. \n
 
187
  **Usage**: <br>
188
  &ensp;(1) To let LISA **segment something**, input prompt like: "Can you segment xxx in this image?", "What is xxx in this image? Please output segmentation mask."; <br>
189
  &ensp;(2) To let LISA **output an explanation**, input prompt like: "What is xxx in this image? Please output segmentation mask and explain why."; <br>
 
194
 
195
  article = """
196
  <p style='text-align: center'>
197
+ <a href='https://search-tta.github.io/' target='_blank'>
198
+ Search-TTA
199
  </a>
200
  \n
201
  <p style='text-align: center'>
202
+ <a href='https://huggingface.co/datasets/derektan95/avs-bench' target='_blank'>
203
+ AVS-Bench
204
+ </a>
205
+ \n
206
+ <p style='text-align: center'>
207
+ <a href='https://github.com/dvlab-research/LISA' target='_blank'> LISA Project </a></p>
208
  """
209
 
210