Skip to content

Commit

Permalink
Update sponsor logos (lm-sys#2367)
Browse files Browse the repository at this point in the history
  • Loading branch information
merrymercy authored Sep 5, 2023
1 parent b039a66 commit ea045e6
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 7 deletions.
2 changes: 1 addition & 1 deletion fastchat/model/model_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 5 additions & 5 deletions fastchat/serve/gradio_block_arena_anony.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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 = []
Expand Down
20 changes: 19 additions & 1 deletion fastchat/serve/gradio_web_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,13 @@
enable_moderation = False

acknowledgment_md = """
**Acknowledgment:** We thank Kaggle, MBZUAI, and AnyScale for their sponsorship.
<div class="image-container">
<p> <strong>Acknowledgment: </strong> We thank <a href="https://www.kaggle.com/" target="_blank">Kaggle</a>, <a href="https://mbzuai.ac.ae/" target="_blank">MBZUAI</a>, <a href="https://www.anyscale.com/" target="_blank">AnyScale</a>, and <a href="https://huggingface.co/" target="_blank">HuggingFace</a> for their sponsorship. </p>
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/Kaggle_logo.png/400px-Kaggle_logo.png" alt="Image 1">
<img src="https://mma.prnewswire.com/media/1227419/MBZUAI_Logo.jpg?p=facebookg" alt="Image 2">
<img src="https://docs.anyscale.com/site-assets/logo.png" alt="Image 3">
<img src="https://huggingface.co/datasets/huggingface/brand-assets/resolve/main/hf-logo-with-title.png" alt="Image 4">
</div>
"""

ip_expiration_dict = defaultdict(lambda: 0)
Expand Down Expand Up @@ -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%;
}
"""


Expand Down

0 comments on commit ea045e6

Please sign in to comment.