Improve model card for SLM-SQL: Add GitHub link and usage example

#1
by nielsr HF Staff - opened

This PR significantly enhances the model card for SLM-SQL models by:

  • Adding a prominent link to the GitHub repository (https://github.com/CycloneBoy/slm_sql) in the "Important Links" section.
  • Including a direct link to the Hugging Face Paper page (https://huggingface.co/papers/2507.22478).
  • Renaming the "Introduction" section to "Abstract" and reformatting the abstract content to remove markdown blockquotes, improving readability.
  • Adding a new "How to Use" section with a comprehensive Python code snippet for inference using the transformers library.
  • Correcting the Hugging Face model link for SLM-SQL-Base-1B in the 'Model' table to point to the correct repository.

These changes improve the model's discoverability and usability on the Hugging Face Hub.

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

Sign up or log in to comment