huggingface / transformers

🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
https://huggingface.co/transformers
Apache License 2.0
133.27k stars 26.62k forks source link

Clarify copyright owner #29347

Closed faph closed 3 months ago

faph commented 7 months ago

System Info

N/A

Who can help?

@stevhliu | @MKhalusova

Information

Tasks

Reproduction

I understand transformers is licensed under the Apache 2.0 license.

However, it is not entirely clear whether authors retain copyrights for their contributions. As far as I can see there is no CLA defined in Github. Yet, the copyright statements in each file suggest the copyrights are owned by "The Hugging Face team". It's not clear what that "team" refers to.

Could we clarify any copyright assignment, please?

Expected behavior

Unambiguous copyright statements :smile:

faph commented 7 months ago

As a secondary issue, the copyright statement at the top of each file has the words "All rights reserved." I think that statement conflicts with the Apache license statement directly underneath that. Some copyrights that are granted by law to authors are actually explicitly surrendered under that license.

faph commented 7 months ago

As a tertiary issue, the citation file at https://github.com/huggingface/transformers/blob/main/CITATION.cff lists another set of authors. I am not sure about exactly what the citation file references, but I do note that Github labels this in the sidebar as "Cite this repository". The file itself also contains the message "If you use this software, please cite it using these metadata."

It probably does not hurt reviewing whether/how all software authors can be referenced here.

faph commented 7 months ago

@stevhliu | @MKhalusova Any feedback on this please?

stevhliu commented 7 months ago

cc @amyeroberts who can help answer this better than I can :)

amyeroberts commented 7 months ago

Hi @faph, thanks for raising this issue!

I actually don't know all the details about the repo's copyright and its headers. I'm going to ping @LysandreJik here who knows more about it here.

A few things to note, based on what's raised here (@LysandreJik can correct me if I'm wrong):

faph commented 7 months ago

Hi @amyeroberts that's helpful, thanks.

So to be super clear: is there a copyright assignment to Hugging Face or is there not?

amyeroberts commented 6 months ago

Yes, my understanding is that:

faph commented 6 months ago

@amyeroberts Thanks. In that case, please clarify the legal mechanism whereby individual contributors surrender copyrights to Hugging Face. There is no Contributors License Agreement to be signed as far as I can see?

amyeroberts commented 6 months ago

Hi @faph, I spoke with the legal team, and have some updates / clarifications:

faph commented 6 months ago

@amyeroberts That's great, many thanks for clarifying.

If and when there is an opportunity to fix the copyright statement in each file, it wouldn't hurt phrasing the owners as "Hugging Face and contributors" or similar?

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.