LlamaModelInfo
data class LlamaModelInfo(val description: String, val vocabularySize: Int, val trainContextLength: Int, val embeddingSize: Int, val layerCount: Int, val parameterCount: Long, val sizeBytes: Long, val bosToken: Int, val eosToken: Int, val hasEncoder: Boolean)(source)
Static properties of the loaded model.
Constructors
Properties
Link copied to clipboard
llama_model_desc(), e.g. "llama 7B Q4_K - Medium".
Link copied to clipboard
embedding dimension (n_embd): the size of LlamaEngine.embed vectors.
Link copied to clipboard
true for encoder-decoder models (e.g. T5).
Link copied to clipboard
number of transformer layers (n_layer), the unit of BackendConfig.gpuLayers.
Link copied to clipboard
total number of model parameters.
Link copied to clipboard
context length the model was trained with (n_ctx_train).
Link copied to clipboard
number of tokens in the vocabulary.