Add get_output_embeddings method

#10
by xray1111 - opened

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

Cannot merge
This branch has merge conflicts in the following files:
  • modeling_florence2.py

Sign up or log in to comment