topP property

double? topP
getter/setter pair

If set, only the tokens comprising the top top_p probability mass are considered.

If both top_p and top_k are set, top_p will be used for further refining candidates selected with top_k. Valid range: (0.0, 1.0]. Small topP = less random. Large topP = more random.

Implementation

core.double? topP;