Platforms to show: All Mac Windows Linux Cross-Platform
LlamaModelMBS class New in 25.5
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| class | Llama | MBS Tools Plugin | 25.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
- 20 properties
- property ClassifierOutputs as Integer
- property ctx_train as Integer
- property Description as String
- property embd as Integer
- property Handle as Integer
- property HasDecoder as Boolean
- property HasEncoder as Boolean
- property head as Integer
- property head_kv as Integer
- property IsDiffusion as Boolean
- property IsHybrid as Boolean
- property IsRecurrent as Boolean
- property layer as Integer
- property Meta as Dictionary
- property MetaCount as Integer
- property ParameterCount as Integer
- property RopeType as Integer
- property Size as Integer
- property swa as Integer
- property Vocab as LlamaVocabMBS
- 12 methods
- method ChatTemplate(Name as String) as String
- method ClassifierOutputLabel(index as integer) as String
- method Constructor Private
- method Constructor(File as FolderItem, Parameters as LlamaModelParametersMBS = nil)
- method Constructor(Path as String, Parameters as LlamaModelParametersMBS = nil)
- method DecoderStartToken as Int32
- method Destructor
- method MetaKey(Index as Integer) as String
- method MetaValue(Index as Integer) as String
- method MetaValue(Key as String) as String
- method SaveToFile(File as FolderItem)
- method SaveToFile(Path as String)
- 5 constants
Rope Type
| Constant | Value | Description |
|---|---|---|
| RopeTypeMrope | 8 |
Modified RoPE used for supporting longer context lengths (like in LLaMA 2 64k or LLaMA 3). |
| RopeTypeNeox | 2 |
GPT-NeoX style RoPE, which can differ in frequency base or application. |
| RopeTypeNone | -1 |
Indicates that no RoPE is applied or is unsupported. Often used as a default or error state. |
| RopeTypeNorm | 0 |
The standard Rotary Positional Embedding (used in original LLaMA models). |
| RopeTypeVision | 24 |
RoPE adapted for vision models (e.g., LLaVA or CLIP-like models). |
This class has no sub classes.
Blog Entries
Some methods using this class:
- LlamaContextMBS.Constructor(Model as LlamaModelMBS, Parameters as LlamaContextParametersMBS = nil)
Some properties using for this class:
- LlamaContextMBS.Model as LlamaModelMBS
Some related classes:
- class LlamaContextMBS
- class LlamaContextParametersMBS
- class LlamaModelParametersMBS
- class LlamaVocabMBS
The items on this page are in the following plugins: MBS Tools Plugin.
LlamaContextParametersMBS - LlamaModelParametersMBS