| llama_lora_clear | R Documentation |
Deactivates all LoRA adapters from the context, returning to base model behavior.
llama_lora_clear(ctx)
ctx |
Context handle returned by [llama_new_context] |
No return value, called for side effects. Removes all active LoRA adapters from the context.
## Not run:
# Apply multiple LoRAs
llama_lora_apply(ctx, lora1)
llama_lora_apply(ctx, lora2)
# Remove all at once
llama_lora_clear(ctx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.