Add pipeline_tag and library_name to model card

#1
by nielsr HF Staff - opened

This PR enhances the model card for SQL-R1 by adding pipeline_tag: text-generation and library_name: transformers to the YAML metadata.

  • The pipeline_tag: text-generation is added to accurately classify the model's functionality as Natural Language to SQL generation, improving its discoverability on the Hugging Face Hub.
  • The library_name: transformers is included based on evidence from config.json and tokenizer_config.json (e.g., Qwen2ForCausalLM, Qwen2Tokenizer, transformers_version), ensuring compatibility with the Transformers library and enabling the automated "How to use" widget on the Hub.

The existing license: apache-2.0 tag has been retained. No sample usage snippet was added as none was found directly in the GitHub README, adhering to documentation guidelines. The existing content, including the GitHub badge link, remains unchanged.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment