Skip to content

Experiment results #12

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
Binary file added Experiment_summary.xlsx
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think results on the original HumanEval are also needed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently working on it!

Binary file not shown.
4 changes: 2 additions & 2 deletions fine-tuning/clarify_aware_fine_tuning_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def tokenize_v4(samples):
if torch.__version__ >= "2" and sys.platform != "win32":
print("compiling the model")
model = torch.compile(model)
trainer.train()
trainer.train(resume_from_checkpoint=True)

# Evaluate the model
results = trainer.evaluate()
Expand All @@ -354,4 +354,4 @@ def tokenize_v4(samples):
with torch.cuda.amp.autocast():
output_tokens = model.generate(**batch, max_new_tokens=50)

print('\n\n', tokenizer.decode(output_tokens[0], skip_special_tokens=True))
print('\n\n', tokenizer.decode(output_tokens[0], skip_special_tokens=True))
Binary file added ~$Experiment_summary.xlsx
Binary file not shown.