Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update lm.py to suit OPT-like models
Some newer models like OPT treat embedding layers as a separate layer 'Embedding' instead of pure tensor.
- Loading branch information