Spaces:
Running
Running
Update LICENSE
Browse files
LICENSE
CHANGED
|
@@ -1,75 +1,146 @@
|
|
| 1 |
-
|
| 2 |
-
====================================================
|
| 3 |
|
| 4 |
-
This repository contains two layers with
|
| 5 |
-
By cloning, duplicating, or using this project, you agree to
|
| 6 |
-
both licenses described below.
|
| 7 |
|
| 8 |
|
|
|
|
| 9 |
1. API CODE (Infrastructure)
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
|
|
|
| 14 |
|
| 15 |
MIT License
|
| 16 |
|
| 17 |
Copyright (c) 2026 Edu014 and contributors
|
| 18 |
|
| 19 |
-
Permission is hereby granted, free of charge, to any person obtaining
|
| 20 |
-
of this software and associated documentation files (the
|
| 21 |
-
in the Software without restriction, including
|
| 22 |
-
to use, copy, modify, merge, publish,
|
| 23 |
-
|
| 24 |
-
furnished to do so, subject to
|
|
|
|
| 25 |
|
| 26 |
-
The above copyright notice and this permission notice shall be
|
| 27 |
-
copies or substantial portions of the Software.
|
| 28 |
|
| 29 |
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 30 |
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 31 |
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
| 32 |
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
| 33 |
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
| 34 |
-
|
| 35 |
-
SOFTWARE.
|
| 36 |
|
| 37 |
|
|
|
|
| 38 |
2. AI MODEL (Weights and GGUF Files)
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
* User scale limits (see the license for details)
|
| 51 |
-
* Attribution obligations
|
| 52 |
|
| 53 |
-
|
| 54 |
-
|
|
|
|
| 55 |
|
| 56 |
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
The authors are not liable for:
|
| 61 |
-
* Misuse of the model in violation of the LFM-1.0
|
| 62 |
-
* Damages arising from the use of the API in critical applications
|
| 63 |
-
* Interruptions, bugs, or inaccuracies in the generated embeddings
|
| 64 |
|
|
|
|
| 65 |
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
DUAL LICENSE: MIT (API Code) + LFM Open License v1.0 (AI Model)
|
| 2 |
+
================================================================
|
| 3 |
|
| 4 |
+
This repository contains two distinct layers with different licenses.
|
| 5 |
+
By cloning, duplicating, or using this project, you agree to comply
|
| 6 |
+
with both licenses described below.
|
| 7 |
|
| 8 |
|
| 9 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 10 |
1. API CODE (Infrastructure)
|
| 11 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 12 |
+
|
| 13 |
+
All source code in this repository (including but not limited to:
|
| 14 |
+
app.py, Dockerfile, requirements.txt, README.md, and configuration
|
| 15 |
+
scripts) is licensed under the MIT License:
|
| 16 |
|
| 17 |
MIT License
|
| 18 |
|
| 19 |
Copyright (c) 2026 Edu014 and contributors
|
| 20 |
|
| 21 |
+
Permission is hereby granted, free of charge, to any person obtaining
|
| 22 |
+
a copy of this software and associated documentation files (the
|
| 23 |
+
"Software"), to deal in the Software without restriction, including
|
| 24 |
+
without limitation the rights to use, copy, modify, merge, publish,
|
| 25 |
+
distribute, sublicense, and/or sell copies of the Software, and to
|
| 26 |
+
permit persons to whom the Software is furnished to do so, subject to
|
| 27 |
+
the following conditions:
|
| 28 |
|
| 29 |
+
The above copyright notice and this permission notice shall be
|
| 30 |
+
included in all copies or substantial portions of the Software.
|
| 31 |
|
| 32 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 33 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 34 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
| 35 |
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
| 36 |
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
| 37 |
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
| 38 |
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
| 39 |
|
| 40 |
|
| 41 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 42 |
2. AI MODEL (Weights and GGUF Files)
|
| 43 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 44 |
+
|
| 45 |
+
The "LiquidAI/LFM2.5-Embedding-350M" model weights (including any
|
| 46 |
+
GGUF files downloaded during Docker build) are owned by Liquid AI,
|
| 47 |
+
Inc. and licensed under the **LFM Open License v1.0**.
|
| 48 |
+
|
| 49 |
+
π Full License Text:
|
| 50 |
+
https://huggingface.co/LiquidAI/LFM2.5-Embedding-350M/blob/main/LICENSE
|
| 51 |
+
|
| 52 |
+
π¦ Official Repository:
|
| 53 |
+
https://huggingface.co/LiquidAI/LFM2.5-Embedding-350M
|
| 54 |
+
|
| 55 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 56 |
+
β β οΈ CRITICAL: COMMERCIAL USE THRESHOLD β
|
| 57 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
|
| 58 |
+
β β
|
| 59 |
+
β Commercial use is PERMITTED only if your Legal Entity's total β
|
| 60 |
+
β annual revenue does NOT exceed $10,000,000 USD (ten million β
|
| 61 |
+
β US dollars). β
|
| 62 |
+
β β
|
| 63 |
+
β If your entity exceeds this threshold, you must obtain a β
|
| 64 |
+
β separate commercial license from Liquid AI, Inc. β
|
| 65 |
+
β β
|
| 66 |
+
β Qualified Non-Profit Organizations (501(c)(3) or equivalent) β
|
| 67 |
+
β are exempt from this threshold for non-commercial/research use. β
|
| 68 |
+
β β
|
| 69 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 70 |
+
|
| 71 |
+
By using this project in production, you assume full responsibility
|
| 72 |
+
for compliance with the LFM Open License v1.0, including but not
|
| 73 |
+
limited to:
|
| 74 |
+
|
| 75 |
+
β
PERMITTED:
|
| 76 |
+
- Using the API to generate embeddings for RAG applications
|
| 77 |
+
- Integration in commercial products (under the $10M threshold)
|
| 78 |
+
- Academic research and non-commercial projects
|
| 79 |
+
- Personal projects and experimentation
|
| 80 |
+
|
| 81 |
+
β οΈ REQUIRES ATTENTION:
|
| 82 |
+
- Entities with >$10M annual revenue must contact Liquid AI
|
| 83 |
+
- Redistribution of model weights requires preserving all
|
| 84 |
+
copyright notices and including the full license text
|
| 85 |
+
- Modified model files must carry prominent change notices
|
| 86 |
+
|
| 87 |
+
π« PROHIBITED:
|
| 88 |
+
- Using Liquid AI trademarks ("Liquid AI", "LFM", etc.) to
|
| 89 |
+
promote your product without permission
|
| 90 |
+
- Patent litigation against Liquid AI (triggers license
|
| 91 |
+
termination under Section 3)
|
| 92 |
+
- Use for training competing foundation models
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 96 |
+
3. DISCLAIMER OF WARRANTY
|
| 97 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 98 |
+
|
| 99 |
+
THIS PROJECT IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
|
| 100 |
+
|
| 101 |
+
The authors and contributors are not responsible for:
|
| 102 |
+
- Misuse of the model in violation of LFM Open License v1.0
|
| 103 |
+
- Damages arising from use in critical applications
|
| 104 |
+
- Interruptions, bugs, or inaccuracies in generated embeddings
|
| 105 |
+
- Legal consequences of exceeding the commercial threshold
|
| 106 |
+
|
| 107 |
+
You are solely responsible for determining the appropriateness of
|
| 108 |
+
using this project and assume all risks associated with your
|
| 109 |
+
exercise of permissions under these licenses.
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 113 |
+
4. CREDITS AND ATTRIBUTION
|
| 114 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 115 |
|
| 116 |
+
Base Model: Liquid AI (https://www.liquid.ai)
|
| 117 |
+
Inference Engine: llama.cpp (https://github.com/ggerganov/llama.cpp)
|
| 118 |
+
Web Framework: FastAPI (https://fastapi.tiangolo.com)
|
| 119 |
+
Hosting: Hugging Face Spaces (https://huggingface.co/spaces)
|
|
|
|
|
|
|
| 120 |
|
| 121 |
+
Architecture and collaborative development with AI assistance:
|
| 122 |
+
β’ Qwen3.7 Max (DevOps architecture and optimization)
|
| 123 |
+
β’ Gemini 3.1 Pro (code review and validation)
|
| 124 |
|
| 125 |
|
| 126 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 127 |
+
5. COMPLIANCE CHECKLIST
|
| 128 |
+
ββββββββββββββββββββββββββββββββββββββββοΏ½οΏ½οΏ½ββββββββββββββββββββββββββ
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
|
| 130 |
+
Before deploying this project in production, verify:
|
| 131 |
|
| 132 |
+
[ ] Your entity's annual revenue is under $10M USD, OR you have
|
| 133 |
+
obtained a commercial license from Liquid AI
|
| 134 |
+
|
| 135 |
+
[ ] You have read and understood the full LFM Open License v1.0
|
| 136 |
+
|
| 137 |
+
[ ] If redistributing, you have included this LICENSE file and
|
| 138 |
+
preserved all copyright notices
|
| 139 |
+
|
| 140 |
+
[ ] You are not using Liquid AI trademarks to promote your product
|
| 141 |
+
|
| 142 |
+
[ ] You understand that violations result in automatic license
|
| 143 |
+
termination (Section 11)
|
| 144 |
+
|
| 145 |
+
For questions about commercial licensing above the threshold,
|
| 146 |
+
contact: https://www.liquid.ai
|