Dharma-OCR-LITE / LICENSE
GabrielPimenta99's picture
Update LICENSE
86471c0 verified
Raw
History Blame Contribute Delete
13.1 kB
SPDX-License-Identifier: LicenseRef-DharmaOCR-Lite-NC-2026
DharmaOCR Lite Noncommercial License 2026
Based on PolyForm Noncommercial 1.0.0, as adapted by DHARMA-AI S.A.
Copyright (c) 2026 DHARMA-AI S.A.
This license governs the use, reproduction, distribution, modification, fine-tuning,
evaluation, benchmarking, and deployment of the model weights, checkpoints, tokenizer
files, configuration files, adapters, LoRA/QLoRA files, model cards, documentation,
and related artifacts distributed by DHARMA-AI S.A. under this license
(collectively, the "Model").
By accessing, downloading, using, reproducing, modifying, fine-tuning, evaluating,
benchmarking, distributing, or otherwise exploiting the Model, you agree to be bound
by this License.
1. Definitions
1.1 "Licensor" means DHARMA-AI S.A.
1.2 "Model" means the machine learning model weights, checkpoints, tokenizer files,
configuration files, artifacts, documentation, and related files distributed under
this License.
1.3 "Derivative Model" means any modified, fine-tuned, distilled, quantized, pruned,
merged, adapted, or otherwise altered version of the Model, including adapters and
LoRA/QLoRA weights, that is substantially derived from the Model.
1.4 "Noncommercial Purpose" means use solely for personal study, private experimentation,
academic research, scientific publication, teaching, noncommercial internal evaluation,
benchmarking, or other activities that are not directly or indirectly connected to
revenue generation, paid services, monetized products, internal commercial operations
of a for-profit entity, or provision of services to third parties for consideration.
1.5 "Government Entity" means:
(a) any national, federal, state, provincial, regional, municipal, or local government
body, ministry, department, agency, authority, public office, court, prosecution
office, legislature, military body, or regulatory authority;
(b) any state-owned, state-controlled, or government-controlled entity;
(c) any public university, public research institution, public hospital, public safety
entity, or other publicly administered body; and
(d) any contractor, integrator, or intermediary acting on behalf of or for the benefit
of any entity described above.
1.6 "Commercial Use" means any use of the Model or a Derivative Model in connection
with revenue generation, paid consulting, paid pilots, internal business operations
of a for-profit entity, product development for sale or monetization, or any commercial,
governmental, or quasi-governmental deployment.
1.7 "You" means the individual or legal entity exercising rights under this License.
2. License Grant
Subject to Your compliance with this License, the Licensor grants You a limited,
non-exclusive, non-transferable, non-sublicensable, revocable license to:
(a) access, download, and use the Model;
(b) reproduce the Model for Noncommercial Purposes;
(c) fine-tune, quantize, evaluate, benchmark, and create Derivative Models for
Noncommercial Purposes;
(d) distribute the Model or Derivative Models only as expressly permitted under
this License.
No rights are granted except as expressly stated in this License.
3. Permitted Noncommercial Use
You may use the Model and Derivative Models only for Noncommercial Purposes.
Permitted Noncommercial Purposes include:
(a) personal projects not connected to business activity;
(b) academic and scientific research;
(c) classroom and educational use;
(d) publication of research results;
(e) benchmarking and technical evaluation;
(f) internal testing and experimentation that are not connected to commercial production,
paid services, governmental deployment, or monetized activity.
For clarity, a use is not permitted under this Section if it is:
(i) connected to revenue generation, directly or indirectly;
(ii) conducted by or for the benefit of a for-profit entity as part of product development,
service delivery, or internal business operations;
(iii) conducted by, for, or on behalf of a Government Entity; or
(iv) conducted to support a commercial or governmental procurement, pilot, proof of concept,
tender, or production workflow.
4. Express Exclusion of Government Use
Notwithstanding any other provision of this License, the Model and any Derivative Model
may not be used by, for, on behalf of, or for the benefit of any Government Entity,
whether or not such use is revenue-generating.
For avoidance of doubt:
(a) government use is not deemed "noncommercial" under this License;
(b) public funding, public mission, academic status, scientific purpose, or non-profit
status do not create an exception to this prohibition where a Government Entity
is involved; and
(c) any access, evaluation, pilot, procurement test, production use, or integration
involving a Government Entity requires a separate written commercial or institutional
license from the Licensor.
5. Commercial Use Requires Separate License
Any Commercial Use of the Model or any Derivative Model requires a separate written
license from the Licensor.
Without limitation, the following require a separate written license:
(a) use in products or services offered for a fee or other consideration;
(b) internal use by a for-profit entity in support of its business operations;
(c) hosted inference, API, SaaS, managed services, or white-label offerings;
(d) use in connection with paid consulting, outsourced processing, or client work;
(e) use by or for Government Entities; and
(f) resale, OEM, embedded deployment, enterprise support, or high-volume deployment.
6. Derivative Models
6.1 You may create Derivative Models only for uses permitted by this License.
6.2 Any Derivative Model remains subject to this License.
6.3 You may not remove, circumvent, dilute, or nullify the restrictions of this License
through relabeling, packaging, technical partitioning, adapters, quantization, distillation,
or any other method.
6.4 If You distribute a Derivative Model as permitted under this License, You must:
(a) include a copy of this License;
(b) clearly identify that the Derivative Model is based on the original Model; and
(c) preserve all notices, disclaimers, attribution requirements, privacy notice,
and restrictions.
7. Distribution Conditions
You may distribute the Model or Derivative Models only if:
(a) the distribution is solely for uses permitted by this License;
(b) the recipient is informed that access and use are subject to this License before use; and
(c) all copyright notices, attribution requirements, disclaimers, privacy notice,
and restrictions are preserved.
You may not:
(i) sublicense the Model under different terms;
(ii) distribute the Model as if it were Your own original base model; or
(iii) weaken or remove the noncommercial, government-use, privacy, or attribution
restrictions in this License.
8. Prohibited Uses
You may not use the Model or any Derivative Model:
(a) in violation of applicable law or regulation;
(b) to infringe third-party rights;
(c) for Commercial Use without a separate written license;
(d) by, for, on behalf of, or for the benefit of any Government Entity;
(e) to evade the restrictions of this License through affiliates, intermediaries,
contractors, or technical partitioning;
(f) to provide hosted or managed inference to third parties, whether public or private,
without separate written authorization; or
(g) in a manner inconsistent with applicable data protection law.
9. Attribution
If You distribute the Model or a Derivative Model, or deploy it in any user-facing
environment permitted by this License, You must provide reasonable attribution, such as:
"Powered by DharmaOCR Lite by DHARMA-AI S.A., licensed under the DharmaOCR Lite
Noncommercial License 2026."
Where attribution is not technically feasible in the interface, it must appear in
documentation, repository materials, about pages, or legal notices.
10. Privacy Notice
10.1 Training Data Statement
The Licensor states, for purposes of this release, that the training of the Model did
not use personal information as part of the released training corpus and that, according
to the information made available by the client for this release, the training inputs
were composed of proprietary and/or commercially licensed datasets, with prior
anonymization and removal of sensitive information where applicable.
10.2 Independent Use by Licensee
Any use of the Model, software, weights, checkpoints, tokenizer files, outputs,
or related artifacts by You is performed independently and under Your sole control.
The Licensor does not, by the mere licensing or distribution of the Model, perform
processing of personal data on Your behalf, jointly with You, or under Your instructions.
10.3 Compliance with Data Protection Laws
If Your use of the Model, software, weights, or artifacts involves personal data,
You are solely responsible for ensuring compliance with all applicable data protection,
privacy, secrecy, cybersecurity, and sector-specific laws and regulations in the
relevant jurisdiction(s).
This includes, where applicable:
(a) identifying and documenting an appropriate legal basis;
(b) providing required notices and transparency measures;
(c) implementing adequate technical and organizational safeguards;
(d) honoring data subject rights; and
(e) carrying out any impact assessments, contractual measures, or transfer mechanisms
required by law.
10.4 No Data Processing by Licensor Through Mere Distribution
The mere making available, download, possession, or local execution of the Model
does not, by itself, create a processor, controller, joint-controller, fiduciary,
operator, or analogous relationship between the Licensor and You.
10.5 No Authorization for Unlawful Data Use
Nothing in this License authorizes You to input, process, transmit, or otherwise
use personal data unlawfully, nor does this License shift to the Licensor any
responsibility arising from Your independent processing activities.
11. Patent License
Subject to Your compliance with this License, the Licensor grants You a limited,
non-exclusive, non-transferable, non-sublicensable patent license, solely to the
extent of patent claims licensable by the Licensor that would necessarily be infringed
by the permitted use of the Model under this License.
This patent license does not extend to:
(a) any Commercial Use;
(b) any Government Use;
(c) any combination of the Model with other technology except as necessary for a
permitted use under this License; or
(d) any Derivative Model except to the extent necessarily required for a use permitted
under this License.
If You initiate patent litigation claiming that the Model or a contribution embodied
in the Model infringes a patent, any patent license granted to You under this License
terminates automatically as of the filing date of such claim.
12. No Warranty
THE MODEL IS PROVIDED "AS IS", "WITH ALL FAULTS", AND WITHOUT WARRANTIES OF ANY KIND,
WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WITHOUT LIMITATION ANY
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT,
ACCURACY, PERFORMANCE, OR THAT THE MODEL WILL BE ERROR-FREE OR UNINTERRUPTED.
13. Limitation of Liability
TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE LICENSOR SHALL NOT BE LIABLE FOR ANY INDIRECT,
INCIDENTAL, SPECIAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, OR FOR ANY LOSS OF
PROFITS, REVENUE, DATA, GOODWILL, OR BUSINESS INTERRUPTION, ARISING OUT OF OR RELATING
TO THE MODEL OR THIS LICENSE.
TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE MODEL IS MADE AVAILABLE FOR RESTRICTED
NONCOMMERCIAL USE, AND YOU ASSUME ALL RISKS ASSOCIATED WITH YOUR USE, MODIFICATION,
DEPLOYMENT, DISTRIBUTION, OR PROCESSING ACTIVITIES.
Nothing in this License excludes liability to the extent such exclusion is prohibited
by applicable law.
14. Termination
This License terminates automatically if You breach any term of this License.
If the Licensor notifies You of a first breach and the breach is curable, Your rights
under this License will be reinstated automatically if You cure the breach within
30 days after receipt of notice.
Upon termination, You must immediately cease all use, distribution, and deployment
of the Model and all Derivative Models unless and until You obtain a separate written
license from the Licensor.
Sections 1, 4, 5, 6.2, 6.3, 7, 8, 9, 10, 11, 12, 13, 14, and 15 survive termination.
15. Governing Law; Contact
This License shall be governed by and construed in accordance with the laws of Brazil,
excluding conflict-of-law rules.
Any dispute arising out of or relating to this License shall be submitted to the courts
of the Capital of the State of Sao Paulo, Brazil, unless applicable mandatory law
requires otherwise.
For commercial licensing, enterprise licensing, government licensing, hosted/API rights,
OEM/embedded rights, or other institutional arrangements, contact:
commercial@dharma-ai.com.br
DHARMA-AI S.A.
https://dharma-ai.com.br/