embeddinggemma-2-coreml / docs /licensing.md
requilence's picture
Keep FiQA notices with optional research downloads
b5b7f1d verified
|
Raw History Blame Contribute Delete
4.33 kB
# Licences and redistribution
Audited 2026-11-17. This repository contains components with different licences.
The model-card `apache-2.0` label describes the model; it does not replace the
separate evaluation-data terms below.
| Component | Licence | Attribution and scope |
|---|---|---|
| Core ML model and unchanged tokenizer | Apache-2.0 | Google DeepMind; [root NOTICE](../NOTICE) describes our conversion changes; [full licence](../LICENSE). |
| Original conversion scripts | Apache-2.0 | [Converter licence](../conversion/LICENSE) and [NOTICE](../conversion/NOTICE). |
| Transformers adaptation and vendored source | Apache-2.0 | Hugging Face copyright retained in the notices and [upstream source](../conversion/upstream/modeling_embedding_gemma2.py); [upstream licence](../conversion/upstream/transformers-LICENSE). |
| QVAC normalization adaptation and vendored exporter | MIT | Full ggml authors copyright and permission notice in [QVAC-MIT.txt](../licenses/QVAC-MIT.txt), also preserved beside the upstream code. |
| FiQA fixture texts and covered reference texts | CC-BY-SA-4.0 | [Attribution, source and modifications](../licenses/FIQA-NOTICE.txt), [full licence](../licenses/CC-BY-SA-4.0.txt), and [row provenance](../conversion/fixtures/source-map.json). |
## Model permission
The exact source checkpoint is `google/embeddinggemma-2` at
`914f7f89142e33e77833254d9c9b90c3cef7303b`. Its
[model card](https://huggingface.co/google/embeddinggemma-2/blob/914f7f89142e33e77833254d9c9b90c3cef7303b/README.md)
declares Apache-2.0 and links to Google's
[Apache licence](https://ai.google.dev/gemma/docs/gemma_4_license).
That revision supplies no separate upstream NOTICE file. This check concerns
EmbeddingGemma **2**; do not substitute the terms of older Gemma releases.
Apache 2.0 permits redistribution and modification, including commercial use,
subject to its terms. Recipients must receive the licence; relevant notices
must be retained and changes identified. It does not require publishing an
application's source code. It does not grant endorsement or general trademark
rights. Our independent conversion is identified as such, with model changes
in NOTICE and the model's metadata. The unchanged tokenizer remains credited
to the original model distribution.
For model redistribution, ship `LICENSE`, `NOTICE` and `licenses/QVAC-MIT.txt`
with the model, or provide them in bundled application notices available to
recipients. Include them in filtered HF downloads. An application that fetches
only the three `.mlpackage` files needs a separate notice-delivery mechanism.
The app and the model-only download do not include FiQA data. They therefore
do not need the FiQA/CC-BY-SA notices. Keep those notices with the optional
research fixtures and reference texts. Do not change model bytes merely to
add packaging notices.
## Evaluation data
The fixture contains public BEIR FiQA text used only to test the conversion;
we did not train or fine-tune the model on it. The
[BEIR provider's card](https://huggingface.co/datasets/BeIR/fiqa/blob/979c07a7cb5ccc6ca009792241fa1250b98055dd/README.md)
declares CC-BY-SA-4.0. Our fixture notice identifies the source, credits,
selection, added prompts and tokenization, and the reference records that copy
that text. The fixture collection and our copyrightable adaptations are
provided under CC-BY-SA-4.0. Preserve attribution and apply the required
ShareAlike terms when sharing covered data or adaptations.
These data terms apply to the evaluation files, independently of the model
and converter. Downloading or redistributing the model does not require the
fixture. The original corpus supplies no per-post author field; this audit
verifies the provider's declared licence and preserves supplied attribution,
not a separate rights clearance from every original contributor.
## What this update changes
This is a notice and documentation correction. Model, tokenizer, executable
converter code, token fixture and recorded validation bytes are unchanged.
The manifest preserves original export fingerprints and model hashes. Added
source-row metadata makes attribution traceable without rewriting test inputs.
This is a technical review against the published upstream terms, not legal
counsel's clearance of upstream ownership or any particular downstream use.