fastrtext (version 0.3.3)

load_model: Load an existing fastText trained model

Description

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

Usage

load_model(path)

Arguments

path

path to the existing model

Examples

Run this code
# NOT RUN {
library(fastrtext)
model_test_path <- system.file("extdata", "model_classification_test.bin", package = "fastrtext")
model <- load_model(model_test_path)
# }

Run the code above in your browser using DataCamp Workspace