GreedySamplingPipeline
Namespace: LLama.Sampling
A sampling pipeline which always selects the most likely token
1 | |
Inheritance Object → BaseSamplingPipeline → GreedySamplingPipeline
Implements ISamplingPipeline, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Properties
Grammar
Grammar to apply to constrain possible tokens
1 | |
Property Value
Constructors
GreedySamplingPipeline()
1 | |
Methods
CreateChain(SafeLLamaContextHandle)
1 | |
Parameters
context SafeLLamaContextHandle