Feature request: more flexible search in model / dataset hub

Hello :hugs: team!

As a user of the model / dataset hub, I would like to be able to search for artifacts using multiple keywords instead of the exact match that is currently in place.

For example, I am often interested in looking for “model X fine-tuned on dataset Y” so that I can see if someone in the community has already tackled a problem I’m working on (and thereby save me time).

A typical search pattern would be something like

bert-base-uncased squad

which currently returns 0 models

Screen Shot 2021-02-01 at 4.26.37 pm

while the exact match bert-base-uncased-squad yields 16 models:

Thanks!

Yes @lewtun this is tracked internally and we’ll re-work the search completely in the coming weeks/months! I’ll make sure to ping you here to give feedback on the upcoming implem :wink:

Thanks!

Any update here?

Recently, search has become completely unusable. Typing “mbert” returns lots of irrelevant results. Looks like it is doing fuzzy matching?

I’d like to add two feature requests:

  1. Exact search using “mbert” for instance.
  2. Explicitly removing results based on exact match such as -“camembert”.

Btw, I feel a bit silly, but mbert is simply found using “bert-base-multilingual”. That being said my comments about search still hold!

The quicksearch has been revamped and now I can find all bert models trained on squad from the search bar :heart:

Screen Shot 2022-09-27 at 12.16.44