abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

zhili-liu/implicit-concept-dataset

published by @zhili-liu

Passed the relevance filter but does not cleanly map to a stage.Fits the catalog's topic, but no single step.

size_categories:1K<n<10Kformat:imagefoldermodality:imagelibrary:datasetslibrary:mlcroissantarxiv:2310.05873region:us
Lifetime downloads
1.4K
Last 30 days
50
Likes
-
Size
241.3 MB

Description

Implicit Concept Dataset (ICD)

This repo releases data introduced in our paper: Implicit Concept Removal of Diffusion Models

Text-to-image (T2I) diffusion models often inadvertently generate unwanted concepts such as watermarks and unsafe images. These concepts, termed as the "implicit concepts", could be unintentionally learned during training and then be generated uncontrollably during inference. Existing removal methods still struggle to eliminate implicit concepts primarily… See the full description on the dataset page: https://huggingface.co/datasets/zhili-liu/implicit-concept-dataset.

Used by uncensored models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

Created on HFCreated
2024-07-16 · 2 years ago
Size category
1K<n<10K
ModalitiesData types
image
Formats
imagefolder
LibrariesTools
datasetsmlcroissant
ArXivPaper

Related datasets same stage · Miscsame step · Other

Read further

Total size
241.3 MB
Files
5
Formats
png, zip
Head
2748493
Last updated on HFLast updated
2024-07-16

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("zhili-liu/implicit-concept-dataset")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="zhili-liu/implicit-concept-dataset", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/zhili-liu/implicit-concept-dataset

Files by folder from our last crawlfrom our last check

top level 3 files 238.5 MB
.gitattributes 2.3 KB file download
ICD.zip 238.5 MB zip download
README.md 2.9 KB md download
assets/ 2 files 2.8 MB
dataset_images_more.png 2.3 MB png download
main_method.png 464.9 KB png download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

Implicit Concept Dataset (ICD)

This repo releases data introduced in our paper: Implicit Concept Removal of Diffusion Models

Text-to-image (T2I) diffusion models often inadvertently generate unwanted concepts such as watermarks and unsafe images. These concepts, termed as the "implicit concepts", could be unintentionally learned during training and then be generated uncontrollably during inference. Existing removal methods still struggle to eliminate implicit concepts primarily due to their dependency on the model's ability to recognize concepts it actually can not discern. To address this, we utilize the intrinsic geometric characteristics of implicit concepts and present the Geom-Erasing, a novel concept removal method based on the geometric-driven control. Specifically, once an unwanted implicit concept is identified, we integrate the existence and geometric information of the concept into the text prompts with the help of an accessible classifier or detector model. Subsequently, the model is optimized to identify and disentangle this information, which is then adopted as negative prompts during generation. Moreover, we introduce the Implicit Concept Dataset (ICD), a novel image-text dataset imbued with three typical implicit concepts (i.e., QR codes, watermarks, and text), reflecting real-life situations where implicit concepts are easily injected. Geom-Erasing effectively mitigates the generation of implicit concepts, achieving the state-of-the-art results on the Inappropriate Image Prompts (I2P) and our challenging Implicit Concept Dataset (ICD) benchmarks.

main_method

Dataset Release

We release two datasets: ICD-QR & ICD-Text for academic use. To prevent the potential risk of hide content infringement through Geom-Erasing, we decide not to open-source the ICD-watermark. Contact us if you needs any help.

dataset_images_more

ICD-QR

Real QR codes are pasted on the Pokemon dataset. The total dataset contains 802 image-text pairs, which is divided into two portions: 80% for fine-tuning (ICD-QR/train.json), and the remaining 20% for testing (ICD-QR/test.json). In the training subset, QR codes are pasted to 25% of the images, with QR code lengths varying from 1/4 to 1/2 of the image length, placed randomly, occasionally overlapping with the original content to resemble real-world scenarios. Importantly, test images remain QR code-free for evaluation.

ICD-Text

The training dataset we used is provided by LAION-Glyph-1M. Please follow their download instruction. It comprises 1M samples, with each image containing text. For the evaluation dataset, additional 2k text-free images are collected from LAION (ICD-Text/laion_notext_eval/test.json).

README historyEdit history 4 revisions4 edits

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2024-07-16 upload assets for readme 2748493 2.8 KB
    Loading...
  2. 2024-07-16 Upload README.md bd17c7a 2.8 KB
    Loading...
  3. 2024-07-16 upload ICD-QR & ICD-Text 6a23e9e 0 B
    Loading...
  4. 2024-07-16 initial commit 7082337 0 B
    Loading...

Community discussions 1 thread · 1 open · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.

  1. 2024-07-17 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

zhili-liu/implicit-concept-dataset

Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration