dbiir / UER-py

Open Source Pre-training Model Framework in PyTorch & Pre-trained Model Zoo
https://github.com/dbiir/UER-py/wiki
Apache License 2.0
3.01k stars 525 forks source link

Update model.py #374

Closed Eric8932 closed 1 year ago

Eric8932 commented 1 year ago

If tie_weights and having lm_target, the lm_target should be consistent with tgt_embedding first.