Add get_output_embeddings method

#10

When load model using from_pretrained method, output embedding weights will not be loaded if it is shared with other weights, like input embedding.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment