-
Notifications
You must be signed in to change notification settings - Fork 551
Add univa to models #1526
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
Add univa to models #1526
Changes from 2 commits
86ba583
230ef8f
f363509
5be783a
06e5c74
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -1027,6 +1027,14 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = { | |||||||||||||
| countDownloads: `path_extension:"pt"`, | ||||||||||||||
| snippets: snippets.ultralytics, | ||||||||||||||
| }, | ||||||||||||||
| "univa": { | ||||||||||||||
merveenoyan marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||
| prettyLabel: "univa", | ||||||||||||||
| repoName: "univa", | ||||||||||||||
|
||||||||||||||
| "univa": { | |
| prettyLabel: "univa", | |
| repoName: "univa", | |
| "uniworld": { | |
| prettyLabel: "UniWorld", | |
| repoName: "UniWorld", |
Shouldn't the library be named UniWorld instead to follow the repo naming convention? I feel it would be more natural that way
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.
the library itself was called univa, i.e. import univa, the model is loaded from there. if the authors choose to train new models loaded with this code it would be more unified imo
Outdated
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.
Looks like the repo already have a config.json file so would be good to keep the counting on that file (if loaded at each .from_pretrained). This is the default rule if we don't set one.
Problem with counting path_extension:"safetensors" is that it's non-canonical + will count 17 downloads each time a user downloads the repo (given the 17 shards). (taken from files section)
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.
fixed this, thanks for the heads up!
Uh oh!
There was an error while loading. Please reload this page.