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
B1E5
Prev Previous commit
Next Next commit
remove extra prints
  • Loading branch information
wenting-zhao committed Dec 8, 2024
commit b58a8bba5e2d337be5c022ffcc7398693d329e3e
4 changes: 0 additions & 4 deletions examples/star/star.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ def main():
ds = load_dataset(args.dataset_name)
assert "train" in ds
all_samples = generate_predictions(args.model_name, ds["train"], args.temperature, args.n)
for x in all_samples:
for xx in x:
print(xx)
print("-"*100)
assert len(ds["train"]) == len(all_samples)
all_traces, all_execution_results = execute_tests(ds["train"], all_samples)
passed_examples = []
Expand Down
0