Skip to content

Fix: truncate model identifier in case model name is too long #120

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 1 commit into
base: main
Choose a base branch
from

Conversation

younesbelkada
Copy link

As per title, this PR fixes an issue where at the end of evaluation saving and loading model answer fails due to filename being too long (typically, when one passes many arguments for vLLM)

This PR fixes this by simply truncating the model_identifier to something small in order to avoid this issue

Tested it on MTBench

@younesbelkada
Copy link
Author

@RyanMarten @neginraoof let me know if this change looks good to you or if there is any better workaround for this

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.

1 participant