Load and return a pointer to an existing model which will be used in other functions of this package.
load_model(path)
path | path to the existing model |
---|
library(fastrtext) model_test_path <- system.file("extdata", "model_classification_test.bin", package = "fastrtext") model <- load_model(model_test_path)