halfadv89 commited on
Commit
a6d88d1
·
verified ·
1 Parent(s): 4bbd81a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -82
README.md CHANGED
@@ -1,84 +1,2 @@
1
  ---
2
  license: apache-2.0
3
- language:
4
- - en
5
- base_model:
6
- - black-forest-labs/FLUX.1-dev
7
- new_version: black-forest-labs/FLUX.1-dev
8
- pipeline_tag: text-to-image
9
- library_name: diffusers
10
- tags:
11
- - art
12
- ---
13
- ### Model Card for FLUX.1 [dev] Abliterated
14
-
15
- ![Thumbnail](a_cute_girl_wearing_sunglasses,_half-naked,_GTA-st.png)
16
-
17
- #### Model Overview
18
- **Model Name:** FLUX.1 [dev] Abliterated
19
- **Model Type:** Text-to-Image Generation
20
- **Architecture:** Rectified Flow Transformer
21
- **Parameter Size:** 12 Billion
22
- **Base Model:** FLUX.1 [dev]
23
- **Modification:** Abliteration (Removal of Refusal Mechanism)
24
-
25
- #### Description
26
- The **FLUX.1 [dev] Abliterated** model is a modified version of the original FLUX.1 [dev] text-to-image generation model. This version has undergone a process called **abliteration**, which removes the model's built-in refusal mechanism. This allows the model to respond to a wider range of prompts, including those that the original model might have deemed inappropriate or harmful.
27
-
28
- The abliteration process involves identifying and isolating the specific components of the model responsible for refusal behavior and then modifying or ablating those components. This results in a model that is more flexible and responsive, while still maintaining the core capabilities of the original FLUX.1 [dev] model.
29
-
30
- #### Architecture
31
-
32
- ![Architecture](flux.png)
33
-
34
- #### Usage
35
- To use the FLUX.1 [dev] Abliterated model, you can load it via Hugging Face and generate images using the following code:
36
-
37
- ```python
38
- import torch
39
- from diffusers import AutoPipelineForText2Image
40
-
41
- # Load the abliterated model
42
- pipeline = AutoPipelineForText2Image.from_pretrained(
43
- "aoxo/flux.1dev-abliterated",
44
- torch_dtype=torch.float16,
45
- token='your_hf_token'
46
- ).to('cuda')
47
-
48
- # Generate an image from a text prompt
49
- prompt = 'A girl in bikinis sipping on a margarita'
50
- image = pipeline(prompt).images[0]
51
-
52
- # Display the image
53
- image.show()
54
- ```
55
-
56
- #### Training Data
57
- The FLUX.1 [dev] Abliterated model is based on the original FLUX.1 [dev] model, which was trained on a diverse dataset of text-image pairs. The training data includes a wide range of visual and textual content, ensuring that the model can generate images for a variety of prompts.
58
-
59
- #### License
60
- The FLUX.1 [dev] Abliterated model is released under the same **FLUX.1 [dev] Non-Commercial License** as the original model. This license allows for personal, scientific, and commercial use, with certain restrictions. Please review the license terms before using the model in your projects.
61
-
62
- #### Citation
63
- If you use the FLUX.1 [dev] Abliterated model in your research or projects, please cite the original FLUX.1 [dev] model and the abliteration process as described in the blog post by Aloshdenny.
64
-
65
- ```bibtex
66
- @misc{flux1dev,
67
- author = {Flux Team},
68
- title = {FLUX.1 [dev]: A 12 Billion Parameter Rectified Flow Transformer},
69
- year = {2023},
70
- howpublished = {\url{https://huggingface.co/aoxo/flux.1dev}},
71
- }
72
-
73
- @misc{flux1dev-abliterated,
74
- author = {aoxo},
75
- title = {Uncensoring Flux.1 Dev: Abliteration},
76
- year = {2025},
77
- howpublished = {\url{https://medium.com/@aloshdenny/uncensoring-flux-1-dev-abliteration-bdeb41c68dff}},
78
- }
79
- ```
80
-
81
- #### Contact
82
- For questions, feedback, or collaboration opportunities, please contact the Flux Team at [contact@flux.ai](mailto:contact@flux.ai).
83
-
84
- ---
 
1
  ---
2
  license: apache-2.0