Spaces:
Running
Running
Would be cool to have for organizations/usernames too
#6
by
clem
HF staff
- opened
would love to compare the # of likes per organizations
@clem FYI I am planning to make graphs for likes and many other metrics in the leaderboard using the dataset I have been logging for a month. Very cool app btw, thanks for making this timqian.
https://huggingface.co/spaces/Weyaxi/huggingface-leaderboard
https://huggingface.co/datasets/Weyaxi/huggingface-leaderboard-history
Good idea!
The way to do this should be straightforward:
- get all the spaces/datasets/models of a user, find an API of HfApi Client: https://huggingface.co/docs/huggingface_hub/v0.19.3/package_reference/hf_api#hfapi-client , not sure if we have doc for the REST version API @julien-c
- get like history of all the repos of that user and merge them
One concern is that it might be a heavy query for some orgs like Microsoft, which has hundreds of models. Not sure if this would be a problem or there are other better approach