readme: ---
  license: other
  language:
  - en
  - ja
  library_name: diffusers
  pipeline_tag: text-to-image
  tags:
  - art
  ---
  <style>
    code {
      white-space : pre-wrap !important;
      word-break: break-word;
    }
  </style>
  
  # モデル説明 (model explanation)
  - [CoolerWaifuDiffusion(7030)](https://huggingface.co/ThePioneer/CoolerWaifuDiffusion/blob/main/0.7(wd-1-4-anime_e2)%20%2B%200.3(v2-1-1).ckpt) 0.6 : [Stable Diffusion 2.1 (512)](https://huggingface.co/stabilityai/stable-diffusion-2-1-base/blob/main/v2-1_512-ema-pruned.ckpt) 0.4。
    - 今回は[層別マージ](https://github.com/bbc-mc/sdweb-merge-block-weighted-gui)を利用。Weightは``0.5,0.5,0.5,0.5,0.5,0.5,0.4,0.3,0.25,0.2,0.15,0.1,0,0.6,0.55,0.45,0.2,0.1,0.1,0.2,0.45,0.55,0.65,0.7,0.75``。
  - [WaifuDiffusionのvae](https://huggingface.co/hakurei/waifu-diffusion-v1-4/blob/main/vae/kl-f8-anime.ckpt)と、[StableDiffusionのvae](https://huggingface.co/stabilityai/sd-vae-ft-mse-original/blob/main/vae-ft-mse-840000-ema-pruned.ckpt)をbake inして発色を改善。
  - 
  - colabのWebUIで動かせる。
    - [これ](https://colab.research.google.com/drive/1ldhBc70wvuvkp4Af_vNTzTfBXwpf_cH5?usp=sharing)の以下の書き換えを行う。やり方は[ここ](https://the-pioneer.notion.site/Colab-Automatic1111-6043f15ef44d4ba0b11920c95d33a78c)。
  ```python
  !aria2c --summary-interval=10 -x 16 -s 16 --allow-overwrite=true -Z https://huggingface.co/JosephusCheung/ACertainModel/resolve/main/ACertainModel-half.ckpt
  ```
  
  - [CoolerWaifuDiffusion(7030)](https://huggingface.co/ThePioneer/CoolerWaifuDiffusion/blob/main/0.7(wd-1-4-anime_e2)%20%2B%200.3(v2-1-1).ckpt) 0.6 : [Stable Diffusion 2.1 (512)](https://huggingface.co/stabilityai/stable-diffusion-2-1-base/blob/main/v2-1_512-ema-pruned.ckpt) 0.4.
    - This time, I have used the [block merge GUI](https://github.com/bbc-mc/sdweb-merge-block-weighted-gui). The weights are ``0.5,0.5,0.5,0.5,0.5,0.5,0.4,0.3,0.25,0.2,0.15,0.1,0,0.6,0.55,0.45,0.2,0.1,0.1,0.2,0.45,0.55,0.65,0.7,0.75``.
  - Improved the coloring by baking in [the vae of WaifuDiffusion](https://huggingface.co/hakurei/waifu-diffusion-v1-4/blob/main/vae/kl-f8-anime.ckpt) and [the vae of StableDiffusion](https://huggingface.co/stabilityai/sd-vae-ft-mse-original/blob/main/vae-ft-mse-840000-ema-pruned.ckpt).
  - You can run this model on colab WebUI.
    - Rewrite the following line of [this notebook](https://colab.research.google.com/drive/1ldhBc70wvuvkp4Af_vNTzTfBXwpf_cH5?usp=sharing) following the instructions I posted [here](https://the-pioneer.notion.site/Colab-Automatic1111-6043f15ef44d4ba0b11920c95d33a78c).
  ```python
  !aria2c --summary-interval=10 -x 16 -s 16 --allow-overwrite=true -Z https://huggingface.co/JosephusCheung/ACertainModel/resolve/main/ACertainModel-half.ckpt
  ```
  
  # サンプル画像 (sample images)
  [Civitai](https://civitai.com/models/5036/fushigimixv1)ページを参照。
  
  Check out the [Civitai](https://civitai.com/models/5036/fushigimixv1) page for this model.
  
  # License: The Libertarian OpenRAIL License
  注意: アップロード者が日本語母語話者であるため、翻訳版と日本語版に差異がある場合、**元の日本語版**が優先されるものとする。
  
  Caution: Since the uploader is a Japanese native, in the event of any differences in meaning between the original Japanese version and a translation, **the original Japanese version** takes precedence.
  
  要約: ほぼCreativeML Open RAIL-M。但しリバタリアン的解釈によって再構成。CreativeML Open RAIL-Mの制限は、同解釈において維持されているものと判断する。
  
  Summary: A CreativeML Open RAIL-M, interpreted and reconstructed under a libertarian manner. The restriction of CreativeML Open RAIL-M is considered to be valid under such interpretation.
  
  ## 主な相違 (differences from the original CreativeML Open RAIL-M license)
  - 違法性は、無罪推定の原則に基づき、有罪確定を以て、かつそれのみによって判断する（有罪が確定するまで、法令違反であるように見えても、ライセンス者は違法とはみなさない）。
    - ex. フェアユース文化圏は無論、親告罪である日本においても、著作者が訴えない範囲のほどほどの二次創作は、事実上問題視しない。
  - 本モデル及び派生モデルによる生成物はパブリック・ドメイン（CC0 1.0）とすることを義務付け、生成者を含む任意の人物による（再）利用の自由を保障する。
    - Stability.aiが運営するDream Studioが生成物をCC0 1.0としているが、元のモデルライセンスと両立していることに注意せよ。
  - 派生モデルでは、本ライセンスと同等以上の制限とともに、同等以上の自由も保障しなければならない。
  
  - The violation of law or regulation will be judged by and only by your conviction per the presumption of innocence (unless you are convicted, it is not enough to claim it is illegal for the Licensor, even if it looks like it).
    - ex. Fanart in Japan is technically illegal, unlike countries which have fair use, but as long as it is in the moderate range and the copright holder won't sue you, we will practically do not consider it as problematic.
  - Outputs you generated by the Model or Derivatives of the Model must be distributed under public domain (CC0 1.0), to ensure not only you but anyone can (re)use it freely.
    - Note that Dream Studio, run by Stability.ai demands the output be CC0 1.0 as well, but still isn't against the original model license.
  - Derivatives of the Model will always have to include - at minimum - the same use-based restrictions <u>and the same open permissions</u>.
  
  ## 全文 (full license)
  ### 日本語版
  [License_ja.md](https://huggingface.co/ThePioneer/MoeSharpV1/blob/main/License_ja.md)を参照。
  
  ### English version
  [License_en.md](https://huggingface.co/ThePioneer/MoeSharpV1/blob/main/License_en.md)を参照。