install_scoring_model {sentiment.ai} | R Documentation |
Install a Scoring Model
Description
Install a Scoring Model
Usage
install_scoring_model(
model = c("en.large", "en", "multi.large", "multi"),
scoring = c("xgb", "glm"),
scoring_version = "1.0",
...
)
Arguments
model |
The embedding model, one of c("en.large", "en", "multi.large", "multi"). |
scoring |
The scoring model, currently one of:
|
scoring_version |
Version of scoring model (will add more over time) |
... |
Additional options to the function, including:
|
Details
This downloads the scoring models from a set repository in order to keep the main package within CRAN size limits.
In the future, this will also make it possible for the community to add new and improved models!
Value
0 if model did not need to be downloaded. 1 if model needed to be downloaded.