Skip to content
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.