8000 Added how to use commit0 for sampling during STAR training by wenting-zhao · Pull Request #105 · commit-0/commit0 · GitHub
[go: up one dir, main page]

Skip to content

Added how to use commit0 for sampling during STAR training #105

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

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
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
8000
Prev Previous commit
Next Next commit
fixed a bug in commit0
  • Loading branch information
wenting-zhao committed Dec 18, 2024
commit bc51469f3d8b019265393fc3bf61385aae39867c
4 changes: 1 addition & 3 deletions commit0/harness/run_pytest_ids.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ def main(
else:
repo_name = example["repo"].split("/")[-1]
dataset_type = "commit0"
if repo_name in os.path.basename(repo_or_repo_dir) or repo_or_repo_dir.endswith(
repo_name
):
if repo_name == os.path.basename(repo_or_repo_dir):
spec = make_spec(example, dataset_type)
break
assert spec is not None, "No spec available"
Expand Down
Loading
0