class Llama::Sampling::Grammar

Defined in:

llama/sampling_plan.cr

Constructors

Instance Method Summary

Instance methods inherited from class Llama::Sampling::Stage

build(vocab : Vocab) : Sampler::Base build, selector? : Bool selector?

Constructor Detail

def self.new(source : String, root : String = "root") #

[View source]

Instance Method Detail

def build(vocab : Vocab) : Sampler::Base #

[View source]
def root : String #

[View source]
def source : String #

[View source]