| custom_ensemble | R Documentation |
Lets the user swap in a different set of Ollama-served models, adjust the number of replicates per model, or change the aggregation rule. The paper's findings support 3-4 comparable open-source LLMs with the mean aggregator; other choices are supported but not recommended.
custom_ensemble(
models,
replicates = .DEFAULT_REPLICATES,
aggregator = c("mean", "median", "max", "topk_mean"),
temperature = .DEFAULT_TEMPERATURE,
backend = backend_ollama()
)
models |
Character vector of Ollama model tags (or backend-appropriate identifiers). |
replicates |
Integer >= 1. Number of replicates per model. |
aggregator |
One of "mean", "median", "max", "topk_mean". |
temperature |
Sampling temperature passed to the backend. |
backend |
A backend object (default: |
A screenllm_ensemble object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.