Add proper metadata to models
x-tabdeveloping opened this issue · 6 comments
Currently, many of the fields in model metadata are not filled.
These should either be specified manually or we should find ways to derive them (from HuggingFace Hub for example.)
We're also missing Metadata objects completely for some models (all-MiniLM-L12-v2
for instance). Or some of them have no matching revision in the results.
We're also missing Metadata objects completely for some models (all-MiniLM-L12-v2 for instance). Or some of them have no matching revision in the results.
Might be worth changing the default revision to the one in the results.
We're also missing links
For some of the model configs such as n_parameters
, embed_dim
, and max_tokens
, a script can be created to get those info from HF hub like how we do it in the leaderboard code.
We're also missing links
What do you mean here?
We're also missing links
On the older leaderboard you could click on the models and it would lead you to their home page. We don't have links in the ModelMeta object right now.
For some of the model configs such as n_parameters, embed_dim, and max_tokens, a script can be created to get those info from HF hub like how we do it in the leaderboard code.
I looked into this earlier, but it's not my preferred solution. A couple of reasons:
- We would rely on HuggingFace Hub's interfaces and implementation.
- Consequently, it would be a piece of code that has to be written and maintained.
- It would not work for models that are not on HuggingFace Hub
- It would be awkward to work with models that are on the hub, but are not open access (like Llama).
I would prefer just writing these properties in by hand as:
- We (the team) would only have to do this once for the models we have.
- I think it would be relatively easy for people submitting new models as PRs to have to fill in this information.
I would love to hear others' thoughts tho, this is a slight preference, not a strong one.