Enhance model card: Add metadata, paper link, GitHub, and usage example
#1
by
nielsr
HF Staff
- opened
This PR significantly improves the model card for the SLM-SQL model by:
- Adding the
pipeline_tag: text-generation
to correctly categorize the model for Text-to-SQL tasks on the Hub. - Adding the
library_name: transformers
to ensure compatibility with the Hugging Face Transformers library and enable the "how to use" button. - Including relevant
tags
such astext-to-sql
,sql
,qwen2
, andsmall-language-model
for better discoverability. - Providing a link to the paper: SLM-SQL: An Exploration of Small Language Models for Text-to-SQL.
- Adding a link to the official GitHub repository for code and datasets: https://github.com/alibaba/SLM-SQL.
- Including a practical Python code snippet demonstrating how to use the model for Text-to-SQL inference.
- Removing the extraneous "File information" section.