Edit model card

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.12145000.pt: Trained from scratch for 12.14M steps with dim: 32,vq_codebook_dim: 8192 and vq_codebook_size: 8192.
    • maskgit.5125000.pt: Maskgit trained from the beta VAE for 5.12M 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 Size: 1

  • Learning Rate: 1e-5

  • Learning Rate Scheduler: constant_with_warmup

  • Scheduler Power: 1.0

  • Optimizer: Adam

  • Warmup Steps: 10,000

  • Number of Cycles: 200

  • 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

  • num_tokens: 8192

  • seq_len: 1024

  • heads: 8

  • depth: 4

  • Random Crop: True

  • Total MaskGit Training Steps: 5,125,000

  • Total VAE Training Steps: 12,145,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.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Examples
Unable to determine this model's library. Check the docs .