# License for models on huggingface

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flicense-for-models-on-huggingface%2F13373%3E%5C
**Category:** 🤗Transformers\
**Created:** [January 4, 2022, 4:34pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flicense-for-models-on-huggingface%2F13373 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fignacio-ferreira-dev)%5C
**Post date:** [January 4, 2022, 4:34pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flicense-for-models-on-huggingface%2F13373%2F1 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fluispintoc)%5C
**Post date:** [January 27, 2022, 8:59pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flicense-for-models-on-huggingface%2F13373%2F2 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FNobilisRex)%5C
**Post date:** [February 15, 2022, 1:02pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flicense-for-models-on-huggingface%2F13373%2F3 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Facocac)%5C
**Post date:** [February 17, 2022, 12:36pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flicense-for-models-on-huggingface%2F13373%2F4 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmattan)%5C
**Post date:** [June 22, 2022, 9:30am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flicense-for-models-on-huggingface%2F13373%2F5 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmarkvai)%5C
**Post date:** [May 2, 2023, 8:41am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flicense-for-models-on-huggingface%2F13373%2F8 "2023-05-02T08:41:45Z")

</div>

Any chance to get an answer here?
