R/parsnip.R
top_p.Rd
Creates a dials parameter object for LLM top-p (nucleus sampling).
top_p(range = c(0, 1), trans = NULL)
Range of top-p values (default c(0, 1)).
Transformation (default NULL for identity).
A dials parameter object.
if (FALSE) { # \dontrun{ top_p() top_p(range = c(0.5, 1)) } # }