hub-docs icon indicating copy to clipboard operation
hub-docs copied to clipboard

Include a tag for mobile-compatible models.

Open dynamicwebpaige opened this issue 3 years ago • 4 comments

👋 Greetings! Am not sure if this is the correct place to file an issue for huggingface.co, but figured I'd try anyway. :)

Issue Description

Is your feature request related to a problem? Please describe. Would it be possible to include models that are mobile-compatible as a filterable category in the Other section on the Hugging Face website? Meaning .tflite, .ptl for PyTorch, or CoreML models for iOS devices.

Screen Shot 2022-03-04 at 9 28 08 AM

Additional context

In competitors' hubs, models of varying sizes are colocated on a single page (example below) - so you might see the base example, a Colab notebook to test out the model interactively, and a TF Lite implementation. You can also sort and filter based on model type, as well as framework version and fine-tunability (though HuggingFace's models would win that contest every time 😃 ).

Screen Shot 2022-03-04 at 9 36 55 AM Screen Shot 2022-03-04 at 9 34 59 AM

dynamicwebpaige avatar Mar 04 '22 17:03 dynamicwebpaige

:wave: Greetings! You came to the right place!

:thinking: we do have existing filters in "Libraries" when you click the +24, and TF Lite is actually one of the options over there https://huggingface.co/models?library=tflite&sort=downloads. Is that something similar to what you had in mind, but with additional file types?

osanseviero avatar Mar 04 '22 17:03 osanseviero

@osanseviero : Yes, that would be perfect! Something that would let users know that if they need to deploy the model to an environment that isn't a laptop, or on a server, that they would be able to do so without finagling the quantization process themselves.

And I love the work that @merveenoyan did to expand the filters for libraries! 😄

dynamicwebpaige avatar Mar 05 '22 15:03 dynamicwebpaige

This is interesting. We've had discussions about increasing the number of models for mobile/edge devices. I think once we increase the number of models, adding a filter would definitively make sense.

cc @julien-c @gary149 WDYT?

osanseviero avatar Mar 07 '22 08:03 osanseviero

If we think it's important to easily filter/distinct mobile compatible models (no strong opinion on it), I understand @dynamicwebpaige point that it's more straightforward to have a "mobile ready" tag into the "others" section than having to expand/search in sub-sections.

image

gary149 avatar Mar 07 '22 10:03 gary149