License for models on huggingface

Hi, wanted to use huggingface in production, but I know that some models don’t allow their use in production because of the license (example: GPL).

Can I use all of the huggingface models while respecting the Apache license on the huggingface Github?
Or should I check the main repo for that model to check the license to make sure I can use it?

Thanks!

4 Likes

To add to the question above, what happens if a model doesn’t have a license on the repo or tag? Does it inherit the Apache 2.0 Transformer’s license?

3 Likes

Have the same question, have you figured it out?

1 Like

Same question. How do you handle models license types on huggingface?

My assumption will be that everything under transformers is Apache-licensed, unless stated otherwise, but a clarification from an administrator will be appreciated.