Improve model card: Add `transformers` library, update `pipeline_tags`, and add model tags

#2
by nielsr HF Staff - opened

This PR enhances the model card by:

  • Adding library_name: transformers to ensure the model's compatibility with the Hugging Face Transformers library is correctly recognized, enabling the "Use in Transformers" widget.
  • Updating pipeline_tags to include both fill-mask (as per the underlying ModernBertForMaskedLM architecture) and feature-extraction to accurately reflect the model's primary use cases for classification, retrieval, and generating embeddings.
  • Adding descriptive tags such as modernbert, ettin (for the model suite), encoder, text-embeddings, retrieval, and classification to improve discoverability and provide more detailed context about the model's capabilities.
orionweller changed pull request status to merged

Sign up or log in to comment