Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Aider pipeline for commit0 #12

Merged
merged 22 commits into from
Sep 16, 2024
Merged

Adding Aider pipeline for commit0 #12

merged 22 commits into from
Sep 16, 2024

Conversation

nanjiangwill
Copy link
Collaborator

How to run aider baseline

Step 1: Go to config/aider.yaml and change the config

Step 2: Run the following command

python baselines/run_aider.py --config-name aider

Config

commit0_config:

  • base_dir: Repos dir. Default repos.
  • dataset_name: commit0 HF dataset name. Default: wentingzhao/commit0_docstring.

aider_config:

  • model_name: LLM model name
  • use_repo_info: Whether to use repo info
    • Repo info
    • skeleton of the repo(filenames under each dir)
    • function stubs
  • use_unit_tests_info: Whether to use unit tests: unit_tests that target will be tested with
  • use_reference_info: Whether to use reference: reference doc/pdf/website

@wenting-zhao
Copy link
Collaborator

Good work!

@wenting-zhao wenting-zhao merged commit 56aad67 into main Sep 16, 2024
2 checks passed
@wenting-zhao wenting-zhao deleted the aider branch September 16, 2024 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants