Improve model card for Lego-Edit: Add metadata, links, abstract, and usage
#3
by
nielsr
HF Staff
- opened
This PR significantly enhances the model card for Lego-Edit by:
- Updating metadata:
- Changing the
licensetocc-by-nc-4.0to accurately reflect the license for the model weights, as specified in the GitHub repository's disclaimer. - Adding the
pipeline_tag: image-to-imageto improve model discoverability, aligning with its core functionality as an image editing framework. - Adding
library_name: transformersbased on the model'sQwen2_5_VLForConditionalGenerationarchitecture and related processor/tokenizer classes found in theconfig.jsonandtokenizer_config.jsonfiles, enabling automated usage snippets on the Hub. - Adding relevant
tagslikevision-language,image-editing,multimodal, andqwen2_5for better categorization.
- Changing the
- Adding comprehensive content:
- Including the model's abstract, features, and detailed usage instructions (Quick Start, New Tools Integration, More Usages) directly from the official GitHub README.
- Providing explicit links to the paper (Lego-Edit: A General Image Editing Framework with Model-Level Bricks and MLLM Builder), the project page (https://xiaomi-research.github.io/lego-edit/), and the GitHub repository (https://github.com/xiaomi-research/lego-edit).
- Incorporating the original GitHub repository's visual elements, disclaimer, citation information, and acknowledgments to provide a complete overview.
This update makes the model card much more informative and accessible for users on the Hugging Face Hub.