Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion balrog/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ client:
model_id: gpt-4o # Model identifier (e.g., 'gpt-4', 'gpt-3.5-turbo')
base_url: http://localhost:8080/v1 # Base URL for the API (if using a local server)
generate_kwargs:
temperature: null # Sampling temperature. If null the API default temperature is used instead
temperature: 1.0 # Sampling temperature. If null the API default temperature is used instead
max_tokens: 4096 # Max tokens to generate in the response
timeout: 60 # Timeout for API requests in seconds
max_retries: 5 # Max number of retries for failed API calls
Expand Down
4 changes: 2 additions & 2 deletions docs/evaluation.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ python eval.py \
| **client.is_chat_model** | Indicates if the model follows a chat-based interface. | `True` |
| **client.generate_kwargs.temperature** | Temperature for model response randomness. | `0.0` |
| **client.alternate_roles** | If True the instruction prompt will be fused with first observation. Required by some LLMs. | `False` |
| **client.temperature** | If set to null will default to the API default temperature. Use a float from 0.0 to 1.0. otherwise. | `null` |
| **client.temperature** | If set to null will default to the API default temperature. Use a float from 0.0 to 2.0. otherwise. | `1.0` |
| **envs.names** | Dash-separated list of environments to evaluate, e.g., `nle-minihack`. | `babyai-babaisai-textworld-crafter-nle-minihack`|


Expand All @@ -105,4 +105,4 @@ python eval.py \
- Alternate roles:
Some LLMs/VLMs require alternating roles. You can fuse the instruction prompt with the first observation to comply with this with the following: `client.alternate_roles=True`
- Temperature:
We recommend running models with temperature ranges around 0.5-0.7, or to use the default temperature of the model APIs. Too low temperatures can cause some of the more brittle models to endlessly repeat actions or create incoherent outputs.
We recommend running models with temperature ranges around 0.7-1.0, or to use the default temperature of the model APIs. Too low temperatures can cause some of the more brittle models to endlessly repeat actions or create incoherent outputs.