Add pipeline tag, library name, and sample usage to model card
#1
by
nielsr
HF Staff
- opened
This PR enhances the model card by adding essential metadata and a practical sample usage section:
pipeline_tag: image-text-to-text: This tag accurately reflects the model's functionality, which involves processing both images and text queries to generate text responses. This will improve discoverability on the Hugging Face Hub.library_name: transformers: Evidence fromconfig.json(transformers_version: "4.47.1",model_type: "qwen2") andtokenizer_config.json(tokenizer_class: "Qwen2Tokenizer") indicates compatibility with the Hugging Facetransformerslibrary. This addition enables the automated "how to use" widget on the model page, providing users with a quick and standardized way to perform inference.- Sample Usage: The "🛠️ QuickStart" section, including installation instructions and example code snippets, has been directly extracted from the official GitHub repository. This provides users with immediate, runnable examples to get started with the model. Literal new line characters (
\n) in code snippets have been preserved as per guidelines.
These updates aim to make the model more discoverable, easier to use, and better documented for the community.
yl-1993
changed pull request status to
merged
Thanks, feel free to update the other model cards too!
Sure! All the model card PRs have been merged. I also added example files to ensure they display correctly. Thanks again for your contribution!