LoraAdapter
Namespace: LLama.Abstractions
A LoRA adapter to apply to a model
public struct LoraAdapter
Inheritance Object → ValueType → LoraAdapter
Implements IEquatable<LoraAdapter>
Properties
Path
Path to the LoRA file
public string Path { get; set; }
Property Value
Scale
Strength of this LoRA
public float Scale { get; set; }
Property Value
Constructors
LoraAdapter(String, Single)
A LoRA adapter to apply to a model
LoraAdapter(string Path, float Scale)
Parameters
Path String
Path to the LoRA file
Scale Single
Strength of this LoRA
Methods
ToString()
string ToString()
Returns
GetHashCode()
int GetHashCode()
Returns
Equals(Object)
bool Equals(object obj)
Parameters
obj Object
Returns
Equals(LoraAdapter)
bool Equals(LoraAdapter other)
Parameters
other LoraAdapter
Returns
Deconstruct(String&, Single&)
void Deconstruct(String& Path, Single& Scale)
Parameters
Path String&
Scale Single&