Skip to content

Commit

Permalink
Updated license to add restriction on use with code translation tools
Browse files Browse the repository at this point in the history
  • Loading branch information
salmenus committed May 15, 2024
1 parent 9f2a662 commit 93ee88d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
17 changes: 15 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Mozilla Public License Version 2.0 With AI Training Restriction
===============================================================
Mozilla Public License Version 2.0 With AI Training And Code Translation Restriction
====================================================================================

1. Definitions
--------------
Expand Down Expand Up @@ -83,6 +83,11 @@ Mozilla Public License Version 2.0 With AI Training Restriction
fifty percent (50%) of the outstanding shares or beneficial
ownership of such entity.

1.15. "Code Translation"
means the process of converting code from one programming language
to another, or into a different framework or library or platform
while maintaining similar functionality.

2. License Grants and Conditions
--------------------------------

Expand Down Expand Up @@ -225,6 +230,14 @@ testing artificial intelligence (AI) models, including, but not limited to,
machine learning, deep learning, neural networks, or reinforcement learning
algorithms, or systems.

3.7. Prohibition for Use with Code Translation Tools

The Covered Software, any portion of the Covered Software, or any modified
version of the Covered Software may not be used, in whole or in part, as
input for Code Translation tools, including, but not limited to, translating
code into another programming language, or porting code to other platforms
or frameworks or libraries.

4. Inability to Comply Due to Statute or Regulation
---------------------------------------------------

Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ cross platforms, with a focus on performance and usability.
## License 📃

`NLUX` is licensed under Mozilla Public License Version 2.0 with restriction to use as a
training dataset to develop or improve AI models.
training dataset to develop or improve AI models, or as input for code translation tools.

> Paragraph (3.6) was added to the original MPL 2.0 license.
> Paragraphs (3.6) and (3.7) were added to the original MPL 2.0 license.
> The full license text can be found in the [LICENSE](LICENSE) file.
Wondering what it means to use software licensed under MPL 2.0?<br />
Expand All @@ -134,7 +134,9 @@ Learn more on [MPL 2.0 FAQ](https://www.mozilla.org/en-US/MPL/2.0/FAQ/).
* You can use `NLUX` in your personal projects.
* You can use `NLUX` in commercial projects.
* You can modify `NLUX` and publish your changes under the same license.
* You **cannot** feed `NLUX`'s source code as part of a dataset to train AI models.

* You **cannot** feed `NLUX`'s source code as part of a dataset to train AI models or as input for code
translation tools.

Please read the full license text in the [LICENSE](LICENSE) file for details.

Expand Down

0 comments on commit 93ee88d

Please sign in to comment.