Add pipeline tag and library_name to model card

#1
by nielsr HF Staff - opened

This PR enhances the model card by:

  • Adding the pipeline_tag: text-generation to improve discoverability for code generation tasks on the Hugging Face Hub (e.g., at https://huggingface.co/models?pipeline_tag=text-generation).
  • Specifying library_name: transformers in the metadata. This enables the automated "how to use" widget on the model page, providing a convenient code snippet for users, as the model's config.json indicates compatibility with transformers (e.g., model_type: qwen2, architectures: ["Qwen2ForCausalLM"]).
Houxing changed pull request status to merged

Sign up or log in to comment