File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ ## Chatbot Arena
2+
3+ Currently, Chatbot Arena is powered by FastChat. Here is how you can launch an instance of Chatbot Arena locally.
4+
5+ Create a file ` api_endpoint.json ` and record the the api endpoints of the models you want to serve, for example:
6+ ```
7+ {
8+ "gpt-4o-2024-05-13": {
9+ "model_name": "gpt-4o-2024-05-13",
10+ "api_base": "https://api.openai.com/v1",
11+ "api_type": "openai",
12+ "api_key": [Insert API Key],
13+ "anony_only": false
14+ }
15+ }
16+ ```
17+
18+ If you want to serve your own model using local gpus, following the instructions in [ Section: Serving with Web GUI] ( ../../README.md ) .
19+
20+ To launch a gradio web server, run ` gradio_web_server_multi.py ` .
21+ ```
22+ python gradio_web_server_multi.py --port 8080 --share --register-api-endpoint-file api_endpoint.json
23+ ```
You can’t perform that action at this time.
0 commit comments