Load the encoder ‘file' from the model directory, optionally ensuring it’s on 'device'
TextLearner_load_encoder(file, device = NULL)
file
device
None