Sort models by parameter count

hi @idkthrowaway123123
I hope api can help you a bit about it:

https://huggingface.co/api/models?filter=safetensors returns all models with safetensors tag. And the following returns number of safetensors parameters:
https://huggingface.co/api/models/model_id_x

example:
https://huggingface.co/api/models/google-bert/bert-base-german-cased

You can add more tags and other parameters to filter better:
https://huggingface.co/api/models?pipeline_tag=fill-mask&filter=safetensors

I know it’s not exactly what you want :slight_smile: