![]() |
LlamaLib
v2.0.2
Cross-platform library for local LLMs
|
Structure representing a LoRA adapter with ID and scale. More...
#include <LLM.h>
Public Member Functions | |
| bool | operator== (const LoraIdScale &other) const |
| Equality comparison operator. | |
Public Attributes | |
| int | id |
| Unique identifier for the LoRA adapter. | |
| float | scale |
| Scale factor for the LoRA adapter (typically 0.0 to 1.0) | |
Structure representing a LoRA adapter with ID and scale.
Used for configuring Low-Rank Adaptation layers in language models
|
inline |
Equality comparison operator.
| other | The other LoraIdScale to compare with |
| float LoraIdScale::scale |