Qwen open source license explained
Quick answer
The
Qwen models are released under the Apache License 2.0, a permissive open source license that allows free use, modification, and distribution, including commercial use. It requires preservation of copyright notices and disclaimers but does not impose copyleft restrictions.PREREQUISITES
Python 3.8+Basic understanding of open source licensesFamiliarity with AI model integration
License overview
The Qwen models are distributed under the Apache License 2.0, a widely used permissive open source license. This license allows you to freely use, modify, and distribute the software, including for commercial purposes, without requiring you to release your own source code.
Key points include:
- Permission to use the software for any purpose.
- Right to modify and distribute copies.
- Requirement to include the original copyright notice and license.
- Explicit patent license from contributors.
- No warranty or liability from the authors.
How to comply with the license
When using Qwen models under the Apache License 2.0, you must:
- Include a copy of the
LICENSEfile in your distribution. - Preserve all copyright, patent, and trademark notices.
- State any modifications you made to the original code.
- Not use the contributors' names or trademarks to endorse derived products without permission.
These requirements ensure proper attribution and legal clarity while allowing broad freedom.
Using Qwen models in projects
You can integrate Qwen models into your applications, including commercial products, without paying royalties. The license permits:
- Embedding the model weights and code.
- Modifying the model or fine-tuning it.
- Redistributing the model or derivatives.
However, you must comply with the license terms and include the license text and notices in your distribution.
Common questions
- Is commercial use allowed? Yes, the
Apache License 2.0permits commercial use. - Do I have to open source my modifications? No, the license is permissive and does not require you to release your changes.
- Are there any patent grants? Yes, contributors grant a patent license for their contributions.
- Is warranty provided? No, the software is provided "as is" without warranty.
Key Takeaways
-
Qwenmodels use the permissiveApache License 2.0allowing free commercial use. - You must include the license and copyright notices when redistributing
Qwenmodels. - Modifications and derivatives can remain proprietary under this license.
- The license includes an explicit patent grant from contributors.
- No warranty or liability is provided with
Qwenmodels.