Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Jul 8, 2024 · 4 comments

Comments

@sammcj
Copy link

sammcj commented Jul 8, 2024

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:

  • A selection list or drop down to filter by popular model formats (GGUF, EXL2 etc...)
  • A filter or 'explore by category' for original models, fine-tunes, quantisations, adapters etc...
  • Filter by date created within (e.g. the last 2 months)
  • How to save the filter/search so you can bookmark, share and come back to it later

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
Copy link
Author

sammcj commented Jul 8, 2024

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

  • I can't see a repo on Github somewhere to log an issue/feat request against the hub itself.
  • The forum seems full of spam: https://discuss.huggingface.co/
  • There doesn't seem to be a support page (that I can find anyway)
  • The faq doesn't have any contact links
  • The hub docs don't have any suggest a feature link

@osanseviero
Copy link
Contributor

osanseviero commented Jul 9, 2024

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 👍 🤗

@sammcj
Copy link
Author

sammcj commented Jul 9, 2024

&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
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants