# Add sorting option by model size \[New Feature Proposal\]

**URL:** <https://discuss.huggingface.co/t/add-sorting-option-by-model-size-new-feature-proposal/29085>\
**Category:** 🤗Hub\
**Created:** [January 6, 2023, 6:47pm UTC](https://discuss.huggingface.co/t/add-sorting-option-by-model-size-new-feature-proposal/29085 "2023-01-06T18:47:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmassot](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/jmassot/32/32864_2.png) [@jmassot](https://discuss.huggingface.co/u/jmassot)\
**Post date:** [January 6, 2023, 6:47pm UTC](https://discuss.huggingface.co/t/add-sorting-option-by-model-size-new-feature-proposal/29085/1 "2023-01-06T18:47:25Z")

</div>

Hi HugginFace team,  
I would like to propose adding a new sorting option for the model hub: sorting by the model size.  
I am looking for a sentiment analysis model to be used with financial data. I have plenty of choices on the hub but when I want to select the smallest model, there is not quick sorting option to do it.  
Thanks  
Best Regards  
Jerome

---

<div class="post-metadata">

**Author:** ![nkpz](https://avatars.discourse-cdn.com/v4/letter/n/da6949/32.png) [@nkpz](https://discuss.huggingface.co/u/nkpz)\
**Post date:** [January 29, 2023, 4:56pm UTC](https://discuss.huggingface.co/t/add-sorting-option-by-model-size-new-feature-proposal/29085/2 "2023-01-29T16:56:28Z")

</div>

I would also love this, for the opposite reason of OP. I want to look at the biggest models that my GPU can handle, and it’s very difficult right now without looking through every single recently updated model one at a time.

---

<div class="post-metadata">

**Author:** ![osanseviero](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/osanseviero/32/38738_2.png) [@osanseviero](https://discuss.huggingface.co/u/osanseviero)\
**Post date:** [February 10, 2023, 1:34pm UTC](https://discuss.huggingface.co/t/add-sorting-option-by-model-size-new-feature-proposal/29085/3 "2023-02-10T13:34:25Z")

</div>

Hi all! Thanks for the feedback! This is something we’re looking into but it’s not trivial as determining compute resources or knowing the size of the checkpoints is not always straightforward. We’ll look into it!

---

<div class="post-metadata">

**Author:** ![hvinay](https://avatars.discourse-cdn.com/v4/letter/h/ccd318/32.png) [@hvinay](https://discuss.huggingface.co/u/hvinay)\
**Post date:** [November 1, 2023, 9:10am UTC](https://discuss.huggingface.co/t/add-sorting-option-by-model-size-new-feature-proposal/29085/4 "2023-11-01T09:10:24Z")

</div>

#parameters of a model is already mentioned right? Is it possible to have a feature to sort the model on #parameters?

---

<div class="post-metadata">

**Author:** ![dolo650](https://avatars.discourse-cdn.com/v4/letter/d/df788c/32.png) [@dolo650](https://discuss.huggingface.co/u/dolo650)\
**Post date:** [November 30, 2023, 7:33am UTC](https://discuss.huggingface.co/t/add-sorting-option-by-model-size-new-feature-proposal/29085/5 "2023-11-30T07:33:35Z")

</div>

this is definitely going to be a very useful feature as wading through tons of models for suitable size as per your requirements is a bit difficult. thanks in advance.

---

<div class="post-metadata">

**Author:** ![GabrielZK](https://avatars.discourse-cdn.com/v4/letter/g/b9e5f3/32.png) [@GabrielZK](https://discuss.huggingface.co/u/GabrielZK)\
**Post date:** [December 24, 2023, 10:21am UTC](https://discuss.huggingface.co/t/add-sorting-option-by-model-size-new-feature-proposal/29085/6 "2023-12-24T10:21:24Z")

</div>

I think this is a great idea. **Sorting** by model size in GB, by model size in parameters, and **filtering** by size in GB and in parameters, would all make selecting an appropriate model way easier.

For now, one possible workaround is to type `small` (or `large`) into the `Filter by name` text box, but this is obviously very limited compared to implementing this properly.

---

<div class="post-metadata">

**Author:** ![tutubalin](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@tutubalin](https://discuss.huggingface.co/u/tutubalin)\
**Post date:** [May 29, 2025, 4:32pm UTC](https://discuss.huggingface.co/t/add-sorting-option-by-model-size-new-feature-proposal/29085/7 "2025-05-29T16:32:00Z")

</div>

I vote for that feature.

There are plenty of models and I am sure there is a model of my dream which waits when I find it, but, alas, the only thing I can do is to browse them manually one by one.

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [May 29, 2025, 4:55pm UTC](https://discuss.huggingface.co/t/add-sorting-option-by-model-size-new-feature-proposal/29085/8 "2025-05-29T16:55:07Z")

</div>

Since the number of model parameters has been displayed for some time now, it may soon be technically possible to limit the models to those whose parameter numbers are known.

 ![modelsize1](https://us1.discourse-cdn.com/hellohellohello/original/3X/6/2/62ac4076cf6ee4c204d20662c45e9ca98dc4eac6.png)

---

<div class="post-metadata">

**Author:** ![BlueSamurai-1](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/bluesamurai-1/32/59870_2.png) [@BlueSamurai-1](https://discuss.huggingface.co/u/BlueSamurai-1)\
**Post date:** [April 29, 2026, 6:38am UTC](https://discuss.huggingface.co/t/add-sorting-option-by-model-size-new-feature-proposal/29085/9 "2026-04-29T06:38:48Z")

</div>

the time I spend clicking through 20-30 different models and this is a 20 min change for HF…if that.
