mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/inference
@mlx-bun/inference/generation/speculative/draft-registry
DraftTarget
Interface DraftTarget
What the target offers a draft that must agree with it.
interface
DraftTarget
{
tokenizer
:
{
encode
(
text
:
string
)
:
readonly
number
[]
}
;
vocabSize
:
number
;
}
Index
Properties
tokenizer
vocab
Size
Properties
Readonly
tokenizer
tokenizer
:
{
encode
(
text
:
string
)
:
readonly
number
[]
}
Readonly
vocab
Size
vocabSize
:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
tokenizer
vocab
Size
Documentation
mlx-bun library API
Loading...
What the target offers a draft that must agree with it.