Load and return a pointer to an existing model which will be used in other functions of this package.

load_model(path)

Arguments

path

path to the existing model

Examples

library(fastrtext) model_test_path <- system.file("extdata", "model_classification_test.bin", package = "fastrtext") model <- load_model(model_test_path)