huggingface / hub-docs

Docs of the Hugging Face Hub
http://hf.co/docs/hub
Apache License 2.0
255 stars 222 forks source link

Document how to filter and save searches on the hub (e.g. by model format, only LoRAs, by date range etc...) #1328

Open sammcj opened 3 weeks ago

sammcj commented 3 weeks ago

Doc request

I'd really like to see documentation that clarifies how users can filter searches and when browsing models on the Hub.

Things I can't seem to find that I would expect / would make our lives better:

Additional context

If there actually isn't a way to do this on the hub a present, I would really love it if something like my shitty mock here could be considered:

hfsearch

sammcj commented 3 weeks ago

Also, sorry if this isn't the right place to log this, I couldn't really figure out where was as:

osanseviero commented 3 weeks ago

Thanks a lot for the feedback! This is indeed the right place

A selection list or drop down to filter by popular model formats (GGUF, EXL2 etc...)

In https://huggingface.co/models?sort=trending, in the libraries tab, you can find models for popular formats (GGUF, safetensors, llamafile, MLX, etc). These also work as URLs, see https://huggingface.co/models?library=gguf&sort=trending

We do not have EXL2 filter yet as they have a different repo structure (models are in branches) and that makes auto-detection significantly more complex, but we're looking into it. PLease let us know if there are other formats you would want.

A filter or 'explore by category' for original models, fine-tunes, quantisations, adapters etc...

Will look into it! (Base vs quant vs adapter filters). One thing we currently have is a way to filter for all models with a base model, so for example given https://huggingface.co/models?other=base_model:mistralai/Mistral-7B-v0.1 , you can find all fine-tuned and quantization of this model, but indeed we do not provide more granularity at the moment

Thanks again for the feedback :+1: :hugs:

sammcj commented 3 weeks ago

&sort=trending

I do actually using the trending sort all the time, but I really wish I could have a bit more control over the sorting/filtering - and to be able to save it to a list of favourite filter somewhere.

We do not have EXL2 filter yet as they have a different repo structure (models are in branches) and that makes auto-detection significantly more complex, but we're looking into it.

Great to hear this! It's such a great model format / inference server, definitely worth having.

we currently have is a way to filter for all models with a base model, so for example given huggingface.co/models?other=base_model:mistralai/Mistral-7B-v0.1

The filtering by base model is really useful, I wonder if there could be a model label showing the base model that if you clicked it - showed all other fine-tunes/derivatives?

julien-c commented 3 weeks ago

The filtering by base model is really useful, I wonder if there could be a model label showing the base model that if you clicked it - showed all other fine-tunes/derivatives?

yep it's on our todo cc @gary149

Thanks for the useful feedback!

re. saving filters, do you have good examples of websites that do it with a nice UX?