Yasunori Ozaki commited on
Commit
0a47ac6
1 Parent(s): ce66cd8

Add safetensors

Browse files
.gitattributes CHANGED
@@ -36,3 +36,4 @@ v2-1-0.ckpt filter=lfs diff=lfs merge=lfs -text
36
  text_encoder/pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
37
  unet/diffusion_pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
38
  vae/diffusion_pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
 
 
36
  text_encoder/pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
37
  unet/diffusion_pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
38
  vae/diffusion_pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
39
+ v2-1-0.safetensors filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -3,15 +3,6 @@ license: other
3
  tags:
4
  - stable-diffusion
5
  - text-to-image
6
- widget:
7
- - text: "anime, ilya, a portrait of a girl with black short hair and red eyes, kimono, from front side, full color illustration, official art, good anatomy, 4k, detailed"
8
- example_title: "Girl (Anime)"
9
- - text: "manga, monochrome, black and white manga, shojo manga, a portrait of a girl with black short hair and white eyes, school uniform, from front side, good anatomy, 4k, detailed"
10
- example_title: "Girl (Manga)"
11
- - text: "anime, shinkai, buildings in Tokyo, 4k, 8k, highly detailed"
12
- example_title: "Bldgs. (Anime)"
13
- - text: "manga, black and white manga, monochrome, buildings in Tokyo, 4k, 8k, highly detailed"
14
- example_title: "Bldgs. (Manga)"
15
  ---
16
 
17
  # Cool Japan Diffusion 2.1.0 Model Card
@@ -47,8 +38,7 @@ Cool Japan Diffusion (for learning) はStable Diffsionをファインチュー
47
  したがって、法的な側面ではなく、倫理的な側面を調査する目的も本配布は兼ねていると考えてください。
48
 
49
  # 使い方
50
- 手軽に楽しみたい方は、パソコンならば右上側にあるテキストフォームに入れて生成してみてください。
51
- スマートフォンならば、上に戻って生成してみてください。
52
  詳しい本モデルの取り扱い方は[こちらの取扱説明書](https://alfredplpl.hatenablog.com/entry/2022/12/30/102636)にかかれています。
53
  モデルは[ここ](https://huggingface.co/aipicasso/cool-japan-diffusion-2-1-0/resolve/main/v2-1-0.ckpt)からダウンロードできます。
54
 
 
3
  tags:
4
  - stable-diffusion
5
  - text-to-image
 
 
 
 
 
 
 
 
 
6
  ---
7
 
8
  # Cool Japan Diffusion 2.1.0 Model Card
 
38
  したがって、法的な側面ではなく、倫理的な側面を調査する目的も本配布は兼ねていると考えてください。
39
 
40
  # 使い方
41
+ 手軽に楽しみたい方は、こちらの[Space](https://huggingface.co/spaces/alfredplpl/cool-japan-diffusion-2-1-0)をお使いください。
 
42
  詳しい本モデルの取り扱い方は[こちらの取扱説明書](https://alfredplpl.hatenablog.com/entry/2022/12/30/102636)にかかれています。
43
  モデルは[ここ](https://huggingface.co/aipicasso/cool-japan-diffusion-2-1-0/resolve/main/v2-1-0.ckpt)からダウンロードできます。
44
 
README_en.md CHANGED
@@ -1,5 +1,19 @@
1
  # Cool Japan Diffusion 2.1.0 Model Card
2
 
 
 
3
  # Introduction
 
 
4
 
5
  # Legal and ethical information
 
 
 
 
 
 
 
 
 
 
 
1
  # Cool Japan Diffusion 2.1.0 Model Card
2
 
3
+ ![アイキャッチ](eyecatch.jpg)
4
+
5
  # Introduction
6
+ Cool Japan Diffusion (for learning) is the latent diffusion model created from Stable Diffsion.
7
+ Cool Japan Diffusion is suitable for genetrating Cool Japan images such as Anime, Manga, and Game.
8
 
9
  # Legal and ethical information
10
+ We create this model legally.
11
+ However, we think that this model have ethical problems.
12
+ Therefore, we cannot use the model for commercially except for news reporting.
13
+
14
+ TBA.
15
+
16
+ # Usage
17
+ You can try the model by our [Space](https://huggingface.co/spaces/alfredplpl/cool-japan-diffusion-2-1-0).
18
+ I recommend to use the model by Web UI.
19
+ You can download the model [here](https://huggingface.co/aipicasso/cool-japan-diffusion-2-1-0/resolve/main/v2-1-0.ckpt).
model_index.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "StableDiffusionPipeline",
3
- "_diffusers_version": "0.11.1",
4
  "feature_extractor": [
5
  null,
6
  null
 
1
  {
2
  "_class_name": "StableDiffusionPipeline",
3
+ "_diffusers_version": "0.11.0.dev0",
4
  "feature_extractor": [
5
  null,
6
  null
scheduler/scheduler_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "PNDMScheduler",
3
- "_diffusers_version": "0.11.1",
4
  "beta_end": 0.012,
5
  "beta_schedule": "scaled_linear",
6
  "beta_start": 0.00085,
 
1
  {
2
  "_class_name": "PNDMScheduler",
3
+ "_diffusers_version": "0.11.0.dev0",
4
  "beta_end": 0.012,
5
  "beta_schedule": "scaled_linear",
6
  "beta_start": 0.00085,
text_encoder/config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "stabilityai/stable-diffusion-2-1-base",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
@@ -20,6 +20,6 @@
20
  "pad_token_id": 1,
21
  "projection_dim": 512,
22
  "torch_dtype": "float32",
23
- "transformers_version": "4.25.1",
24
  "vocab_size": 49408
25
  }
 
1
  {
2
+ "_name_or_path": "stabilityai/stable-diffusion-2",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
 
20
  "pad_token_id": 1,
21
  "projection_dim": 512,
22
  "torch_dtype": "float32",
23
+ "transformers_version": "4.26.0.dev0",
24
  "vocab_size": 49408
25
  }
tokenizer/tokenizer_config.json CHANGED
@@ -19,7 +19,7 @@
19
  },
20
  "errors": "replace",
21
  "model_max_length": 77,
22
- "name_or_path": "stabilityai/stable-diffusion-2-1-base",
23
  "pad_token": "<|endoftext|>",
24
  "special_tokens_map_file": "./special_tokens_map.json",
25
  "tokenizer_class": "CLIPTokenizer",
 
19
  },
20
  "errors": "replace",
21
  "model_max_length": 77,
22
+ "name_or_path": "stabilityai/stable-diffusion-2",
23
  "pad_token": "<|endoftext|>",
24
  "special_tokens_map_file": "./special_tokens_map.json",
25
  "tokenizer_class": "CLIPTokenizer",
unet/config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
- "_diffusers_version": "0.11.1",
4
  "act_fn": "silu",
5
  "attention_head_dim": [
6
  5,
@@ -15,7 +15,6 @@
15
  1280
16
  ],
17
  "center_input_sample": false,
18
- "class_embed_type": null,
19
  "cross_attention_dim": 1024,
20
  "down_block_types": [
21
  "CrossAttnDownBlock2D",
@@ -30,13 +29,11 @@
30
  "in_channels": 4,
31
  "layers_per_block": 2,
32
  "mid_block_scale_factor": 1,
33
- "mid_block_type": "UNetMidBlock2DCrossAttn",
34
  "norm_eps": 1e-05,
35
  "norm_num_groups": 32,
36
  "num_class_embeds": null,
37
  "only_cross_attention": false,
38
  "out_channels": 4,
39
- "resnet_time_scale_shift": "default",
40
  "sample_size": 64,
41
  "up_block_types": [
42
  "UpBlock2D",
 
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.11.0.dev0",
4
  "act_fn": "silu",
5
  "attention_head_dim": [
6
  5,
 
15
  1280
16
  ],
17
  "center_input_sample": false,
 
18
  "cross_attention_dim": 1024,
19
  "down_block_types": [
20
  "CrossAttnDownBlock2D",
 
29
  "in_channels": 4,
30
  "layers_per_block": 2,
31
  "mid_block_scale_factor": 1,
 
32
  "norm_eps": 1e-05,
33
  "norm_num_groups": 32,
34
  "num_class_embeds": null,
35
  "only_cross_attention": false,
36
  "out_channels": 4,
 
37
  "sample_size": 64,
38
  "up_block_types": [
39
  "UpBlock2D",
unet/diffusion_pytorch_model.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:de981f842c293d09c674830a093379212a6213ccf0e860b811f4885114a8b929
3
- size 3463913445
 
 
 
 
text_encoder/pytorch_model.bin → v2-1-0.safetensors RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c3e254d7b61353497ea0be2c4013df4ea8f739ee88cffa0ba58cd085459ed565
3
- size 1361671895
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2a88fe47ff40a3f7cd6615c653222ce8e4623dcd71d1e9cfbf57ae2589e8a2b
3
+ size 5214604281
vae/config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "AutoencoderKL",
3
- "_diffusers_version": "0.11.1",
4
  "act_fn": "silu",
5
  "block_out_channels": [
6
  128,
 
1
  {
2
  "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.11.0.dev0",
4
  "act_fn": "silu",
5
  "block_out_channels": [
6
  128,
vae/diffusion_pytorch_model.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5f9c393b8c32f1f8a280b1ec8b18f835f9325658e68cbf3268c873a19dbc40f4
3
- size 334707217