Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
XuhuiZhou committed Jun 5, 2024
1 parent bfadacd commit 9a5dce9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/pages/benchmark.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Benchmark your model as a social agent in Sotopia

```
python sotopia/benchmark/cli.py --model=<your_model_name>
```
Currently this script would run over 100 simulations on the Sotopia Hard tasks. And the partner model is fixed to be `together_ai/meta-llama/Llama-2-70b-chat-hf`
2 changes: 1 addition & 1 deletion sotopia_conf/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def main(_: Any) -> None:
FLAGS.gin_bindings,
)

asyncio.run(run_async_server()) # type: ignore[call-arg]
asyncio.run(run_async_server())


if __name__ == "__main__":
Expand Down

0 comments on commit 9a5dce9

Please sign in to comment.