SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]
Update README.md
Carlos E. Jimenezd195dc1b9dca
diff --git a/scripts/README.md b/scripts/README.mdindex 40609405..54777d9f 100644--- a/scripts/README.md+++ b/scripts/README.md@@ -26,7 +26,7 @@ These arguments configure the script's behavior:#### Environment ArgumentsThese arguments are related to the environment configuration:-* `--data_path <str>` π‘: Path to the data file -or- a GitHub issue URL.+* `--data_path <str>` π‘: Path to the data file -or- a Hugging Face dataset -or- a GitHub issue URL.* `--base_commit <str>`: You can specify the base commit sha to checkout. This is determined automatically for instances in SWE-bench.* `--image_name <str>`: Name of the Docker image to use. Default is swe-agent.* `--noinstall_environment, --install_environment`: [Do not] install the environment. Default is True.@@ -42,10 +42,10 @@ Configure agent behavior:#### ModelArgumentsConfigure model parameters:* `--model_name <str>` π‘: Name of the model. Default is `gpt4`.-* `--per_instance_cost_limit <float>` π‘: Per-instance cost limit (interactive loop will automatically terminate when cost limit is hit). Default is 2.0.-* `--temperature <float>` π‘: Model temperature. Default is 0.2.+* `--per_instance_cost_limit <float>` π‘: Per-instance cost limit (interactive loop will automatically terminate when cost limit is hit). Default is 3.0.+* `--temperature <float>` π‘: Model temperature. Default is 0.0.* `--top_p <float>` π‘: Top p filtering. Default is 0.95.-* `--total_cost_limit <float>`: Total cost limit. Default is 0.0.+* `--total_cost_limit <float>`: Total cost limit. Default is 0.0 (unlimited).### π Example UsageRun with custom data path and verbose mode:@@ -55,7 +55,7 @@ python run.py --data_path /path/to/data.json --verboseSpecify a model and adjust the temperature and top_p parameters:```bash-python run.py --model_name gpt4 --temperature 0.5 --top_p 0.8+python run.py --model_name gpt4 --temperature 0.2 --top_p 0.9```## π οΈ Miscellaneous Scripts