# License for models on huggingface

**URL:** <https://discuss.huggingface.co/t/license-for-models-on-huggingface/13373>\
**Category:** 🤗Transformers\
**Created:** [January 4, 2022, 4:34pm UTC](https://discuss.huggingface.co/t/license-for-models-on-huggingface/13373 "2022-01-04T16:34:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ignacio-ferreira-dev](https://avatars.discourse-cdn.com/v4/letter/i/94ad74/32.png) [@ignacio-ferreira-dev](https://discuss.huggingface.co/u/ignacio-ferreira-dev)\
**Post date:** [January 4, 2022, 4:34pm UTC](https://discuss.huggingface.co/t/license-for-models-on-huggingface/13373/1 "2022-01-04T16:34:21Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![luispintoc](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@luispintoc](https://discuss.huggingface.co/u/luispintoc)\
**Post date:** [January 27, 2022, 8:59pm UTC](https://discuss.huggingface.co/t/license-for-models-on-huggingface/13373/2 "2022-01-27T20:59:57Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![NobilisRex](https://avatars.discourse-cdn.com/v4/letter/n/f14d63/32.png) [@NobilisRex](https://discuss.huggingface.co/u/NobilisRex)\
**Post date:** [February 15, 2022, 1:02pm UTC](https://discuss.huggingface.co/t/license-for-models-on-huggingface/13373/3 "2022-02-15T13:02:54Z")

</div>

Have the same question, have you figured it out?

---

<div class="post-metadata">

**Author:** ![acocac](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/acocac/32/63457_2.png) [@acocac](https://discuss.huggingface.co/u/acocac)\
**Post date:** [February 17, 2022, 12:36pm UTC](https://discuss.huggingface.co/t/license-for-models-on-huggingface/13373/4 "2022-02-17T12:36:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mattan](https://avatars.discourse-cdn.com/v4/letter/m/e274bd/32.png) [@mattan](https://discuss.huggingface.co/u/mattan)\
**Post date:** [June 22, 2022, 9:30am UTC](https://discuss.huggingface.co/t/license-for-models-on-huggingface/13373/5 "2022-06-22T09:30:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![markvai](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@markvai](https://discuss.huggingface.co/u/markvai)\
**Post date:** [May 2, 2023, 8:41am UTC](https://discuss.huggingface.co/t/license-for-models-on-huggingface/13373/8 "2023-05-02T08:41:45Z")

</div>

Any chance to get an answer here?
