File size: 3,551 Bytes
89a6094
6f64c4e
657df77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80d6541
 
 
 
 
 
 
 
657df77
e7686dc
3751287
657df77
 
697f868
5529086
657df77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
697f868
657df77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
---
pipeline_tag: text-to-image
widget:
- text: Three cow grazing in a bay window
  output:
    url: cow.png
- text: >-
    Super Closeup Portrait, action shot, Profoundly dark whitish meadow, glass
    flowers, Stains, space grunge style, Jeanne d'Arc wearing White Olive green
    used styled Cotton frock, Wielding thin silver sword, Sci-fi vibe, dirty,
    noisy, Vintage monk style, very detailed, hd
  output:
    url: girl.png
- text: >-
    spacious,circular underground room,{dirtied and bloodied white
    tiles},amalgamation,flesh,plastic,dark fabric,core,pulsating
    heart,limbs,human-like arms,twisted angelic wings,arms,covered in
    skin,feathers,scales,undulate slowly,unseen current,convulsing,head
    area,chaotic,mass of eyes,mouths,no human features,smaller
    forms,cherubs,demons,golden wires,surround,holy light,tv static
    effect,golden glow,shadows,terrifying essence,overwhelming
    presence,nightmarish,landscape,sparse,cavernous,eerie,dynamic,motion,striking,awe-inspiring,nightmarish,nightmarish,nightmare,horrifying,bio-mechanical,body
    horror,amalgamation
  output:
    url: aigle.png
license: gpl-3.0
datasets:
- CortexLM/midjourney-v6
library_name: diffusers
language:
- en
tags:
- bittensor
- decentralization
- vision
- subnet 19
- pixel
---
<img src="https://cdn-uploads.huggingface.co/production/uploads/655a0bdf3ff5ba1b1b1c01b7/y1dKBZh8UhII6wtbs5boj.png" alt="drawing" width="372"/>

<Gallery />

(From <a href="https://huggingface.co/PlixAI/BitDiffusionV0.1">PlixAI BitDiffusion model</a>)

### BitDiffusionXL v0.1

This is the initial version of the image model trained on the Bittensor network within Pixel subnet. It's not expected for this model to perform as well as MidJourney V6 at the moment. However, it does generate better images than base SDXL model.

**Trained on the dataset of Subnet 19 Vision.**

## Pixel subnet Checkpoint

Model ID : gtsru/sn17-dek-012

Revision : 5852d39e8413a377a3477b8278ade9af311f83a4

UID : 42

Perplexity : 1.1325

## Settings for BitDiffusionXL v0.1

Use these settings for the best results with BitDiffusionV0.1:

CFG Scale: Use a CFG scale of 8

Steps: 40 to 60 steps

Sampler: DPM++ 2M SDE

Scheduler: Karras

Resolution: 1024x1024

**For best results, set a negative_prompt**

## Use it with 🧨 diffusers
```python
import torch
from diffusers import (
    StableDiffusionXLPipeline, 
    KDPM2AncestralDiscreteScheduler,
    AutoencoderKL
)

# Load VAE component
vae = AutoencoderKL.from_pretrained(
    "madebyollin/sdxl-vae-fp16-fix", 
    torch_dtype=torch.float16
)

# Configure the pipeline
pipe = StableDiffusionXLPipeline.from_pretrained(
    "CortexLM/BitDiffusionXL-v0.1", 
    vae=vae,
    torch_dtype=torch.float16
)
pipe.scheduler = KDPM2AncestralDiscreteScheduler.from_config(pipe.scheduler.config)
pipe.to('cuda')

# Define prompts and generate image
prompt = "black fluffy gorgeous dangerous cat animal creature, large orange eyes, big fluffy ears, piercing gaze, full moon, dark ambiance, best quality, extremely detailed"
negative_prompt = "nsfw, bad quality, bad anatomy, worst quality, low quality, low resolutions, extra fingers, blur, blurry, ugly, wrongs proportions, watermark, image artifacts, lowres, ugly, jpeg artifacts, deformed, noisy image"

image = pipe(
    prompt, 
    negative_prompt=negative_prompt, 
    width=1024,
    height=1024,
    guidance_scale=7.5,
    num_inference_steps=50
).images[0]
```

Training Subnet : https://github.com/PlixML/pixel

Dataset : https://huggingface.co/datasets/CortexLM/midjourney-v6