diff --git a/docs/_static/llama-stack-spec.html b/docs/_static/llama-stack-spec.html
index db5c57821..d7801ba1c 100644
--- a/docs/_static/llama-stack-spec.html
+++ b/docs/_static/llama-stack-spec.html
@@ -14470,28 +14470,31 @@
"DPOAlignmentConfig": {
"type": "object",
"properties": {
- "reward_scale": {
+ "beta": {
"type": "number"
},
- "reward_clip": {
- "type": "number"
- },
- "epsilon": {
- "type": "number"
- },
- "gamma": {
- "type": "number"
+ "loss_type": {
+ "$ref": "#/components/schemas/DPOLossType",
+ "default": "sigmoid"
}
},
"additionalProperties": false,
"required": [
- "reward_scale",
- "reward_clip",
- "epsilon",
- "gamma"
+ "beta",
+ "loss_type"
],
"title": "DPOAlignmentConfig"
},
+ "DPOLossType": {
+ "type": "string",
+ "enum": [
+ "sigmoid",
+ "hinge",
+ "ipo",
+ "kto_pair"
+ ],
+ "title": "DPOLossType"
+ },
"DataConfig": {
"type": "object",
"properties": {
diff --git a/docs/_static/llama-stack-spec.yaml b/docs/_static/llama-stack-spec.yaml
index 16d5dd41a..be02e1e42 100644
--- a/docs/_static/llama-stack-spec.yaml
+++ b/docs/_static/llama-stack-spec.yaml
@@ -10114,18 +10114,21 @@ components:
beta:
type: number
loss_type:
- type: string
- enum:
- - sigmoid
- - hinge
- - ipo
- - kto_pair
+ $ref: '#/components/schemas/DPOLossType'
default: sigmoid
additionalProperties: false
required:
- beta
- loss_type
title: DPOAlignmentConfig
+ DPOLossType:
+ type: string
+ enum:
+ - sigmoid
+ - hinge
+ - ipo
+ - kto_pair
+ title: DPOLossType
DataConfig:
type: object
properties: