From ea045e6de498c46c532ab5cea14bc3227cefbcfb Mon Sep 17 00:00:00 2001 From: Lianmin Zheng Date: Tue, 5 Sep 2023 11:40:58 -0700 Subject: [PATCH] Update sponsor logos (#2367) --- fastchat/model/model_registry.py | 2 +- fastchat/serve/gradio_block_arena_anony.py | 10 +++++----- fastchat/serve/gradio_web_server.py | 20 +++++++++++++++++++- 3 files changed, 25 insertions(+), 7 deletions(-) diff --git a/fastchat/model/model_registry.py b/fastchat/model/model_registry.py index 96e2e768d..92938abc9 100644 --- a/fastchat/model/model_registry.py +++ b/fastchat/model/model_registry.py @@ -81,7 +81,7 @@ def get_model_info(name: str) -> ModelInfo: "a chat assistant fine-tuned from LLaMA on user-shared conversations by LMSYS", ) register_model_info( - ["wizardlm-13b"], + ["wizardlm-70b", "wizardlm-30b", "wizardlm-13b"], "WizardLM", "https://github.com/nlpxucan/WizardLM", "an instruction-following LLM using evol-instruct by Microsoft", diff --git a/fastchat/serve/gradio_block_arena_anony.py b/fastchat/serve/gradio_block_arena_anony.py index e20bdcd78..978f76b75 100644 --- a/fastchat/serve/gradio_block_arena_anony.py +++ b/fastchat/serve/gradio_block_arena_anony.py @@ -174,17 +174,17 @@ def share_click(state0, state1, model_selector0, model_selector1, request: gr.Re "vicuna-33b": 1.5, "vicuna-13b": 1.5, "mpt-30b-chat": 1.5, + "wizardlm-70b": 1.5, "wizardlm-13b": 1.5, # tier 2 "codellama-13b-instruct": 1.0, - "guanaco-33b": 1.0, "vicuna-7b": 1.0, "llama-2-7b-chat": 1.0, - # tier 3 + "chatglm2-6b": 1.0, + # deprecated + "guanaco-33b": 1.0, "fastchat-t5-3b": 0.5, "alpaca-13b": 0.5, - "chatglm2-6b": 0.5, - # deprecated "mpt-7b-chat": 0.1, "oasst-pythia-12b": 0.1, "RWKV-4-Raven-14B": 0.1, @@ -196,7 +196,7 @@ def share_click(state0, state1, model_selector0, model_selector1, request: gr.Re "chatglm-6b": 0.5, } -SAMPLING_BOOST_MODELS = ["llama-2-70b-chat"] +SAMPLING_BOOST_MODELS = ["llama-2-70b-chat", "codellama-34b-instruct"] model_pairs = [] model_pairs_weights = [] diff --git a/fastchat/serve/gradio_web_server.py b/fastchat/serve/gradio_web_server.py index 29134dff4..c2e22e562 100644 --- a/fastchat/serve/gradio_web_server.py +++ b/fastchat/serve/gradio_web_server.py @@ -55,7 +55,13 @@ enable_moderation = False acknowledgment_md = """ -**Acknowledgment:** We thank Kaggle, MBZUAI, and AnyScale for their sponsorship. +
+

Acknowledgment: We thank Kaggle, MBZUAI, AnyScale, and HuggingFace for their sponsorship.

+ Image 1 + Image 2 + Image 3 + Image 4 +
""" ip_expiration_dict = defaultdict(lambda: 0) @@ -497,6 +503,18 @@ def bot_response(state, temperature, top_p, max_new_tokens, request: gr.Request) footer { display:none !important } +.image-container { + display: flex; + align-items: center; + padding: 1px; +} +.image-container img { + margin: 0 30px; + height: 20px; + max-height: 100%; + width: auto; + max-width: 20%; +} """