li-qing commited on
Commit
b180789
1 Parent(s): 6bfbf13

fix: examples

Browse files
src/model/__pycache__/__init__.cpython-310.pyc CHANGED
Binary files a/src/model/__pycache__/__init__.cpython-310.pyc and b/src/model/__pycache__/__init__.cpython-310.pyc differ
 
src/model/__pycache__/compression.cpython-310.pyc CHANGED
Binary files a/src/model/__pycache__/compression.cpython-310.pyc and b/src/model/__pycache__/compression.cpython-310.pyc differ
 
src/model/__pycache__/llama_condense_monkey_patch.cpython-310.pyc CHANGED
Binary files a/src/model/__pycache__/llama_condense_monkey_patch.cpython-310.pyc and b/src/model/__pycache__/llama_condense_monkey_patch.cpython-310.pyc differ
 
src/model/__pycache__/model_adapter.cpython-310.pyc CHANGED
Binary files a/src/model/__pycache__/model_adapter.cpython-310.pyc and b/src/model/__pycache__/model_adapter.cpython-310.pyc differ
 
src/model/__pycache__/model_chatglm.cpython-310.pyc CHANGED
Binary files a/src/model/__pycache__/model_chatglm.cpython-310.pyc and b/src/model/__pycache__/model_chatglm.cpython-310.pyc differ
 
src/model/__pycache__/model_cllm.cpython-310.pyc CHANGED
Binary files a/src/model/__pycache__/model_cllm.cpython-310.pyc and b/src/model/__pycache__/model_cllm.cpython-310.pyc differ
 
src/model/__pycache__/model_codet5p.cpython-310.pyc CHANGED
Binary files a/src/model/__pycache__/model_codet5p.cpython-310.pyc and b/src/model/__pycache__/model_codet5p.cpython-310.pyc differ
 
src/model/__pycache__/model_exllama.cpython-310.pyc CHANGED
Binary files a/src/model/__pycache__/model_exllama.cpython-310.pyc and b/src/model/__pycache__/model_exllama.cpython-310.pyc differ
 
src/model/__pycache__/model_falcon.cpython-310.pyc CHANGED
Binary files a/src/model/__pycache__/model_falcon.cpython-310.pyc and b/src/model/__pycache__/model_falcon.cpython-310.pyc differ
 
src/model/__pycache__/model_registry.cpython-310.pyc CHANGED
Binary files a/src/model/__pycache__/model_registry.cpython-310.pyc and b/src/model/__pycache__/model_registry.cpython-310.pyc differ
 
src/model/__pycache__/model_xfastertransformer.cpython-310.pyc CHANGED
Binary files a/src/model/__pycache__/model_xfastertransformer.cpython-310.pyc and b/src/model/__pycache__/model_xfastertransformer.cpython-310.pyc differ
 
src/model/__pycache__/model_yuan2.cpython-310.pyc CHANGED
Binary files a/src/model/__pycache__/model_yuan2.cpython-310.pyc and b/src/model/__pycache__/model_yuan2.cpython-310.pyc differ
 
src/model/__pycache__/monkey_patch_non_inplace.cpython-310.pyc CHANGED
Binary files a/src/model/__pycache__/monkey_patch_non_inplace.cpython-310.pyc and b/src/model/__pycache__/monkey_patch_non_inplace.cpython-310.pyc differ
 
src/serve/gradio_block_arena_vision_named.py CHANGED
@@ -352,9 +352,11 @@ def build_side_by_side_vision_ui_named(models, random_questions=None):
352
  {
353
  "files": ["assets/image_50.png"],
354
  "text": "Please directly answer the question and provide the correct option letter, e.g., A, B, C, D.\nQuestion: As shown in the figure, then angle COE = ()\nChoices:\nA:30°\nB:140°\nC:50°\nD:60°"
355
- },
 
 
356
  {
357
- "files": ["assets/test_11407.png"],
358
  "text": """Hint: Please answer the question and provide the correct option letter, e.g., A, B, C, D, at the end.
359
  Question: 如图,△ABC中,AD为中线,AD⊥AC,∠BAD=30°,AB=3,则AC长()
360
  Choices:
@@ -362,7 +364,9 @@ A. 2.5
362
  B. 2
363
  C. 1
364
  D. 1.5"""
365
- },
 
 
366
  {
367
  "files": ["assets/magnetic.png"],
368
  "text": """Hint: Please answer the question and provide the correct option letter, e.g., A, B, C, D, at the end.
@@ -370,7 +374,9 @@ Question: Will these magnets attract or repel each other?
370
  Choices:
371
  A. repel
372
  B. attract"""
373
- },
 
 
374
  {
375
  "files": ["assets/fox.png"],
376
  "text": """Hint: Please answer the question and provide the correct option letter, e.g., A, B, C, D, at the end.
@@ -379,9 +385,8 @@ Choices:
379
  A. Arctic fox
380
  B. rough-legged hawk
381
  C. mushroom"""
382
- },
383
-
384
- ],
385
  ],inputs=[textbox])
386
  with gr.Accordion("Parameters", open=False) as parameter_row:
387
  temperature = gr.Slider(
 
352
  {
353
  "files": ["assets/image_50.png"],
354
  "text": "Please directly answer the question and provide the correct option letter, e.g., A, B, C, D.\nQuestion: As shown in the figure, then angle COE = ()\nChoices:\nA:30°\nB:140°\nC:50°\nD:60°"
355
+ }
356
+ ],
357
+ [
358
  {
359
+ "files": ["assets/test_11407.jpg"],
360
  "text": """Hint: Please answer the question and provide the correct option letter, e.g., A, B, C, D, at the end.
361
  Question: 如图,△ABC中,AD为中线,AD⊥AC,∠BAD=30°,AB=3,则AC长()
362
  Choices:
 
364
  B. 2
365
  C. 1
366
  D. 1.5"""
367
+ }
368
+ ],
369
+ [
370
  {
371
  "files": ["assets/magnetic.png"],
372
  "text": """Hint: Please answer the question and provide the correct option letter, e.g., A, B, C, D, at the end.
 
374
  Choices:
375
  A. repel
376
  B. attract"""
377
+ }
378
+ ],
379
+ [
380
  {
381
  "files": ["assets/fox.png"],
382
  "text": """Hint: Please answer the question and provide the correct option letter, e.g., A, B, C, D, at the end.
 
385
  A. Arctic fox
386
  B. rough-legged hawk
387
  C. mushroom"""
388
+ }
389
+ ]
 
390
  ],inputs=[textbox])
391
  with gr.Accordion("Parameters", open=False) as parameter_row:
392
  temperature = gr.Slider(