Downloads · 30 days
0
JoeySalmons/ldt-100k_images
ldt-100k_images is a machine learning model from JoeySalmons. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
These are latent diffusion transformer models trained from scratch on 100k 256x256 images. Checkpoint 278k-fullstatedict.pth has been trained on about 500 epochs and is well into being overfit on the 100k training ima…
Downloads · 30 days
0
Access
Public
Updated Jan 27, 2024
Repo size
2.9 GB
Likes
0
Public
Click a slice to open those files.
.pth2.9 GB · 100%
From the Hugging Face model README
These are latent diffusion transformer models trained from scratch on 100k 256x256 images. Checkpoint 278k-full_state_dict.pth has been trained on about 500 epochs and is well into being overfit on the 100k training images.
The two checkpoints for 300k and 395k steps were further trained on a Midjourney dataset of 600k images for 9.4 epochs (300k steps) and 50 epochs (395k steps) at a constant LR of 5e-5. The additional training on the MJ dataset took ~8 hours on a 4090 with batch size 256.
The models are the same as in the Google Colabs below: embed_dim=512, n_layers=8, total parameters=30507328 (30M)
https://colab.research.google.com/drive/10yORcKXT40DLvZSceOJ1Hi5z_p5r-bOs?usp=sharing
https://colab.research.google.com/drive/1sKk0usxEF4bmdCDcNQJQNMt4l9qBOeAM?usp=sharing
This repo contains the original training code: https://github.com/apapiu/transformer_latent_diffusion
https://huggingface.co/apapiu/small_ldt/tree/main
See this Reddit post by u/spring_m (huggingface.co/apapiu) for some more information: https://www.reddit.com/r/MachineLearning/comments/198eiv1/p_small_latent_diffusion_transformer_from_scratch/