mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-23 21:23:59 +00:00
Update spec files after DPO schema changes
This commit is contained in:
parent
c897d0b894
commit
6f01daac54
2 changed files with 25 additions and 19 deletions
29
docs/_static/llama-stack-spec.html
vendored
29
docs/_static/llama-stack-spec.html
vendored
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue