Skip to contents

Creates a dials parameter object for LLM top-p (nucleus sampling).

Usage

top_p(range = c(0, 1), trans = NULL)

Arguments

range

Range of top-p values (default c(0, 1)).

trans

Transformation (default NULL for identity).

Value

A dials parameter object.

Examples

if (FALSE) { # \dontrun{
top_p()
top_p(range = c(0.5, 1))
} # }