Passed the relevance filter but does not cleanly map to a stage.Fits the catalog's topic, but no single step.
region:us
Lifetime downloads
5.5K
Last 30 days
662
Likes
-
Size
9.2 GB
Description
# Diffusion Safe Fine-tuning Project
This project implements fine-tuning of pre-trained diffusion models for enhanced safety alignment, based on the principles discussed in "Safety Alignment Should Be Made More Than Just a Few Tokens Deep".
## Code Structure
[Link to your directory structure description here if you have a separate doc]
## Quick Start - Fine-tuning
1. **Install Dependencies:**
```bash
pip install -r requirements.txt
```
2. **Configure Training:**
-… See the full description on the dataset page: https://huggingface.co/datasets/NEUQ-LIS-LAB/time-step-diffusion-safe.
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
2025-03-24 · 1 years ago
Related datasets same stage · Miscsame step · Other
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("NEUQ-LIS-LAB/time-step-diffusion-safe")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="NEUQ-LIS-LAB/time-step-diffusion-safe", repo_type="dataset")
READMEAuthor's descriptioncurrent version from Hugging Faceas it is now on Hugging Face
# Diffusion Safe Fine-tuning Project
This project implements fine-tuning of pre-trained diffusion models for enhanced safety alignment, based on the principles discussed in "Safety Alignment Should Be Made More Than Just a Few Tokens Deep".
## Code Structure
[Link to your directory structure description here if you have a separate doc]
## Quick Start - Fine-tuning
1. **Install Dependencies:**
```bash
pip install -r requirements.txt
```
2. **Configure Training:**
- Modify `configs/config.yaml` to set your desired training parameters, dataset paths, pre-trained model paths, and fine-tuning method (`finetune_method`).
3. **Run Training:**
```bash
bash scripts/train.sh
```
This will start the fine-tuning process using the configurations in `configs/config.yaml`. Checkpoints will be saved in the `checkpoints/finetuned_model/` directory.
## Next Steps:
* **Implement Data Loaders:** Adapt `src/datasets/image_dataset.py` and `src/datasets/recovery_dataset.py` to load your specific image and recovery datasets.
* **Choose Fine-tuning Method:** Select and implement one or more fine-tuning methods in `src/trainers/finetune_trainer.py`: Standard SFT, Constrained KL, or Data Augmentation.
* **Safety Evaluation:** Implement safety evaluation metrics and scripts in `src/safety/` and `scripts/evaluate_safety.sh` to assess the safety of your fine-tuned models.
* **Experiment and Iterate:** Run experiments with different configurations and fine-tuning methods to optimize for safety and image quality.
## ... (rest of your README - project details, contact, license etc.) ...
`configs/config.yaml` : Inline code formatting (for filenames, paths in text)
[Link to your directory structure description here if you have a separate doc] : Markdown link format, placeholder for you to insert a link if you have a more detailed documentation of your directory structure elsewhere.
How to use this .md format:
Copy the entire text block above (including the markdown and lines, if you are copying from some environments, but ideally without them, just the content between them).
Create a new file named README.md in your diffusion-safe-finetune/ project's root directory.
Paste the copied text into the README.md file.
Save the file.
Markdown viewers (like GitHub, GitLab, or any Markdown editor) will now render this README.md file with proper formatting: headings, lists, and code blocks will be visually distinct and easy to read. You can then expand the ... (rest of your README - project details, contact, license etc.) ... section with more specific information about your project.
README historyEdit historylatest 20 of 29 revisionslatest 20 of 29 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.
2025-08-29Add files using upload-large-folder tool486135c3.1 KB
Loading...
2025-08-25Add files using upload-large-folder tool6490ba43.1 KB
Loading...
2025-08-25Add files using upload-large-folder tool8ca895f3.1 KB
Loading...
2025-08-25Add files using upload-large-folder tool0a533b03.1 KB
Loading...
2025-08-25Add files using upload-large-folder toolee07a8d3.1 KB
Loading...
2025-08-25Add files using upload-large-folder tool74bcb6b0 B
Loading...
2025-07-22Add files using upload-large-folder tool7303c360 B
Loading...
2025-07-22Add files using upload-large-folder toolf7f1b030 B
Loading...
2025-07-22Add files using upload-large-folder tool07ea7ae0 B
Loading...
2025-07-22Add files using upload-large-folder tool5b652bf0 B
Loading...
2025-07-22Add files using upload-large-folder tool9120d290 B
Loading...
2025-05-23Add files using upload-large-folder tool6b976c60 B
Loading...
2025-05-23Add files using upload-large-folder toolf8c70bf0 B
Loading...
2025-05-23Add files using upload-large-folder toolcc2f9c50 B
Loading...
2025-05-22Add files using upload-large-folder toolc5459d50 B
Loading...
2025-05-22Add files using upload-large-folder toolc30a2940 B
Loading...
2025-05-22Add files using upload-large-folder toold0184070 B
Loading...
2025-05-22Add files using upload-large-folder tool93b16020 B
Loading...
2025-04-08Add files using upload-large-folder tool7e625a20 B
Loading...
2025-04-08Add files using upload-large-folder tool217fb720 B
Loading...
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.