mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-26 07:11:58 +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
15
docs/_static/llama-stack-spec.yaml
vendored
15
docs/_static/llama-stack-spec.yaml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue