"gen_chinese_poetry" load model slow
Created by: llxxxll
branch https://github.com/lcy-seso/models/tree/gen_chinese_poetry
run generate.py
- model size 193MB
- load time 12s
Slow code
with gzip.open(model_path, "r") as f:
parameters = paddle.parameters.Parameters.from_tar(f)