Skip to content

Commit

Permalink
Add code llama info (lm-sys#2331)
Browse files Browse the repository at this point in the history
  • Loading branch information
merrymercy authored Aug 28, 2023
1 parent 106670d commit ce3311d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fastchat/model/model_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ def get_model_info(name: str) -> ModelInfo:
"https://ai.meta.com/llama/",
"open foundation and fine-tuned chat models by Meta",
)
register_model_info(
["codellama-34b-instruct", "codellama-13b-instruct", "codellama-7b-instruct"],
"Code Llama",
"https://ai.meta.com/blog/code-llama-large-language-model-coding/",
"open foundation models for code by Meta",
)
register_model_info(
[
"vicuna-33b",
Expand Down
2 changes: 2 additions & 0 deletions fastchat/serve/gradio_block_arena_anony.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,13 @@ def share_click(state0, state1, model_selector0, model_selector1, request: gr.Re
"palm-2": 1.5,
"llama-2-70b-chat": 1.5,
"llama-2-13b-chat": 1.5,
"codellama-34b-instruct": 1.5,
"vicuna-33b": 1.5,
"vicuna-13b": 1.5,
"mpt-30b-chat": 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,
Expand Down

0 comments on commit ce3311d

Please sign in to comment.