Update to dual license: Apache 2.0 (Research) + Commercial License
- Changed from Apache 2.0 only to dual license model - Apache 2.0 for research, education, and non-commercial use - Commercial license required for profit-making use - Added citation requirement as condition of use for academic purposes - Created CITATION.cff file for automatic citation suggestions - Updated LICENSE, LICENSE.txt, README.md, and documentation - Citation formats provided (BibTeX and text) - Contact information for commercial licensing inquiries
This commit is contained in:
19
CITATION.cff
Normal file
19
CITATION.cff
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
cff-version: 1.2.0
|
||||||
|
message: "If you use this software, please cite it as below."
|
||||||
|
title: "SheepOp LLM: Transformer-based Language Model Implementation"
|
||||||
|
version: "1.0.0"
|
||||||
|
date-released: "2024-11-06"
|
||||||
|
authors:
|
||||||
|
- given-names: "Carlos"
|
||||||
|
family-names: "Gutierrez"
|
||||||
|
email: "carlos.gutierrez@carg.dev"
|
||||||
|
keywords:
|
||||||
|
- "language model"
|
||||||
|
- "transformer"
|
||||||
|
- "deep learning"
|
||||||
|
- "neural networks"
|
||||||
|
- "LLM"
|
||||||
|
license: "Apache-2.0"
|
||||||
|
repository-code: "https://github.com/CarGDev/sheepOp"
|
||||||
|
abstract: "A modern language model implementation from scratch, incorporating insights from recent research papers. Complete transformer implementation with training pipeline, optimized inference, and multi-format data processing."
|
||||||
|
|
||||||
46
LICENSE
46
LICENSE
@@ -1,17 +1,45 @@
|
|||||||
Apache License
|
Dual License: Apache 2.0 (Research) + Commercial License (Commercial Use)
|
||||||
Version 2.0, January 2004
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
Copyright (c) 2024 Carlos Gutierrez
|
Copyright (c) 2024 Carlos Gutierrez
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
This software is available under two licenses:
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
1. APACHE 2.0 LICENSE (for research and non-commercial use)
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at:
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
This license applies to:
|
||||||
|
- Academic research
|
||||||
|
- Educational purposes
|
||||||
|
- Personal projects
|
||||||
|
- Open source contributions
|
||||||
|
- Non-commercial use
|
||||||
|
|
||||||
|
2. COMMERCIAL LICENSE (for commercial/profit-making use)
|
||||||
|
For commercial use, including but not limited to:
|
||||||
|
- Commercial products or services
|
||||||
|
- SaaS applications
|
||||||
|
- Revenue-generating applications
|
||||||
|
- Internal business use
|
||||||
|
- Any use that generates profit
|
||||||
|
|
||||||
|
Please contact: carlos.gutierrez@carg.dev
|
||||||
|
Subject: Commercial License Inquiry - SheepOp
|
||||||
|
|
||||||
|
Commercial licensing terms will be provided upon request.
|
||||||
|
|
||||||
|
3. CITATION REQUIREMENT (for academic use)
|
||||||
|
If you use this software in academic research or publications, you MUST cite:
|
||||||
|
|
||||||
|
Carlos Gutierrez. (2024). SheepOp LLM: Transformer-based Language Model
|
||||||
|
Implementation. https://github.com/[your-username]/sheepOp
|
||||||
|
|
||||||
|
Citation is a condition of use for academic purposes under this license.
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
Unless required by applicable law or agreed to in writing, software
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the Apache License is distributed on an "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the Apache License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
|
|||||||
102
LICENSE.txt
102
LICENSE.txt
@@ -1,3 +1,14 @@
|
|||||||
|
DUAL LICENSE: APACHE 2.0 (RESEARCH) + COMMERCIAL LICENSE (COMMERCIAL USE)
|
||||||
|
|
||||||
|
Copyright (c) 2024 Carlos Gutierrez
|
||||||
|
|
||||||
|
================================================================================
|
||||||
|
PART 1: APACHE 2.0 LICENSE (FOR RESEARCH AND NON-COMMERCIAL USE)
|
||||||
|
================================================================================
|
||||||
|
|
||||||
|
This software is licensed under the Apache License, Version 2.0 for research,
|
||||||
|
academic, educational, and non-commercial purposes.
|
||||||
|
|
||||||
Apache License
|
Apache License
|
||||||
Version 2.0, January 2004
|
Version 2.0, January 2004
|
||||||
http://www.apache.org/licenses/
|
http://www.apache.org/licenses/
|
||||||
@@ -138,8 +149,8 @@
|
|||||||
|
|
||||||
6. Trademarks. This License does not grant permission to use the trade
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
names, trademarks, service marks, or product names of the Licensor,
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
except as required for reasonable and customary use in describing the
|
except as required for reasonable and customary use in describing
|
||||||
origin of the Work and reproducing the content of the NOTICE file.
|
the origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
agreed to in writing, Licensor provides the Work (and each
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
@@ -174,29 +185,76 @@
|
|||||||
incurred by, or claims asserted against, such Contributor by reason
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
of your accepting any such warranty or additional liability.
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
END OF APACHE LICENSE TERMS
|
||||||
|
|
||||||
APPENDIX: How to apply the Apache License to your work.
|
================================================================================
|
||||||
|
PART 2: COMMERCIAL USE RESTRICTIONS
|
||||||
|
================================================================================
|
||||||
|
|
||||||
To apply the Apache License to your work, attach the following
|
RESTRICTION: The Apache 2.0 license above applies ONLY to:
|
||||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
- Academic research
|
||||||
replaced with your own identifying information. (Don't include
|
- Educational purposes
|
||||||
the brackets!) The text should be enclosed in the appropriate
|
- Personal projects
|
||||||
comment syntax for the file format. We also recommend that a
|
- Open source contributions
|
||||||
file or class name and description of purpose be included on the
|
- Non-commercial use
|
||||||
same "printed page" as the copyright notice for easier
|
|
||||||
identification within third-party archives.
|
|
||||||
|
|
||||||
Copyright [yyyy] [name of copyright owner]
|
COMMERCIAL USE REQUIRES A SEPARATE LICENSE:
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
For any commercial use, including but not limited to:
|
||||||
you may not use this file except in compliance with the License.
|
- Commercial products or services
|
||||||
You may obtain a copy of the License at
|
- SaaS applications
|
||||||
|
- Revenue-generating applications
|
||||||
|
- Internal business use (for profit-making entities)
|
||||||
|
- Any use that generates profit or revenue
|
||||||
|
- Integration into commercial software products
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
You MUST obtain a commercial license from the copyright holder.
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
To obtain a commercial license, please contact:
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
Email: carlos.gutierrez@carg.dev
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
Subject: Commercial License Inquiry - SheepOp
|
||||||
implied. See the License for the specific language governing
|
|
||||||
permissions and limitations under the License.
|
Please include in your inquiry:
|
||||||
|
- Intended use case
|
||||||
|
- Expected usage volume
|
||||||
|
- Company/Organization name
|
||||||
|
- Contact information
|
||||||
|
|
||||||
|
Commercial licensing terms, including pricing, will be provided upon request.
|
||||||
|
|
||||||
|
================================================================================
|
||||||
|
CITATION REQUIREMENT FOR ACADEMIC USE
|
||||||
|
================================================================================
|
||||||
|
|
||||||
|
IMPORTANT: If you use this software in academic research, publications, or
|
||||||
|
any scholarly work, you MUST cite this work.
|
||||||
|
|
||||||
|
This is a condition of use under the Apache 2.0 license for academic purposes.
|
||||||
|
|
||||||
|
Required Citation Format:
|
||||||
|
|
||||||
|
@software{sheepop2024,
|
||||||
|
title = {SheepOp LLM: Transformer-based Language Model Implementation},
|
||||||
|
author = {Gutierrez, Carlos},
|
||||||
|
year = {2024},
|
||||||
|
url = {https://github.com/[your-username]/sheepOp},
|
||||||
|
version = {1.0}
|
||||||
|
}
|
||||||
|
|
||||||
|
Or in text format:
|
||||||
|
|
||||||
|
Carlos Gutierrez. (2024). SheepOp LLM: Transformer-based Language Model
|
||||||
|
Implementation. https://github.com/[your-username]/sheepOp
|
||||||
|
|
||||||
|
Failure to cite this work in academic publications constitutes a violation of
|
||||||
|
the terms of use for academic purposes.
|
||||||
|
|
||||||
|
================================================================================
|
||||||
|
SUMMARY
|
||||||
|
================================================================================
|
||||||
|
|
||||||
|
✅ Research/Education/Non-commercial: Apache 2.0 (free)
|
||||||
|
⚠️ Commercial use: Requires commercial license (contact for terms)
|
||||||
|
📝 Citation: Please cite in academic publications
|
||||||
|
|
||||||
|
For questions about licensing, contact: carlos.gutierrez@carg.dev
|
||||||
|
|||||||
71
README.md
71
README.md
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
**Author:** Carlos Gutierrez
|
**Author:** Carlos Gutierrez
|
||||||
**Email:** carlos.gutierrez@carg.dev
|
**Email:** carlos.gutierrez@carg.dev
|
||||||
**License:** Apache 2.0
|
**License:** Dual License - Apache 2.0 (Research) + Commercial License (Commercial Use)
|
||||||
|
|
||||||
A modern language model implementation from scratch, incorporating insights from recent research papers.
|
A modern language model implementation from scratch, incorporating insights from recent research papers.
|
||||||
|
|
||||||
@@ -344,18 +344,69 @@ All detailed documentation is available in the [`docs/`](docs/) folder:
|
|||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
This project is licensed under the **Apache License 2.0**.
|
This project is available under a **dual license**:
|
||||||
|
|
||||||
|
### Apache 2.0 License (Research & Non-Commercial Use)
|
||||||
|
|
||||||
|
**Free for:**
|
||||||
|
- ✅ Academic research
|
||||||
|
- ✅ Educational purposes
|
||||||
|
- ✅ Personal projects
|
||||||
|
- ✅ Open source contributions
|
||||||
|
- ✅ Non-commercial use
|
||||||
|
|
||||||
|
**Terms:**
|
||||||
|
- Free to use, modify, and distribute
|
||||||
|
- Patent grant included
|
||||||
|
- Must include license and copyright notice
|
||||||
|
- Must state changes if modifying
|
||||||
|
|
||||||
|
### Commercial License (Commercial Use)
|
||||||
|
|
||||||
|
**Requires a commercial license for:**
|
||||||
|
- ⚠️ Commercial products or services
|
||||||
|
- ⚠️ SaaS applications
|
||||||
|
- ⚠️ Revenue-generating applications
|
||||||
|
- ⚠️ Internal business use (for profit-making entities)
|
||||||
|
- ⚠️ Any use that generates profit or revenue
|
||||||
|
|
||||||
|
**To obtain a commercial license:**
|
||||||
|
Contact: **carlos.gutierrez@carg.dev**
|
||||||
|
Subject: Commercial License Inquiry - SheepOp
|
||||||
|
|
||||||
|
Please include:
|
||||||
|
- Intended use case
|
||||||
|
- Expected usage volume
|
||||||
|
- Company/Organization name
|
||||||
|
- Contact information
|
||||||
|
|
||||||
|
### Citation Requirement
|
||||||
|
|
||||||
|
**IMPORTANT:** If you use this software in academic research or publications, you **MUST cite** this work. This is a condition of use for academic purposes.
|
||||||
|
|
||||||
|
**Required Citation Format:**
|
||||||
|
|
||||||
|
BibTeX:
|
||||||
|
```bibtex
|
||||||
|
@software{sheepop2024,
|
||||||
|
title = {SheepOp LLM: Transformer-based Language Model Implementation},
|
||||||
|
author = {Gutierrez, Carlos},
|
||||||
|
year = {2024},
|
||||||
|
url = {https://github.com/[your-username]/sheepOp},
|
||||||
|
version = {1.0}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Text format:
|
||||||
|
```
|
||||||
|
Carlos Gutierrez. (2024). SheepOp LLM: Transformer-based Language Model
|
||||||
|
Implementation. https://github.com/[your-username]/sheepOp
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note:** Citation is required for academic use. Failure to cite constitutes a violation of the terms of use.
|
||||||
|
|
||||||
See [LICENSE](LICENSE) or [LICENSE.txt](LICENSE.txt) for the full license text.
|
See [LICENSE](LICENSE) or [LICENSE.txt](LICENSE.txt) for the full license text.
|
||||||
|
|
||||||
**Summary:**
|
|
||||||
- ✅ Free to use, modify, and distribute
|
|
||||||
- ✅ Commercial use allowed
|
|
||||||
- ✅ Patent grant included
|
|
||||||
- ✅ Private use allowed
|
|
||||||
- ⚠️ Must include license and copyright notice
|
|
||||||
- ⚠️ Must state changes if modifying
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Contact
|
## Contact
|
||||||
|
|||||||
@@ -4,18 +4,24 @@ A modern language model implementation from scratch, incorporating insights from
|
|||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
This project is licensed under the **Apache License 2.0**.
|
This project is available under a **dual license**:
|
||||||
|
|
||||||
|
### Apache 2.0 License (Research & Non-Commercial Use)
|
||||||
|
|
||||||
|
**Free for:** Academic research, educational purposes, personal projects, open source contributions, and non-commercial use.
|
||||||
|
|
||||||
|
### Commercial License (Commercial Use)
|
||||||
|
|
||||||
|
**Requires a commercial license for:** Commercial products, SaaS applications, revenue-generating applications, and any profit-making use.
|
||||||
|
|
||||||
|
**Contact:** carlos.gutierrez@carg.dev for commercial licensing inquiries.
|
||||||
|
|
||||||
|
### Citation
|
||||||
|
|
||||||
|
Please cite this work in academic publications.
|
||||||
|
|
||||||
See [LICENSE](../LICENSE) or [LICENSE.txt](../LICENSE.txt) for the full license text.
|
See [LICENSE](../LICENSE) or [LICENSE.txt](../LICENSE.txt) for the full license text.
|
||||||
|
|
||||||
**Summary:**
|
|
||||||
- ✅ Free to use, modify, and distribute
|
|
||||||
- ✅ Commercial use allowed
|
|
||||||
- ✅ Patent grant included
|
|
||||||
- ✅ Private use allowed
|
|
||||||
- ⚠️ Must include license and copyright notice
|
|
||||||
- ⚠️ Must state changes if modifying
|
|
||||||
|
|
||||||
## Table of Contents
|
## Table of Contents
|
||||||
|
|
||||||
- [What is This?](#what-is-this)
|
- [What is This?](#what-is-this)
|
||||||
|
|||||||
Reference in New Issue
Block a user