generated_from_trainer text generation stable diffusion midjourney text2image text to image prompt augment prompt engineering

pszemraj/opt-350m-multiprompt

<a href="https://colab.research.google.com/gist/pszemraj/bdd1238ee4b8330aeec6774a16f9a677/opt-350m-multiprompt-demo.ipynb"> <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/> </a>

Generate/augment your prompt with a model trained on a large & diverse prompt dataset.

This model is a fine-tuned version of facebook/opt-350m on the pszemraj/text2image-prompts-multi dataset. It achieves the following results on the evaluation set:

Example

landscape of florida

<br>

The above example was created with DALL-E 2 but will of course work with any text2image model.

Intended uses & limitations

Training and evaluation data

See the pszemraj/text2image-prompts-multi dataset card for details. The dataset is a compilation of several text-to-image prompt datasets on huggingface :)

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

Training results

Training Loss Epoch Step Validation Loss
2.1677 1.0 990 2.0888
1.856 2.0 1980 1.8215
1.6864 3.0 2970 1.6935
1.6228 4.0 3960 1.6670

Framework versions