Improve model card: Add metadata, usage example, and expand content
#1
by
nielsr
HF Staff
- opened
This PR significantly improves the model card by:
- Adding
pipeline_tag: text-generationto improve model discoverability for relevant tasks. - Specifying
library_name: transformersto indicate compatibility with the Hugging Face Transformers library, enabling direct usage and the "Use in Transformers" widget. - Including
qwenas an additional tag, reflecting the model's base architecture. - Expanding the model card content by integrating relevant sections from the original GitHub repository's README, such as "About," "Installation," "Results," and "Citation."
- Providing a clear Python code example for text generation using the
transformerslibrary, including the necessary Qwen chat template application. - Ensuring all image links are updated to their raw GitHub URLs for proper rendering on the Hub.
- Removing the internal "File information" section.
Zhang199
changed pull request status to
merged