The learning rate is a machine learning setting that controls how big or small the changes are to a model’s settings during training. A higher learning rate speeds up training but can cause the model to miss important details, making it less accurate. A lower learning rate helps the model learn details more carefully, but it takes longer to train.
The number of training steps refers to the number of iterations that the model goes through during training, and it is another important factor that can affect the model's performance. A higher number of training steps can result in a more accurate model, but it can also make the model more prone to overfitting, as it may start to memorize the training data rather than generalize to new data.
To get good quality outputs from a custom-trained model, we must find a 'sweet spot' between the number of training steps and the learning rate. It’s generally recommended to try with the standard settings, and progressively adjust (if needed), using a low learning rate and increasing the number of steps to orient yourself to the behavior of your dataset during the finetune process.
Prompt Embedding is a method that automatically adds a consistent set of extra words (tokens) to input prompts, helping generate more precise visuals through additional guidance in the prompt. There are two types of prompt embedding available on Scenario:
Prompt Embedding: Adds helpful context or instructions to guide the AI toward the desired output, such as keywords for quality or style (e.g., “3D cartoon style, vibrant colors”).
Negative Prompt Embedding: Specifies elements to avoid or exclude in the output (e.g., “blurry, realistic”). This feature is available only for Stable Diffusion models only.
Configuring prompt embedding enhances the accuracy of your custom AI models. It works behind the scenes, ensuring more consistent results without requiring users to manually enter extra information each time in the prompt. It’s a time-saver and a simplifier: you set it up once, and it works automatically
(i) Navigate to the “Details” tab on a model page to access the model configuration. You’ll see options for prompt embedding to the right of the interface.
(i) Enter the tokens you want included in every prompt, such as “3D cartoon style, vibrant colors” for a cartoon model for instance. These keywords guide the AI to produce consistent, high-quality visuals without appearing in the user’s prompt field.
(ii) If using a Stable Diffusion model (like SDXL), you can also configure negative prompt embedding by entering elements to avoid, like “blurry, realistic, low-res, distorted”. This helps exclude unwanted details, ensuring cleaner, consistent results.
(iv) Click "Save" to apply the changes. The embedded prompts are now automatically added to every user prompt during generation, without requiring manual input each time.
Once configured, prompt embedding remains invisible to users unless they access the model settings again.
Was this helpful?
Quentin