ISamplingPipelineExtensions
Namespace: LLama.Sampling
Extension methods for ISamplingPipeline
1 |
|
Inheritance Object → ISamplingPipelineExtensions
Attributes ExtensionAttribute
Methods
Sample(ISamplingPipeline, LLamaContext, Int32)
Sample a single token from the given context at the given position
1 |
|
Parameters
pipe
ISamplingPipeline
ctx
LLamaContext
The context being sampled from
index
Int32
Position to sample logits from