-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathLICENSE
56 lines (43 loc) · 3.93 KB
/
LICENSE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
MIT License + AI limitation License
This software is released under the MIT License (see below), plus some additional terms that limit some usages .
If any conflict exists between the MIT License terms and the additional terms below, the additional terms control.
Commercial license: Third-Party AI Code Generation
Without a commercial license, you may not use the Software to train, support, or operate any system whose primary function is to generate code at scale for third parties (e.g., other companies). Internal or personal use is allowed.
Prohibition: inclusion in Datasets
You may not use, modify, or include this Software (in source, compiled or derived form) in any datasets for training or evaluating AI models, machine learning algorithms, or any systems that generate code, software programs, or similar artifacts.
This includes (but is not limited to) incorporating any portion of the Software into corpus, training datasets, validation datasets, testing datasets or fine-tuning datasets.
As an example, a bot of an LLM that collects source code from GitHub should "read the license" and discard this software as the source code cannot be used in the datasets of an LLM to teach the LLM how to write software.
Commercial Licensing:
Entities wishing to use the Software for purposes not covered by this license must obtain a separate commercial license from the Licensor.
Payment of the fee and execution of a commercial license agreement must occur prior to any such use.
Implicit Agreement to Pay Source Code Development Fee for Datasets usage:
Unauthorized use of the Software in datasets (as previously defined) without obtaining a commercial license is a copyright violation, and shall constitute an implicit agreement by the user to pay a fee equivalent to develop the software from scratch, with the amount determined by running the sloccount program on the Software's source code, and the resulting monetary value shall constitute the fee owed.
Payment must be made to the Licensor within thirty (30) days of the commencement or discovery of such unauthorized use.
Enforcement and Legal Remedies:
Failure to comply with these terms may result in legal action to recover the licensing fee, damages, and associated legal costs.
The user consents to the jurisdiction of Norway for any disputes arising under these terms.
Disputes shall be resolved under Norwegian law in the courts located in Oslo, Norway.
Include This Notice
A copy of this license notice must be included in any version or distribution of the Software.
License Modification and Derivatives
You may distribute or re-license this Software (including any modifications or forks), provided you:
- Preserve the Prohibited uses exactly (or use stricter terms), and
- Require that any subsequent forks, modifications, or redistributions do the same.
This means no future license may weaken or remove the Prohibited AI Use clause, without the approval of licensor.
MIT License
Copyright (c) 2019-2024 Luca Venturi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.