Sygil-Muse / README.md
ZeroCool94's picture
Update README.md
f3d99dc
|
raw
history blame
4.44 kB
metadata
license: openrail
metrics:
  - accuracy
  - bertscore
  - bleu
  - bleurt
  - brier_score
  - cer
  - character
  - charcut_mt
  - chrf
  - code_eval
tags:
  - text-to-image
  - sygil-devs
  - Muse
  - Sygil-Muse
pipeline_tag: text-to-image

Model Card for Model ID

This model is based in Muse and trained using the code hosted on Sygil-Dev/muse-maskgit-pytorch, which is based on lucidrains/muse-maskgit-pytorch and a collaboration between the Sygil-Dev and ShoukanLabs teams.

Model Details

This model is a new model trained from scratch based on Muse, trained on a subset of the Imaginary Network Expanded Dataset, with the big advantage of allowing the use of multiple namespaces (labeled tags) to control various parts of the final generation. The use of namespaces (eg. “species:seal” or “studio:dc”) stops the model from misinterpreting a seal as the singer Seal, or DC Comics as Washington DC.

Note: As of right now, only the first VAE and MaskGit has been trained with different configuration, we are trying to find the best balance between quality, performance and vram usage so Muse can be used on all kind of devices, we still need to train the Super Resolution VAE for the model to be usable even tho we might be able to reuse the first VAE depending on the quality of it once the training progresses more.

If you find my work useful, please consider supporting me on GitHub Sponsors!

This model is still in its infancy and it's meant to be constantly updated and trained with more and more data as time goes by, so feel free to give us feedback on our Discord Server or on the discussions section on huggingface. We plan to improve it with more, better tags in the future, so any help is always welcome. Join the Discord Server

Available Checkpoints:

  • Stable:

    • None
  • Beta:

    • vae.9710000.pt: Trained from scratch for 9.71M steps with dim: 32,vq_codebook_dim: 8192 and vq_codebook_size: 8192.
    • maskgit.4345000.pt: Maskgit trained from the beta VAE for 4.34M steps.

Note: Checkpoints under the Beta section are updated daily or at least 3-4 times a week. While the beta checkpoints can be used as they are, only the latest version is kept on the repo and the older checkpoints are removed when a new one is uploaded to keep the repo clean.

Training

Training Data: The model was trained on the following dataset:

Hardware and others

  • Hardware: 1 x Nvidia RTX 3050 GPU

  • Hours Trained: NaN.

  • Gradient Accumulations: 10

  • Batch: 1

  • Learning Rate: 1e-5

  • Learning Rate Scheduler: cosine_with_restarts

  • Scheduler Power: 1.0

  • Optimizer: Adam

  • Warmup Steps: 10,000

  • Number of Cycles: 1

  • Resolution/Image Size: First trained at a resolution of 64x64, then increased to 256x256 and then to 512x512. Check the notes down below for more details on this.

  • Dimension: 32

  • vq_codebook_dim: 8192

  • vq_codebook_size: 8192

  • heads: 8

  • depth: 4

  • Random Crop: True

  • Total MaskGit Training Steps: 4,345,000

  • Total VAE Training Steps: 9,710,000

    Note: On Muse we can change the image_size or resolution at any time without having to train the model from scratch again, this allows us to first train the model at low resolution using the same dim and vq_codebook_size to train faster and then we can increase the image_size and use a higher resolution once the model has trained enough.

Developed by: ZeroCool at Sygil-Dev.

License

This model is open access and available to all, with a CreativeML Open RAIL++-M License further specifying rights and usage.