Add comprehensive model card for DAA text encoder

#1
by nielsr HF Staff - opened

This PR significantly improves the model card for the text-encoder-for-backdoor-detection model. It adds:

  • Key metadata: license: apache-2.0, pipeline_tag: text-to-image, library_name: transformers, and tags: [backdoor-detection]. The library_name: transformers is based on the CLIPTextModel architecture and transformers_version found in config.json.
  • A direct link to the paper: Dynamic Attention Analysis for Backdoor Detection in Text-to-Image Diffusion Models.
  • A link to the official GitHub repository: https://github.com/Robin-WZQ/DAA.
  • A concise overview of the DAA framework, including an illustrative image.
  • Clarification that this repository contains a CLIPTextModel component.
  • A sample usage section with code snippets directly from the GitHub README to demonstrate detection.
  • The BibTeX citation for the paper.

These additions enhance discoverability, usability, and proper attribution for the model.

Please review and merge if everything looks correct!

RobinWZQ changed pull request status to merged

Sign up or log in to comment