Cant find Python script to save model to .npz
Sorry777 opened this issue · comments
Sorry777 commented
Hi, in issue #50 you told "Convert Python model to numpy (.npz) then gotch provides ts.ReadNpz method to read .npz file. See example/convert-model." Than in https://github.com/sugarme/gotch/blob/master/example/convert-model/main.go
// NOTE. Python script to save model to .npz can be found at https://github.com/sugarme/pytorch-pretrained/bert/bert-base-uncased-to-npz.py
But https://github.com/sugarme/pytorch-pretrained/bert/bert-base-uncased-to-npz.py - page not found
Pls help me
Sorry777 commented
Sorry. I found the right way - https://github.com/sugarme/pytorch-pretrained/blob/master/bert/bert-base-uncased-to-npz.py