Add "library_name" metadata to avoid confusion about what the primary library is
Details
As you can see in e.g. the sentence-transformers metadata, we automatically set the library_name: a piece of metadata that prevents Hugging Face from having to guess which of the tags refers to the library. The tags solution isn't a big deal currently, but if there's ever another library called e.g. lexical, then things might get tricky.
Hello!
Pull Request overview
Details
As you can see in e.g. the
sentence-transformers
metadata, we automatically set thelibrary_name
: a piece of metadata that prevents Hugging Face from having to guess which of the tags refers to the library. The tags solution isn't a big deal currently, but if there's ever another library called e.g.lexical
, then things might get tricky.Related: https://github.com/huggingface/huggingface.js/pull/763#discussion_r1645659322