Why Ernie is downloading pre-trained model from server every time?
Created by: monk1337
I have a question regarding loading the pre-trained model. In this particular line, it's not checking if the pre-trained dir exist or not instead condition is directly downloading the model first with temp file dir.
Suggestion :
Instead of creating a tempdir, create one static dir and store the weights there later, check if the weights are there before downloading from URL.