mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/training
@mlx-bun/training/loss
Module @mlx-bun/training/loss
Interfaces
ChunkCtx
HeadSpan
Type Aliases
SftScope
Functions
branchLogpMeanB1
chunkedLogpMeanFromHidden
combineFullNll
dpoLoss
dpoMetrics
dpoRefLogps
fusedLogpMeanB1
fusedLogpMeanFromHidden
fusedRespLogpMean
log1mexp
logitsFromHiddenPadM
maskedCe
orpoLoss
orpoLossFromLogps
orpoMetrics
responseOnlyCe
responseOnlyLogpMean
respSpanFromMask
sftLoss
spanLogpMeanFromHidden
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Interfaces
Chunk
Ctx
Head
Span
Type Aliases
Sft
Scope
Functions
branch
Logp
Mean
B1
chunked
Logp
Mean
From
Hidden
combine
Full
Nll
dpo
Loss
dpo
Metrics
dpo
Ref
Logps
fused
Logp
Mean
B1
fused
Logp
Mean
From
Hidden
fused
Resp
Logp
Mean
log1mexp
logits
From
Hidden
Pad
M
masked
Ce
orpo
Loss
orpo
Loss
From
Logps
orpo
Metrics
response
Only
Ce
response
Only
Logp
Mean
resp
Span
From
Mask
sft
Loss
span
Logp
Mean
From
Hidden
Documentation
mlx-bun library API
Loading...