-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: Support for Model artifacts #265
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mercuryseries ! 🙏
from polaris.utils.types import AccessType, HubOwner | ||
|
||
|
||
class Model(BaseArtifactModel): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: Could we add a docstring here with some details about this class? And could we add this class to our mkdocs
documentation site?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea.
@mercuryseries For the failing test case, looks like you were just unlucky! We should set the random seed for that test case so that doesn't happen again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Short and sweet. Very nice. 😄
I do agree with Cas' comment, about making this only available on Results V2, for Benchmark V2s.
from polaris.utils.types import AccessType, HubOwner | ||
|
||
|
||
class Model(BaseArtifactModel): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea.
dded7f3
to
ec89949
Compare
ec89949
to
f9dcd30
Compare
Changelogs
Model
class to represent a model artifact.load_model
utility function to load a model.Checklist:
feature
,fix
,chore
,documentation
ortest
(or ask a maintainer to do it for you).TODO