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

log_samples File name too long. Need truncation or override #1454 FIX #2384

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kroc99
Copy link

@kroc99 kroc99 commented Oct 5, 2024

Shortened filename creation by hashing model_args to avoid overly long filenames in log_samples. Added logic to hash model_args using MD5 and generate manageable filenames, ensuring unique but shorter output names. Also refactored the logic for constructing the output file path.

Shortened filename creation by hashing model_args to avoid overly long filenames in log_samples. Added logic to hash model_args using MD5 and generate manageable filenames, ensuring unique but shorter output names. Also refactored the logic for constructing the output file path.
@CLAassistant
Copy link

CLAassistant commented Oct 5, 2024

CLA assistant check
All committers have signed the CLA.

added hashlib import
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