From 82b1759c5a7e6e0eba7be79b81b54a7f4c8b65b3 Mon Sep 17 00:00:00 2001 From: Carlos Gutierrez Date: Thu, 6 Nov 2025 22:15:15 -0500 Subject: [PATCH] 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 --- CITATION.cff | 19 ++++++++ LICENSE | 46 +++++++++++++++---- LICENSE.txt | 102 ++++++++++++++++++++++++++++++++--------- README.md | 71 ++++++++++++++++++++++++---- docs/COMPLETE_GUIDE.md | 24 ++++++---- 5 files changed, 212 insertions(+), 50 deletions(-) create mode 100644 CITATION.cff diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 0000000..71e936d --- /dev/null +++ b/CITATION.cff @@ -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." + diff --git a/LICENSE b/LICENSE index 12e537f..0d7e1d2 100644 --- a/LICENSE +++ b/LICENSE @@ -1,17 +1,45 @@ -Apache License -Version 2.0, January 2004 -http://www.apache.org/licenses/ +Dual License: Apache 2.0 (Research) + Commercial License (Commercial Use) Copyright (c) 2024 Carlos Gutierrez -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 +This software is available under two licenses: - 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 -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. -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. diff --git a/LICENSE.txt b/LICENSE.txt index 22ef520..4e6cbf2 100644 --- a/LICENSE.txt +++ b/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 Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -138,8 +149,8 @@ 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. + except as required for reasonable and customary use in describing + the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each @@ -174,29 +185,76 @@ incurred by, or claims asserted against, such Contributor by reason 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 - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. +RESTRICTION: The Apache 2.0 license above applies ONLY to: +- Academic research +- Educational purposes +- Personal projects +- Open source contributions +- Non-commercial use - Copyright [yyyy] [name of copyright owner] +COMMERCIAL USE REQUIRES A SEPARATE LICENSE: - 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 +For any commercial use, including but not limited to: +- Commercial products or services +- 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 - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied. See the License for the specific language governing - permissions and limitations under the License. +To obtain a commercial license, please contact: +Email: carlos.gutierrez@carg.dev +Subject: Commercial License Inquiry - SheepOp + +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 diff --git a/README.md b/README.md index 99217bd..1ce0d2f 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ **Author:** Carlos Gutierrez **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. @@ -344,18 +344,69 @@ All detailed documentation is available in the [`docs/`](docs/) folder: ## 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. -**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 diff --git a/docs/COMPLETE_GUIDE.md b/docs/COMPLETE_GUIDE.md index 8072bf2..5f56ec7 100644 --- a/docs/COMPLETE_GUIDE.md +++ b/docs/COMPLETE_GUIDE.md @@ -4,18 +4,24 @@ A modern language model implementation from scratch, incorporating insights from ## 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. -**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 - [What is This?](#what-is-this)