Skip to content

< Back


LoraAdapter

Namespace: LLama.Native

A LoRA adapter which can be applied to a context for a specific model

1
public class LoraAdapter

Inheritance ObjectLoraAdapter
Attributes NullableContextAttribute, NullableAttribute

Properties

Model

The model which this LoRA adapter was loaded with.

1
public SafeLlamaModelHandle Model { get; }

Property Value

SafeLlamaModelHandle

Path

The full path of the file this adapter was loaded from

1
public string Path { get; }

Property Value

String

Methods

Unload()

Unload this adapter

1
public void Unload()

< Back