-
Notifications
You must be signed in to change notification settings - Fork 457
Add Tencent SongGeneration library and enable download tracking #1542
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
Conversation
The code looks great. Thanks! Let's wait for one of the owners to approve :) |
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 🤩
The download counts should be live in a day or two @juhayna-zh 🤗 |
repoName: "songgeneration", | ||
repoUrl: "https://github.com/tencent-ailab/songgeneration", | ||
filter: false, | ||
countDownloads: `path:"ckpt/songgeneration_base_zh/model.pt"`, |
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.
I think there is a typo in the path. The rule must be updated if we want to count download using https://huggingface.co/tencent/SongGeneration/blob/main/ckpt/songgeneration_base/model.pt
countDownloads: `path:"ckpt/songgeneration_base_zh/model.pt"`, | |
countDownloads: `path:"ckpt/songgeneration_base/model.pt"`, |
I opened #1554 to fix it
Follow-up PR after #1542 cc @juhayna-zh @xianbaoqian @Vaibhavs10 There seems to be a typo in the download count rule. Checkpoint is saved at https://huggingface.co/tencent/SongGeneration/blob/main/ckpt/songgeneration_base/model.pt (under `songgeneration_base`, not `songgeneration_base_zh`). This PR fixes this. (I also took the opportunity to update `repoName`, it's usually best if it's the same as `prettyLabel`)
This PR ensures downloads tracking for https://huggingface.co/tencent/SongGeneration