Skip to content

Commit 045be20

Browse files
committed
added
1 parent 1e4c97a commit 045be20

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

fastchat/serve/gradio_block_arena_anony.py

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -175,25 +175,7 @@ def share_click(state0, state1, model_selector0, model_selector1, request: gr.Re
175175
)
176176

177177

178-
SAMPLING_WEIGHTS = {'claude-3-5-haiku-20241022': 1,
179-
'claude-3-5-sonnet-20240620': 1,
180-
'claude-3-5-sonnet-20241022': 1,
181-
'gpt-4-1106-preview': 1,
182-
'gpt-4-turbo-2024-04-09': 1,
183-
'gpt-4o-2024-05-13': 1,
184-
'gpt-4o-2024-08-06': 1,
185-
'gpt-4o-mini-2024-07-18': 1,
186-
'o1-mini': 1,
187-
'yi-lightning': 1,
188-
'llama-3.1-405b-instruct-fp8': 1,
189-
'llama-3.1-8b-instruct': 1,
190-
'llama-3.1-70b-instruct': 1,
191-
'gemini-1.5-pro-001': 1,
192-
'mistral-large-2407': 1,
193-
'qwen2.5-72b-instruct': 1,
194-
'gemma-2-27b-it': 1,
195-
'glm-4-plus': 1,
196-
'p2l': 1000}
178+
SAMPLING_WEIGHTS = {}
197179

198180
# target model sampling weights will be boosted.
199181
BATTLE_TARGETS = {}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies = [
1919
]
2020

2121
[project.optional-dependencies]
22-
model_worker = ["accelerate>=0.21", "peft", "sentencepiece", "torch", "transformers>=4.31.0", "protobuf", "openai"]
22+
model_worker = ["accelerate>=0.21", "peft", "sentencepiece", "torch", "transformers>=4.31.0", "protobuf", "openai", "anthropic"]
2323
webui = ["gradio>=4.10", "plotly", "scipy"]
2424
train = ["einops", "flash-attn>=2.0", "wandb"]
2525
llm_judge = ["openai<1", "anthropic>=0.3", "ray"]

0 commit comments

Comments
 (0)