Retrieve hyper parameters used to train the model
get_parameters(model)
model | trained |
---|
list containing each parameter
library(fastrtext) model_test_path <- system.file("extdata", "model_classification_test.bin", package = "fastrtext") model <- load_model(model_test_path) print(head(get_parameters(model), 5))#> $learning_rate #> [1] 0.05 #> #> $learning_rate_update #> [1] 100 #> #> $dim #> [1] 20 #> #> $context_window_size #> [1] 5 #> #> $epoch #> [1] 20 #>