Model Pipeline - Output guardrails
This pipeline shows how output guardrails help control and improve the responses of a generative AI model. Guardrails guide the model to produce safe, relevant, and accurate outputs.
This pipeline shows how output guardrails help control and improve the responses of a generative AI model. Guardrails guide the model to produce safe, relevant, and accurate outputs.
Loss
1.2 |*
1.0 | **
0.8 | ***
0.6 | ****
0.4 | *****
--------
Epochs
| Epoch | Loss ↓ | Accuracy ↑ | Observation |
|---|---|---|---|
| 1 | 1.2 | 0.45 | Model starts learning basic language patterns. |
| 2 | 0.9 | 0.6 | Model improves in generating coherent text. |
| 3 | 0.7 | 0.75 | Model begins to produce relevant and safe outputs. |
| 4 | 0.5 | 0.85 | Output guardrails help reduce unsafe or irrelevant outputs. |
| 5 | 0.4 | 0.9 | Model converges with high-quality, safe outputs. |