Companion
Constants and factory functions of LlamaContextConfig.
Properties
Link copied to clipboard
All defaults: 4096-token context, 512-token batches, the model's own embedding pooling.
Link copied to clipboard
Default batchSize in tokens.
Link copied to clipboard
Default contextLength in tokens.
Link copied to clipboard
Default embeddingContextLength in tokens.
Link copied to clipboard
contextLength sentinel: use the model's training context length.