sdadas/polish-nlp-resources

Model loading speed up [enhancement]

pashok3d opened this issue · 0 comments

It is difficult to load these models on laptop. Thanks to the fact, that models were saved to standalone files, it is much faster to .load() model with mmap='r' argument via memory-mapping.