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

Enable specifying a custom path for model configs ? #219

Closed
stoicio opened this issue Jan 25, 2024 · 3 comments
Closed

Enable specifying a custom path for model configs ? #219

stoicio opened this issue Jan 25, 2024 · 3 comments
Assignees

Comments

@stoicio
Copy link

stoicio commented Jan 25, 2024

Is it possible to run alpaca-eval using a custom model config in a directory path that is out of the alpaca-eval repo ? I see the base path is explicitly set to the default here

Enabling this would help avoid forking alpaca-eval or installing it in editable mode & just use it directly from pip install. It looks like its possible to specify annotator config from a different root path - link - Similar pattern for model config and a more explicit cli flag increase usability of the repo. Any thoughts ?

@YannDubs
Copy link
Collaborator

YannDubs commented Jan 25, 2024

Hey @stoicio, I think that it is already possible if you provide an absolute path!

Not sure it's worth adding a CLI flag for relative path given that you would need to write as much as if you use absolute paths. Let me know if you have issues with absolute paths.

@YannDubs
Copy link
Collaborator

Tested and it should work!

@stoicio
Copy link
Author

stoicio commented Jan 26, 2024

I didn't know about the Path lib's / behavior when used with absolute path. TIL !
Thanks for checking it out.

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

No branches or pull requests

2 participants