Property Adapters
Adapters
Gets the collection of LoRA adapters currently applied to the model.
public IReadOnlyList<LoraAdapter> Adapters { get; }Property Value
- IReadOnlyList<LoraAdapter>
- A read-only list of LoraAdapter instances representing each adapter applied to the underlying LLama weights, or - nullif the model does not support adapters.
Remarks
Adapters with a Scale of zero are not applied during subsequent inference processes.
Invoking ApplyLoraAdapter registers a new adapter instance, which will appear in this collection once preloaded.