microsoft / unilm

Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities
https://aka.ms/GeneralAI
MIT License
19.56k stars 2.49k forks source link

Unclear license for `layoutmlv2` #456

Closed angel-langdon closed 2 years ago

angel-langdon commented 2 years ago

Describe I am using the layoutmlv2 model with the huggingface.tranformers library.

In the layoutmlv2 readme it says that all the project is licensed under the Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) (Non-commercial use)

However the transformers library has the Apache License V.2 (free commercial use). If I use the layoutmlv2 using the transformers interface ¿can I use it for commercial use?

wolfshow commented 2 years ago

@angel-langdon, Thanks for the interests! The pre-trained LayoutLMv2 models from our repo are licensed under the CC-BY-NC-SA 4.0. But if you would like to pre-train a model yourself with huggingface, You may follow the huggingface license.

ManuelFay commented 2 years ago

@wolfshow With the new LayoutLMV3 weights that are newly out with a MIT license, any updates on whether or not the LayoutLMv2 and LayoutXLM weights are going to be released with a more permissive (MIT/Apache2) license in the near future ?

Best, and thanks for the great work as always !

wolfshow commented 2 years ago

@ManuelFay Thanks for the interest in LayoutLM! LayoutLMv3 will use the same license as LayoutLMv2 and LayoutXLM for now, but we will consider changing to a more permissive license for v2 models in the future.