Skip to content

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

Merged
merged 5 commits into from
Jun 23, 2025

Conversation

juhayna-zh
Copy link
Contributor

This PR ensures downloads tracking for https://huggingface.co/tencent/SongGeneration

@xianbaoqian
Copy link
Contributor

The code looks great. Thanks! Let's wait for one of the owners to approve :)

@xianbaoqian xianbaoqian self-requested a review June 19, 2025 08:23
Copy link
Member

@Vaibhavs10 Vaibhavs10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🤩

@Vaibhavs10 Vaibhavs10 merged commit 2bd5bb6 into huggingface:main Jun 23, 2025
3 of 4 checks passed
@Vaibhavs10
Copy link
Member

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"`,
Copy link
Contributor

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

Suggested change
countDownloads: `path:"ckpt/songgeneration_base_zh/model.pt"`,
countDownloads: `path:"ckpt/songgeneration_base/model.pt"`,

I opened #1554 to fix it

Wauplin added a commit that referenced this pull request Jun 25, 2025
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`)
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.

5 participants