SamplingTAR Defense

by liu524co.huggingface.liu524/sampling-tar-defense

  • Remote endpoint
  • 1 tool

Tools

  • sampling_tar_defense_defend Run the SamplingTAR defense on an uploaded image. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the tool. Returns: Tuple of (result_markdown, undefended_attn_img, defended_attn_img, ablated_heads_text).

As the server's own listing gives them. We never call a tool.