Datasets:
Release Commonplace Simple English Wikipedia knowledge pack
Browse filesFiles changed (35)
- .gitattributes+5-58
- .gitignoreAdded+17
- LICENSES.mdAdded+33
- README.mdAdded+110
- catalog/active.jsonAdded+26
- catalog/assertions-0ac44dcfb1b9e26d859725fc.jsonlAdded
- catalog/catalog-0ac44dcfb1b9e26d859725fc.sqliteAdded+3
- encoder/.gitattributesAdded+30
- encoder/1_Pooling/config.jsonAdded+5
- encoder/2_Normalize/config.jsonAdded+4
- encoder/README.mdAdded+335
- encoder/chat_template.jinjaAdded+1
- encoder/config.jsonAdded+177
- encoder/config_sentence_transformers.jsonAdded+38
- encoder/model.safetensorsAdded+3
- encoder/modules.jsonAdded+20
- encoder/preprocessor_config.jsonAdded+21
- encoder/processor_config.jsonAdded+78
- encoder/sentence_bert_config.jsonAdded+27
- encoder/tokenizer.jsonAdded+3
- encoder/tokenizer.modelAdded+3
- encoder/tokenizer_config.jsonAdded+57
- index/chunks.parquetAdded+3
- index/simplewiki-512.faissAdded+3
- index/simplewiki-512.jsonAdded+11
- licenses/APACHE-2.0.txtAdded+202
- licenses/CC-BY-SA-3.0.txtAdded+359
- manifest.jsonAdded+192
- provenance/UPSTREAM_DATASET_CARD.mdAdded
- provenance/chunking.jsonAdded+44
- provenance/dataset.jsonAdded+19
- provenance/encoder.jsonAdded+7
- provenance/seed.jsonAdded+37
- seed/memory.sqliteAdded+3
- source/simplewiki.parquetAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960*.7z filter=lfs diff=lfs merge=lfs -text*.arrow filter=lfs diff=lfs merge=lfs -text*.avro filter=lfs diff=lfs merge=lfs -text*.bin filter=lfs diff=lfs merge=lfs -text*.bz2 filter=lfs diff=lfs merge=lfs -text*.ckpt filter=lfs diff=lfs merge=lfs -text*.ftz filter=lfs diff=lfs merge=lfs -text*.gz filter=lfs diff=lfs merge=lfs -text*.h5 filter=lfs diff=lfs merge=lfs -text*.joblib filter=lfs diff=lfs merge=lfs -text*.lfs.* filter=lfs diff=lfs merge=lfs -text*.lz4 filter=lfs diff=lfs merge=lfs -text*.mds filter=lfs diff=lfs merge=lfs -text*.mlmodel filter=lfs diff=lfs merge=lfs -text*.model filter=lfs diff=lfs merge=lfs -text*.msgpack filter=lfs diff=lfs merge=lfs -text*.npy filter=lfs diff=lfs merge=lfs -text*.npz filter=lfs diff=lfs merge=lfs -text*.onnx filter=lfs diff=lfs merge=lfs -text*.ot filter=lfs diff=lfs merge=lfs -text*.parquet filter=lfs diff=lfs merge=lfs -text*.pb filter=lfs diff=lfs merge=lfs -text*.pickle filter=lfs diff=lfs merge=lfs -text*.pkl filter=lfs diff=lfs merge=lfs -text*.pt filter=lfs diff=lfs merge=lfs -text*.pth filter=lfs diff=lfs merge=lfs -text*.rar filter=lfs diff=lfs merge=lfs -text*.safetensors filter=lfs diff=lfs merge=lfs -textsaved_model/**/* filter=lfs diff=lfs merge=lfs -text*.tar.* filter=lfs diff=lfs merge=lfs -text*.tar filter=lfs diff=lfs merge=lfs -text*.tflite filter=lfs diff=lfs merge=lfs -text*.tgz filter=lfs diff=lfs merge=lfs -text*.wasm filter=lfs diff=lfs merge=lfs -text*.xz filter=lfs diff=lfs merge=lfs -text*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text# Audio files - uncompressed*.pcm filter=lfs diff=lfs merge=lfs -text*.sam filter=lfs diff=lfs merge=lfs -text*.raw filter=lfs diff=lfs merge=lfs -text# Audio files - compressed*.aac filter=lfs diff=lfs merge=lfs -text*.flac filter=lfs diff=lfs merge=lfs -text*.mp3 filter=lfs diff=lfs merge=lfs -text*.ogg filter=lfs diff=lfs merge=lfs -text*.wav filter=lfs diff=lfs merge=lfs -text# Image files - uncompressed*.bmp filter=lfs diff=lfs merge=lfs -text*.gif filter=lfs diff=lfs merge=lfs -text*.png filter=lfs diff=lfs merge=lfs -text*.tiff filter=lfs diff=lfs merge=lfs -text# Image files - compressed*.jpg filter=lfs diff=lfs merge=lfs -text*.jpeg filter=lfs diff=lfs merge=lfs -text*.webp filter=lfs diff=lfs merge=lfs -text# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -text1234567* text=auto*.parquet filter=lfs diff=lfs merge=lfs -text*.sqlite filter=lfs diff=lfs merge=lfs -text*.faiss filter=lfs diff=lfs merge=lfs -text*.safetensors filter=lfs diff=lfs merge=lfs -text*.model filter=lfs diff=lfs merge=lfs -textencoder/tokenizer.json filter=lfs diff=lfs merge=lfs -text
1234567891011121314151617.cache/.commonplace/.bantam/.codex/.venv/node_modules/__pycache__/*.pyc*.sqlite-wal*.sqlite-shm*.tmp*.lock*.log*.token.env.env.*.DS_Store123456789101112131415161718192021222324252627282930313233# Licenses and attribution
This is a collection with separately licensed components, not a newly trained model.
| Component | Attribution | License || --- | --- | --- || Simple English article snapshot | Wikipedia contributors; distributed by Wikimedia | CC BY-SA 3.0, as offered by the pinned source dataset || Chunks, catalog, extracted assertions and Wikipedia vector index | Derived from that snapshot by Commonplace | CC BY-SA 3.0 for the adapted Wikipedia material || EmbeddingGemma 2 files in `encoder/` | Google DeepMind, original upstream notices retained | Apache-2.0 || Empty memory schema in `seed/` | Commonplace contributors | Apache-2.0 |
The upstream Wikipedia dataset also offers GFDL; this distribution uses itsCC BY-SA option. See the preserved [upstream card](provenance/UPSTREAM_DATASET_CARD.md).Full license texts are in [licenses/](licenses).
Source identity and article attribution are preserved in the Parquet data andSQLite catalog. Each article has its original Wikipedia URL; its contributorhistory is available from the article's History tab. For automated attribution,retain the stored title, URL, source hash, and applicable license alongsidereturned text. Do not attribute model interpretations to Wikipedia contributors.
The Simple English snapshot was cleaned by the upstream dataset, split intooverlapping source-offset passages by Commonplace, encoded into normalized512-dimensional vectors, and indexed for lexical/entity lookup. Narrow extractionrules derived relationships with source quotations. These are changes to theoriginal representation, not endorsements by Wikimedia or Google.
The encoder is the unmodified pinned upstream payload. The software loading itdisables vision/audio configurations for this text-only use; no weights werefine-tuned. Its original model card is retained at [encoder/README.md](encoder/README.md).
There is no blanket software license over all data in this collection. TheCommonplace software repository's Apache license does not replace these terms.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110---pretty_name: Commonplace Knowledge — Simple English Wikipedialanguage:- enlicense: otherlicense_name: component-specific-apache-2.0-and-cc-by-salicense_link: https://huggingface.co/datasets/DevParker/Commonplace-Knowledge/blob/main/LICENSES.mdtask_categories:- text-retrievaltags:- wikipedia- embeddings- local-research- source-linked-memorysize_categories:- 100K<n<1Mconfigs:- config_name: articles data_files: - split: train path: source/simplewiki.parquet- config_name: passages data_files: - split: train path: index/chunks.parquet---
# Commonplace Knowledge
A reproducible starting knowledge pack for Commonplace, a local research andmemory tool. Published as a Hugging Face **dataset** repository at[DevParker/Commonplace-Knowledge](https://huggingface.co/datasets/DevParker/Commonplace-Knowledge).It includes the pinned encoder as a component; it is not a newly trained model.
The payload contains **241,787 Simple English Wikipedia articles**, **344,558passages**, **5,772 narrow extracted assertions**, a vector index, and a cleanwritable-memory seed with no custom additions. No personal notes, saved modelthoughts, research transcripts, generation-model weights or credentials are included.
## Contents
| Folder | Contents || --- | --- || `source/` | Original pinned Simple English snapshot Parquet || `index/` | Source-offset passages, normalized 512-dimensional FAISS index, metadata || `catalog/` | Immutable lexical/entity/assertion SQLite catalog and active manifest || `seed/` | Empty writable-memory schema; no custom additions || `encoder/` | Pinned Google EmbeddingGemma 2 model, tokenizer and configuration || `provenance/` | Original dataset card, identities, chunking and seed audit || `licenses/` | Applicable license texts |
`manifest.json` lists SHA-256 and byte size for every payload file. All payloadsare real local files, with no links into another project. Large files have Git LFSattributes. The manifest records the exact total; the pack is approximately 3.3 GiB.
## Pinned sources
* Dataset: `wikimedia/wikipedia`, snapshot `20231101.simple`, revision `b04c8d1ceb2f5cd4588862100d08de323dccfbaa`.* Encoder: `google/embeddinggemma-2`, revision `914f7f89142e33e77833254d9c9b90c3cef7303b`.
The index uses exact inner-product search over normalized FP32 vectors.The metadata's `storage_dtype: float16` describes the original input shards,not the internal FAISS index representation. Redundant input shards are excluded.
## Use
Install the independent [Commonplace MCP/API](https://github.com/BANTAM-ADMIN/commonplace).It does not include or require Bantam Factory or a generation model. From thesoftware checkout, after installing its Python and Node dependencies:
```bash.venv/bin/python scripts/download_pack.py --dest ../Commonplace-Knowledge.venv/bin/python scripts/prepare_store.py --pack ../Commonplace-Knowledgenode scripts/commonplace.mjs serve```
The software's release descriptor pins an exact dataset commit and pack identity.No Hugging Face sign-in is required to download this public pack. See the[installation and MCP connection guide](https://github.com/BANTAM-ADMIN/commonplace/blob/main/docs/QUICKSTART.md).
Setup verifies checksums and copies the public seed into a separate writablelocal store. Subsequent research changes that store, not this public pack.The encoder runs on CPU by default. A local generation model is needed only forthe optional full researcher, not for direct memory access.
The dataset card declares two separate Parquet configurations, `articles` and`passages`. If using the Hugging Face `datasets` library after publication, chooseone explicitly; they have different schemas. Commonplace itself downloads thewhole pinned pack and uses its local SQLite/FAISS files, without that library.
## Coverage and limitations
This is Simple English Wikipedia from November 2023. It does not contain thecomplete English Wikipedia and is not a current world-knowledge database.Sparse articles, missing topics, ambiguous entities andextraction errors remain. Similarity scores do not establish truth. A sourcecitation does not prove that a model correctly interpreted the source.
Wikipedia's editorial and geographic coverage is uneven. Short, simplifiedarticles can omit important qualifications, and the source may contain errors,outdated information or sensitive material. This release does not independentlyfact-check every article or extracted assertion.
The seed contains no model interpretations; these accrue only in a user's localwritable memory. No promise of automatic improvement or universal answer-qualitygains is made. See the software repository's validation and design documents.
Attribution, transformations and component licenses: [LICENSES.md](LICENSES.md).1234567891011121314151617181920212223242526{ "schema": 1, "extractor": "source-rules-1:332efc2c133850d9", "source_sha256": "31bded16768a47c286becd292079122f5d7d4397a17b87d4250a00ccd581e6f0", "chunks_sha256": "f07fe2cd65c8bf48c304f6c3923dfe41175be7259f7fa80edd3551ee5d1f20b5", "catalog_id": "0ac44dcfb1b9e26d859725fc", "catalog_file": "catalog-0ac44dcfb1b9e26d859725fc.sqlite", "catalog_sha256": "f0dd2a00aedd3c17765c81cbe55149866e79d4f962b3b7a09bf26a0e43e52eff", "source": "../source/simplewiki.parquet", "chunks": "../index/chunks.parquet", "counts": { "articles": 241787, "passages": 344558, "entities": 242318, "aliases": 267515, "assertions": 5772 }, "catalog_bytes": 1008787456, "assertions_file": "assertions-0ac44dcfb1b9e26d859725fc.jsonl", "assertions_sha256": "7b84b2cda583aeffc16dcac3e1086114b6f6c0ca54c27925f5afcbf8113a7d7d", "extracted_articles": 241787, "reused_extractions": 0, "embedding_calls": 0, "reused_build": false, "elapsed_s": 37.32560971099883}123version https://git-lfs.github.com/spec/v1oid sha256:f0dd2a00aedd3c17765c81cbe55149866e79d4f962b3b7a09bf26a0e43e52effsize 1008787456123456789101112131415161718192021222324252627282930*.7z filter=lfs diff=lfs merge=lfs -text*.arrow filter=lfs diff=lfs merge=lfs -text*.bin filter=lfs diff=lfs merge=lfs -text*.bz2 filter=lfs diff=lfs merge=lfs -text*.ckpt filter=lfs diff=lfs merge=lfs -text*.ftz filter=lfs diff=lfs merge=lfs -text*.gz filter=lfs diff=lfs merge=lfs -text*.h5 filter=lfs diff=lfs merge=lfs -text*.joblib filter=lfs diff=lfs merge=lfs -text*.lfs.* filter=lfs diff=lfs merge=lfs -text*.mlmodel filter=lfs diff=lfs merge=lfs -text*.model filter=lfs diff=lfs merge=lfs -text*.msgpack filter=lfs diff=lfs merge=lfs -text*.npy filter=lfs diff=lfs merge=lfs -text*.npz filter=lfs diff=lfs merge=lfs -text*.onnx filter=lfs diff=lfs merge=lfs -text*.ot filter=lfs diff=lfs merge=lfs -text*.parquet filter=lfs diff=lfs merge=lfs -text*.pb filter=lfs diff=lfs merge=lfs -text*.pt filter=lfs diff=lfs merge=lfs -text*.pth filter=lfs diff=lfs merge=lfs -text*.safetensors filter=lfs diff=lfs merge=lfs -text*.tar.gz filter=lfs diff=lfs merge=lfs -text*.tflite filter=lfs diff=lfs merge=lfs -text*.tgz filter=lfs diff=lfs merge=lfs -text*.wasm filter=lfs diff=lfs merge=lfs -text*.xz filter=lfs diff=lfs merge=lfs -text*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tokenizer.json filter=lfs diff=lfs merge=lfs -text12345{ "embedding_dimension": 768, "pooling_mode": "mean", "include_prompt": true}1234{ "module_input_name": "sentence_embedding", "module_output_name": "sentence_embedding"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335---license: apache-2.0pipeline_tag: feature-extractiontags:- embedding- feature-extraction- sentence-transformers- multimodal-embedding- multimodal- vision- audio- video- image-feature-extraction- audio-feature-extraction- video-feature-extraction- sentence-similaritylanguage:- multilinguallibrary_name: transformers---
<div align="center"> <img src=https://ai.google.dev/gemma/images/embeddinggemma2_banner.png></div>
<p align="center"> <a href="https://huggingface.co/google/embeddinggemma-2" target="_blank">Hugging Face</a> | <a href="https://github.com/google-gemma" target="_blank">GitHub</a> | <a href="https://blog.google/innovation-and-ai/technology/developers-tools/embeddinggemma-2" target="_blank">Launch Blog</a> | <a href="https://ai.google.dev/gemma/docs/embeddinggemma" target="_blank">Documentation</a> | <br> <b>License</b>: <a href="https://ai.google.dev/gemma/docs/gemma_4_license" target="_blank">Apache 2.0</a> | <b>Authors</b>: <a href="https://deepmind.google/models/gemma/" target="_blank">Google DeepMind</a></p>
**EmbeddingGemma 2** is an open multimodal embedding model built by Google DeepMind which maps text (incl. code), images, video, and audio inputs—and combinations thereof—into a single, unified 768-dimensional vector space. The model has 740M total parameters, combining a 270M parameter text model with modular vision (170M) and audio (300M) encoders.
Designed to run on consumer hardware such as mobile devices and laptops, EmbeddingGemma 2 delivers low-latency semantic representations for on-device applications, like search, retrieval-augmented generation (RAG), classification, and clustering.
EmbeddingGemma 2 builds upon the architectural and capability advancements of Gemma 4, offering several core features:
* **Native multimodality:** Native multimodality: Unifies 4 modalities (text, images, video, and audio) in a single shared 768-dimensional embedding space.* **Multilinguality and code:** EmbeddingGemma 2 understands 100+ languages, and achieves a \~14% improvement on code tasks relative to its predecessor. * **Flexible footprint:** Combines a 270M parameter text backbone (130M transformer \+ 140M embedder) with selectively loadable vision (170M) and audio (300M) encoders, allowing developers to load only the modalities required for their use case. * **Matryoshka Representation Learning (MRL):** Native support for truncated embeddings across 128d, 256d, 512d, and 768d, enabling up to a **6x reduction** in vector storage costs with minimal impact on quality. * **Context length:** 8K token context window, capable of processing minutes of audio or video.* **Task-steered representations:** Uses lightweight text instruction prefixes to optimize embeddings for different tasks (search, classification, clustering, semantic similarity, etc.).
### Model Overview
| Parameters | Total | 740M || :---- | :---- | :---- || | **Backbone** | 130M || | **Embedder** | 140M || | **Modality Encoders** | *Vision:* 170M *Audio:* 300M || **Architecture** | **Layers** | 24 || | **Model Dimension** | 512 || | **Hidden Dimension** | 2048 || | **Sliding Window** | 1024 tokens || | **Vocabulary Size** | 262,144 || | **\# Heads** | 4 || | **\# KV-Heads (Local/Global)** | 2/1 || | **Local:Global** | 5:1 || | **Attention** | GQA/MQA || | **Activation** | Gated FFN with GELU || | **Pooling** | Mean Pooling || | **Projection Layer** | 512→768 || **Input/Output** | **Supported Modalities** | Text, Images, Video, Audio || | **Context Window** | 8,192 tokens || | **Native Output Dimension** | 768 || | **MRL Truncation Dimensions** | 128, 256, 512 |
## **Benchmark Results**
EmbeddingGemma 2 was evaluated across text, code, vision, visual document, video, and audio embedding benchmarks. All results reported below use the full-precision checkpoint.
### Overall Evaluation Results (768d)
| Modality | Benchmark | Metric | EmbeddingGemma 2 | EmbeddingGemma 1 || :---- | :---- | :---- | :---- | :---- || *Text* | Massive Text Embedding Benchmark (MTEB, multilingual, v2) | Mean(Task), Multiple | 61.36 | 61.15 || | Massive Text Embedding Benchmark (MTEB, code, v1) | Mean(Task), NDCG@10 | 78.68 | 68.76 || *Image* | Massive Image Embedding Benchmark (MIEB, lite) | Mean(TaskType), Multiple | 64.64 | \- || | Massive Multimodal Embedding Benchmark (MMEB v2 \- Image) | Mean(Task), Hit@1 | 57.28 | \- || | Massive Multimodal Embedding Benchmark (MMEB v2 \- VisDoc) | Mean(Task), NDCG@5 | 67.84 | \- || *Video* | Massive Multimodal Embedding Benchmark (MMEB v2 \- Video) | Mean(Task), Hit@1 | 50.67 | \- || *Audio* | Massive Sound Embedding Benchmark (MSEB, Retrieval) | Mean(Task), MRR@10 | 69.54 | \- || | Massive Audio Embedding Benchmark (MAEB) *Hugging Face* | Mean(Task), Multiple | 49.39 | \- |
### Evaluation Results with Vector Truncation
With MRL, EmbeddingGemma 2 representations can be truncated below the native 768d to 128d, 256d, and 512d representations and re-normalized.With this, model users can reduce storage requirements, with minimal quality impact down to 256d. 128d is best suited to text-only workloads.
| Output Dimension | Compression Ratio | MTEB *(multilingual, v2) Mean(Task)* | MTEB *(eng, v2) Mean(Task)* | MTEB *(code, v1) Mean(Task)* | MIEB *(lite) Mean(TaskType)* | MMEB (v2) *Overall* | MSEB *(Retrieval) Mean(Task)* | MAEB *Mean(Task)* || :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: || 768d (Full) | 1:1 | 61.36 | 68.46 | 78.68 | 64.64 | 59.01 | 69.54 | 49.39 || 512d | 1:1.5 | 61.17 | 68.41 | 77.24 | 64.32 | 58.38 | 69.18 | 49.21 || 256d | 1:3 | 60.41 | 67.78 | 76.18 | 63.13 | 56.24 | 66.76 | 48.91 || 128d | 1:6 | 57.89 | 65.68 | 71.41 | 59.06 | 45.65 | 56.71 | 46.92 |
## **Quick Start**
Install the `sentence-transformers` library:
```bashpip install -U sentence-transformers transformers```
Generate text embeddings:```pythonfrom sentence_transformers import SentenceTransformer
model = SentenceTransformer("google/embeddinggemma-2")
query = "What causes the northern lights?"document = "The northern lights are caused by charged particles from the sun."
query_emb = model.encode(query, prompt_name="SearchQuery")doc_emb = model.encode(document, prompt_name="Document")print(model.similarity(query_emb, doc_emb))```
## **Best Practices**
For optimal embedding quality and runtime efficiency, follow these configurations and best practices:
### 1. Task Instruction Prefixes
EmbeddingGemma 2 is trained with short task instruction prefixes prepended to text inputs. Using the right prefix improves quality; omitting it still works but reduces precision. Prefixes apply to text only. Pass images, video, and audio without any prefix.
Documents with a real title should be formatted as `title: {title} | text: {content}`. Use `title: none` when no title is available.
**Prefix Notation & Usage**
We offer two types of task prefixes, depending on how embeddings are used in the task. There are two types of tasks:
* **Asymmetric Tasks (e.g. retrieval):** Use a query prefix for queries and a document prefix for corpus items. * **Symmetric Tasks (e.g. classification, similarity)**: Apply the same task prefix to all inputs being compared.
| Use Case | Task Type | Prompt Name | Query Task Instruction | Document Task Instruction *(use `none` if no title)* || :---- | :---- | :---- | :---- | :---- || Web / document search | Asymmetric | SearchQuery | `task: search result \| query: {query}` | `title: {title} \| text: {content}` || Question answering | Asymmetric | QuestionAnswering | `task: question answering \| query: {question}` | `title: {title} \| text: {passage}` || Fact checking | Asymmetric | FactChecking | `task: fact checking \| query: {claim}` | `title: {title} \| text: {evidence}` || Code search | Asymmetric | CodeRetrieval | `task: code retrieval \| query: {query}` | `title: {title or filename} \| text: {code}` || Text classification | Symmetric | Classification | `task: classification \| query: {content}` | N/A || Clustering | Symmetric | Clustering | `task: clustering \| query: {content}` | N/A || Measuring similarity | Symmetric | SentenceSimilarity | `task: sentence similarity \| query: {content}` | N/A |
**Please note:** `prompt_name="Document"` applies `title: none`; titled documents must still be formatted manually, like `model.encode(f"title: {title} | text: {document}")`
### 2. Selective Encoder Loading
The vision and audio encoders are independent components. To reduce memory consumption when deploying text-only or single-modality pipelines, disable unused modality encoders via SentenceTransformer’s `config_kwargs`:
**Please note:** configuring EmbeddingGemma 2 to load with omission of some encoders differs among model libraries; please refer to the appropriate documentation for more information on this.
| Active Modalities | `config_kwargs` | Effective Size || :---- | :---- | :---- || Text only | `{"vision_config": None, "audio_config": None}` | 270M || Text and image | `{"audio_config": None}` | 440M || Text and audio | `{"vision_config": None}` | 570M || Full multimodal | `{}` | 740M |
### 3. Matryoshka Dimension Truncation
EmbeddingGemma 2 is trained with Matryoshka Representation Learning, so the 768-dimensional output vector can be shortened by keeping only its leading dimensions. The supported dimensions are 768, 512, 256, and 128\. Shorter vectors reduce storage and speed up similarity search at some cost to quality.
At runtime, please adhere to the following guidelines:
* **Re-normalize after truncating:** slicing a unit-length vector does not preserve unit length. The shortened vector must be L2-normalized before it is used for cosine similarity. Skipping this step degrades ranking quality silently—it produces plausible-looking scores rather than an error. * **Queries and documents must share a dimension.** A 768-dimensional query cannot be scored against a 128-dimensional corpus.* To avoid truncating and normalizing yourself, you should pass in the `truncate_dim` and `normalize_embeddings` fields when calling `model.encode()`:
```pythonquery_emb = model.encode( query, truncate_dim=128, # or 512, 256 normalize_embeddings=True,)```
Model quality at each dimension is reported in the truncation table in the **Benchmark Results** section above. Quality is close to lossless down to 256 dimensions. 128 dimensions degrades multimodal quality substantially and should be validated against your own workload before adoption.
### 4. Numerical Precision
Run inference in `bfloat16` or `float32`. Do not use `float16`.
EmbeddingGemma 2's activation range exceeds the dynamic range of `float16`. In `float16` the model returns NaN or silently degraded embeddings rather than raising an error, so the failure is easy to miss.
`bfloat16` is safe, and carries the same 8-bit exponent as `float32`. This is the recommended default on hardware with native support, and halves memory use relative to `float32`. Use `float32` elsewhere, including on most CPUs.
In SentenceTransformers, you can set this via `model_kwargs`, and determine it programmatically via `is_bf16_supported`:
```pythondtype = torch.bfloat16 if torch.cuda.is_bf16_supported() else torch.float32
model = SentenceTransformer("google/embeddinggemma-2", model_kwargs={"torch_dtype": dtype})```
### 5. Multimodal Input
#### Interleaving
A single input may mix text with images, video, and audio, using a single shared 8,192-token context.
The position of each media item within the sequence is marked in the text using placeholder tokens from the model's vocabulary:
* `<|image|>` marks the position of image input * `<|video|>` marks the position of video input * `<|audio|>` marks the position of audio input
For example, a product listing indexed for search might be encoded as:
```pythonemb_interleaved = model.encode({ "text": "Waterproof running shoes. <|image|> Featuring a breathable mesh upper. <|image|> Grip test on wet rock: <|video|>", "image": ["shoe.jpg", "mesh.jpg"], "video": "demo.mp4",})```
Each placeholder in text is filled from the corresponding key, in order. The call returns a single embedding that represents the text, images and video together. This embedding can be compared directly against any other EmbeddingGemma 2 embedding; for example, a text-only query such as “waterproof shoes for trail running”.
#### Context Limits
All modalities share a single 8,192-token context window. Each modality consumes that budget at a fixed rate:
| Modality | Token Cost | Max Input || :---- | :---- | :---- || *Text* | 1 token per subword | 8,192 tokens || *Image* | 280 tokens per image *(default)* | ~29 images || *Video* | 140 tokens per frame *(default)* | ~58 frames || *Audio* | 25 tokens per second | ~327 seconds |
Note max input for images and video can be as high as ~114 images or frames when using a lower vision token budget (described below).
The maximums above assume a single modality with no accompanying text. Interleaved inputs draw from the same budget, so mixing modalities reduces the amount of each that fits. Note also max input for images and video can be as high as \~114 images or frames when using a lower vision token budget (described below).
#### Vision Token Budget
Model users can forgo the default sequence length for input images / video frames to represent images with “soft token” amounts ranging from 70 to 1120\. Increasing the vision budget for input images trades latency and token count for quality.
In general, higher input sequence lengths capture more information. Scaling up input sequence length means more expressive input representations; so, increasing input sequence length will improve fine-grained visual understanding, uplifting embedding quality and performance in downstream use cases.
#### Input Sampling Defaults
Audio and video inputs have the following default sampling rates:
* By default, video is processed as sampled frames through the vision encoder at **1 frame per second;** FPS sampling rate is configurable. * Audio should be supplied as **mono at 16 kHz.**
## **Model Data**
Our pre-training dataset is a large-scale, diverse collection of data encompassing a wide range of domains and modalities, which includes web documents, code, images, video, and audio, with a cutoff date of January 2025\. These include:
* **Web Documents:** A diverse collection of web text ensures the model is exposed to a broad range of linguistic styles, topics, and vocabulary. The training dataset includes content in over 140 languages. * **Code:** Exposing the model to code helps it to learn the syntax and patterns of programming languages, which improves its ability to understand code-related semantics. * **Images:** A wide range of images enables the model to perform image analysis and visual data extraction tasks * **Video:** Video sequences and clips covering diverse visual scenes, human actions, and temporal dynamics. * **Audio:** Speech recordings across multiple languages, environmental sounds, and acoustic events. * **Cross-modality Samples:** Paired text, image, video, and audio data to align representations across different modalities.
### Data Processing
Several data cleaning and filtering methods were applied to the training data:
* **CSAM Filtering**: Rigorous CSAM (Child Sexual Abuse Material) filtering was applied at multiple stages in the data preparation process to ensure the exclusion of harmful and illegal content. * **Sensitive Data Filtering**: As part of making Gemma pre-trained models safe and reliable, automated techniques were used to filter out certain personal information and other sensitive data from training sets. * **Additional Methods**: Filtering based on content quality and safety in line with [our policies](https://ai.google/static/documents/ai-responsibility-update-published-february-2025.pdf).
### **Ethics & Safety**
EmbeddingGemma 2 is a pre-trained embedding model. Unlike generative models, it does not undergo post-training alignment, safety tuning, or output-level moderation. Safety mitigations during development were focused on pre-training data filtering to reduce exposure to harmful content and severe biases in the learned embedding space, in alignment with [Google's AI Principles](https://ai.google/principles/).
Since embedding models produce representations rather than user-facing text, safety risks manifest downstream in how those representations are used.
Developers and deployers are responsible for evaluating and implementing application-level safeguards, like retrieval filtering and fairness testing, appropriate to their specific production use case.
Deployments must adhere to the [Gemma Prohibited Use Policy](https://ai.google.dev/gemma/prohibited_use_policy).
## **Usage and Limitations**
EmbeddingGemma 2 has certain limitations that users should be aware of.
### Intended Usage
EmbeddingGemma 2 generates embeddings from input content, which can be used for a number of downstream applications.
The following list of potential uses is not comprehensive. The purpose of this list is to provide contextual information about the possible use-cases that the model creators considered as part of model training and development.
* **Retrieval:** Embeddings for semantic search across text, code, images, video, and audio, such as document search, RAG over enterprise knowledge bases, code search from natural language queries, or spoken-query search over audio archives. * **Classification:** Embeddings to classify inputs according to preset labels, like sentiment analysis, content moderation, audio event detection, or image categorization. * **Clustering:** Embeddings to group inputs based on semantic similarity, like organizing document collections, clustering customer feedback by theme, or discovering near-duplicate content across modalities. * **Semantic Similarity:** Embeddings to measure pairwise similarity between inputs, such as recommendation systems, duplicate detection, paraphrase identification, or cross-lingual content alignment. * **Fact Verification:** Embeddings for retrieving evidence documents given a claim, like automated fact-checking systems or source attribution pipelines.
### Limitations
* **Training Data:** The quality and diversity of the training data significantly influence the model's capabilities. Biases or gaps in the training data can lead to limitations in the model's responses. * The scope of the training dataset determines the subject areas the model can handle effectively. * For example, while EmbeddingGemma 2 supports 100+ languages, the model may not exhibit equal performance across languages. * **Context and Task Complexity:** Models perform well on tasks that can be framed with clear prompts and instructions. * Open-ended or highly complex tasks might be challenging. * A model's performance can be influenced by the amount of context provided (longer context generally leads to better outputs, up to a certain point). * **Language Ambiguity and Nuance:** Natural language is inherently complex. Models might struggle to grasp subtle nuances, sarcasm, or figurative language. * **Task Instruction Usage:** For text tasks, omitting the recommended task prefix may lead to sub-optimal embedding quality.
### Ethical Considerations and Risks
In creating an open embedding model, we have carefully considered the following:
* **Bias and Fairness** * Models trained on large-scale, real-world text and image data can reflect socio-cultural biases embedded in the training material. * Training data used for EmbeddingGemma 2 underwent safety filtering to mitigate the risk of these biases. * **Misinformation and Misuse** * Embedding representations can be misused to retrieve, classify, or otherwise organize embedded content in false, misleading or harmful ways. * Guidelines are provided for responsible use with the model, see the [Responsible Generative AI Toolkit](https://ai.google.dev/responsible).* **Transparency and Accountability** * This model card summarizes details on the model's architecture, capabilities, limitations, and evaluation processes. * A responsibly developed open model offers the opportunity to share innovation by making Vision-Language Model (VLM) technology accessible to developers and researchers across the AI ecosystem.
### Risks Identified and Mitigations
* **Misuse for malicious purposes:** Technical limitations and developer and end-user education can help mitigate against malicious applications of embedding models. Educational resources and reporting mechanisms for users to flag misuse are provided. * **Privacy violations:** Models were trained on data filtered for removal of certain personal information and other sensitive data. Developers are encouraged to adhere to privacy regulations with privacy-preserving techniques. * **Perpetuation of biases:** It's encouraged to perform continuous monitoring (using evaluation metrics, human review) and the exploration of de-biasing techniques during model training, fine-tuning, and other use cases.
### Benefits
EmbeddingGemma 2 is among the strongest multimodal embedding models under 1B parameters. We’re excited to see how developers will use and adapt this model for on-device or edge AI applications.
The model is designed from the ground up for responsible AI development, like other Gemma-family models.1{%- for msg in messages if msg.get('role') == 'system' -%}{%- if msg.get('content') is string -%}{{ msg['content'] }}{%- else -%}{%- for item in msg['content'] if item.get('type') == 'text' -%}{{ item['text'] }}{%- endfor -%}{%- endif -%}{%- endfor -%}{%- for msg in messages if msg.get('role') != 'system' -%}{%- if msg.get('content') is string -%}{{ msg['content'] }}{%- else -%}{%- set existing_text = msg['content'] | selectattr('type', 'equalto', 'text') | map(attribute='text') | join -%}{%- set has_manual_placeholders = ('<|image|>' in existing_text) or ('<|video|>' in existing_text) or ('<|audio|>' in existing_text) -%}{%- for item in msg['content'] -%}{%- if item.get('type') == 'text' -%}{{ item['text'] }}{%- elif not has_manual_placeholders and item.get('type') == 'image' -%}<|image|>{%- elif not has_manual_placeholders and item.get('type') == 'video' -%}<|video|>{%- elif not has_manual_placeholders and item.get('type') == 'audio' -%}<|audio|>{%- endif -%}{%- endfor -%}{%- endif -%}{%- endfor -%}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177{ "architectures": [ "EmbeddingGemma2Model" ], "audio_config": { "_name_or_path": "", "architectures": null, "attention_chunk_size": 12, "attention_context_left": 13, "attention_context_right": 0, "attention_invalid_logits_value": -1000000000.0, "attention_logit_cap": 50.0, "chunk_size_feed_forward": 0, "conv_kernel_size": 5, "dtype": "bfloat16", "gradient_clipping": 10000000000.0, "hidden_act": "silu", "hidden_size": 1024, "id2label": { "0": "LABEL_0", "1": "LABEL_1" }, "initializer_range": 0.02, "is_encoder_decoder": false, "label2id": { "LABEL_0": 0, "LABEL_1": 1 }, "model_type": "gemma4_audio", "num_attention_heads": 8, "num_hidden_layers": 12, "output_attentions": false, "output_hidden_states": false, "output_proj_dims": 1536, "problem_type": null, "residual_weight": 0.5, "return_dict": true, "rms_norm_eps": 1e-06, "subsampling_conv_channels": [ 128, 32 ], "use_clipped_linears": true }, "audio_token_id": 258881, "boa_token_id": 256000, "boi_token_id": 255999, "dtype": "bfloat16", "eoa_token_index": 258883, "eoi_token_id": 258882, "image_token_id": 258880, "initializer_range": 0.02, "model_type": "embedding_gemma2", "text_config": { "attention_bias": false, "attention_dropout": 0.0, "bos_token_id": 2, "dtype": "bfloat16", "embedding_dim": 768, "eos_token_id": 1, "head_dim": 256, "hidden_activation": "gelu_pytorch_tanh", "hidden_size": 512, "hidden_size_per_layer_input": 512, "initializer_range": 0.02, "intermediate_size": 2048, "layer_types": [ "sliding_attention", "sliding_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention" ], "max_position_embeddings": 262144, "model_type": "embedding_gemma2_text", "num_attention_heads": 4, "num_hidden_layers": 24, "num_key_value_heads": 2, "pad_token_id": 0, "per_layer_config": { "05": { "head_dim": 512, "num_key_value_heads": 1 }, "11": { "head_dim": 512, "num_key_value_heads": 1 }, "17": { "head_dim": 512, "num_key_value_heads": 1 }, "23": { "head_dim": 512, "num_key_value_heads": 1 } }, "rms_norm_eps": 1e-06, "rope_parameters": { "full_attention": { "rope_theta": 1000000.0, "rope_type": "default" }, "sliding_attention": { "rope_theta": 10000.0, "rope_type": "default" } }, "sliding_window": 512, "vocab_size": 262144 }, "transformers_version": "5.18.0.dev0", "video_token_id": 258884, "vision_config": { "_name_or_path": "", "architectures": null, "attention_bias": false, "attention_dropout": 0.0, "chunk_size_feed_forward": 0, "default_output_length": 280, "dtype": "bfloat16", "global_head_dim": 64, "head_dim": 64, "hidden_activation": "gelu_pytorch_tanh", "hidden_size": 768, "id2label": { "0": "LABEL_0", "1": "LABEL_1" }, "initializer_range": 0.02, "intermediate_size": 3072, "is_encoder_decoder": false, "label2id": { "LABEL_0": 0, "LABEL_1": 1 }, "max_position_embeddings": 131072, "model_type": "gemma4_vision", "num_attention_heads": 12, "num_hidden_layers": 16, "num_key_value_heads": 12, "output_attentions": false, "output_hidden_states": false, "patch_size": 16, "pooling_kernel_size": 3, "position_embedding_size": 10240, "problem_type": null, "return_dict": true, "rms_norm_eps": 1e-06, "rope_parameters": { "rope_theta": 100.0, "rope_type": "axial" }, "standardize": false, "use_clipped_linears": false }, "vision_soft_tokens_per_image": 280}1234567891011121314151617181920212223242526272829303132333435363738{ "__version__": { "pytorch": "2.14.0+cu130", "sentence_transformers": "6.1.0", "transformers": "5.18.0.dev0" }, "default_prompt_name": null, "model_type": "SentenceTransformer", "prompts": { "BitextMining": "task: search result | query: ", "Classification": "task: classification | query: ", "Clustering": "task: clustering | query: ", "CodeRetrieval": "task: code retrieval | query: ", "Document": "title: none | text: ", "FactChecking": "task: fact checking | query: ", "InstructionRetrieval": "task: code retrieval | query: ", "MultilabelClassification": "task: classification | query: ", "PairClassification": "task: sentence similarity | query: ", "QuestionAnswering": "task: question answering | query: ", "Reranking": "task: search result | query: ", "Retrieval": "task: search result | query: ", "Retrieval-document": "title: none | text: ", "Retrieval-query": "task: search result | query: ", "STS": "task: sentence similarity | query: ", "SearchQuery": "task: search result | query: ", "SentenceSimilarity": "task: sentence similarity | query: ", "Summarization": "task: sentence similarity | query: ", "document": "title: none | text: ", "query": "task: search result | query: " }, "requirements": { "sentence-transformers": { "reason": "Older versions ignore the order of multimodal dict inputs and cannot put several images or texts into a single embedding.", "specifier": ">=6.1.0" } }, "similarity_fn_name": "cosine"}123version https://git-lfs.github.com/spec/v1oid sha256:197a32965d4b1105faf060417baa899e193fb73cd401f42ec9295234d5553d79size 14889152881234567891011121314151617181920[ { "idx": 0, "name": "0", "path": "", "type": "sentence_transformers.base.modules.transformer.Transformer" }, { "idx": 1, "name": "1", "path": "1_Pooling", "type": "sentence_transformers.sentence_transformer.modules.pooling.Pooling" }, { "idx": 2, "name": "2", "path": "2_Normalize", "type": "sentence_transformers.base.modules.normalize.Normalize" }]123456789101112131415161718192021{ "dither": 0.0, "feature_extractor_type": "Gemma4AudioFeatureExtractor", "feature_size": 128, "fft_length": 512, "fft_overdrive": false, "frame_length": 320, "hop_length": 160, "input_scale_factor": 1.0, "max_frequency": 8000.0, "mel_floor": 0.001, "min_frequency": 0.0, "padding_side": "right", "padding_value": 0.0, "per_bin_mean": null, "per_bin_stddev": null, "preemphasis": 0.0, "preemphasis_htk_flavor": true, "return_attention_mask": true, "sampling_rate": 16000}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778{ "audio_ms_per_token": 40, "audio_seq_length": 280, "feature_extractor": { "dither": 0.0, "feature_extractor_type": "Gemma4AudioFeatureExtractor", "feature_size": 128, "fft_length": 512, "fft_overdrive": false, "frame_length": 320, "hop_length": 160, "input_scale_factor": 1.0, "max_frequency": 8000.0, "mel_floor": 0.001, "min_frequency": 0.0, "padding_side": "right", "padding_value": 0.0, "per_bin_mean": null, "per_bin_stddev": null, "preemphasis": 0.0, "preemphasis_htk_flavor": true, "return_attention_mask": true, "sampling_rate": 16000 }, "image_processor": { "do_convert_rgb": true, "do_normalize": false, "do_rescale": true, "do_resize": true, "image_mean": [ 0.0, 0.0, 0.0 ], "image_processor_type": "Gemma4ImageProcessor", "image_seq_length": 280, "image_std": [ 1.0, 1.0, 1.0 ], "max_soft_tokens": 280, "patch_size": 16, "pooling_kernel_size": 3, "resample": 3, "rescale_factor": 0.00392156862745098 }, "image_seq_length": 280, "processor_class": "EmbeddingGemma2Processor", "video_processor": { "add_timestamps": false, "do_convert_rgb": true, "do_normalize": false, "do_rescale": true, "do_resize": true, "do_sample_frames": true, "fps": 1, "image_mean": [ 0.0, 0.0, 0.0 ], "image_std": [ 1.0, 1.0, 1.0 ], "max_frames": 32, "max_soft_tokens": 140, "overflow_strategy": "uniform", "patch_size": 16, "pooling_kernel_size": 3, "resample": 3, "rescale_factor": 0.00392156862745098, "return_metadata": false, "video_processor_type": "EmbeddingGemma2VideoProcessor" }}123456789101112131415161718192021222324252627{ "transformer_task": "feature-extraction", "modality_config": { "text": { "method": "forward", "method_output_name": "last_hidden_state" }, "image": { "method": "forward", "method_output_name": "last_hidden_state" }, "audio": { "method": "forward", "method_output_name": "last_hidden_state" }, "video": { "method": "forward", "method_output_name": "last_hidden_state" }, "message": { "method": "forward", "method_output_name": "last_hidden_state", "format": "structured" } }, "module_output_name": "token_embeddings"}123version https://git-lfs.github.com/spec/v1oid sha256:4d777ef5bdc1aa36227abdfb77c3e49e7b9c892d16e1b6bda41c393504828be4size 32170510123version https://git-lfs.github.com/spec/v1oid sha256:e594c8a90eb08d8bda498ff4747977dc827ae0c3c56b5c0d41a605a22d02ef03size 4689013123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ "audio_token": "<|audio|>", "backend": "tokenizers", "boa_token": "<|audio>", "boi_token": "<|image>", "bos_token": "<bos>", "eoa_token": "<audio|>", "eoc_token": "<channel|>", "eoi_token": "<image|>", "eos_token": "<eos>", "eot_token": "<turn|>", "escape_token": "<|\"|>", "etc_token": "<tool_call|>", "etd_token": "<tool|>", "etr_token": "<tool_response|>", "extra_special_tokens": [ "<|video|>" ], "image_token": "<|image|>", "is_local": true, "local_files_only": false, "mask_token": "<mask>", "model_max_length": 1000000000000000019884624838656, "model_specific_special_tokens": { "audio_token": "<|audio|>", "boa_token": "<|audio>", "boi_token": "<|image>", "eoa_token": "<audio|>", "eoc_token": "<channel|>", "eoi_token": "<image|>", "eot_token": "<turn|>", "escape_token": "<|\"|>", "etc_token": "<tool_call|>", "etd_token": "<tool|>", "etr_token": "<tool_response|>", "image_token": "<|image|>", "soc_token": "<|channel>", "sot_token": "<|turn>", "stc_token": "<|tool_call>", "std_token": "<|tool>", "str_token": "<|tool_response>", "think_token": "<|think|>", "video_token": "<|video|>" }, "pad_token": "<pad>", "padding_side": "right", "processor_class": "EmbeddingGemma2Processor", "soc_token": "<|channel>", "sot_token": "<|turn>", "stc_token": "<|tool_call>", "std_token": "<|tool>", "str_token": "<|tool_response>", "think_token": "<|think|>", "tokenizer_class": "GemmaTokenizer", "unk_token": "<unk>", "video_token": "<|video|>"}123version https://git-lfs.github.com/spec/v1oid sha256:f07fe2cd65c8bf48c304f6c3923dfe41175be7259f7fa80edd3551ee5d1f20b5size 115412970123version https://git-lfs.github.com/spec/v1oid sha256:f70593a72dec33341cf4bb3b3bced9f2d4606b312fe896036fac1e3f87212e58size 7056548291234567891011{ "model_revision": "914f7f89142e33e77833254d9c9b90c3cef7303b", "chunks_sha256": "f07fe2cd65c8bf48c304f6c3923dfe41175be7259f7fa80edd3551ee5d1f20b5", "dimensions": 512, "storage_dtype": "float16", "shard_size": 8192, "chunks": 344558, "index": "IndexFlatIP", "index_bytes": 705654829, "build_s": 1.9066173890023492}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
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.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
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.
Copyright [yyyy] [name of copyright owner]
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
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.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359Creative Commons Legal Code
Attribution-ShareAlike 3.0 Unported
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE.
License
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVECOMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BYCOPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN ASAUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREETO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAYBE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTSCONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS ANDCONDITIONS.
1. Definitions
a. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License. b. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined below) for the purposes of this License. c. "Creative Commons Compatible License" means a license that is listed at https://creativecommons.org/compatiblelicenses that has been approved by Creative Commons as being essentially equivalent to this License, including, at a minimum, because that license: (i) contains terms that have the same purpose, meaning and effect as the License Elements of this License; and, (ii) explicitly permits the relicensing of adaptations of works made available under that license under this License or a Creative Commons jurisdiction license with the same License Elements as this License. d. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership. e. "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike. f. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License. g. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast. h. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work. i. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. j. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images. k. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
2. Fair Dealing Rights. Nothing in this License is intended to reduce,limit, or restrict any uses free from copyright or rights arising fromlimitations or exceptions that are provided for in connection with thecopyright protection under copyright law or other applicable laws.
3. License Grant. Subject to the terms and conditions of this License,Licensor hereby grants You a worldwide, royalty-free, non-exclusive,perpetual (for the duration of the applicable copyright) license toexercise the rights in the Work as stated below:
a. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; b. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified."; c. to Distribute and Publicly Perform the Work including as incorporated in Collections; and, d. to Distribute and Publicly Perform Adaptations. e. For the avoidance of doubt:
i. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; ii. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and, iii. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License.
The above rights may be exercised in all media and formats whether nowknown or hereafter devised. The above rights include the right to makesuch modifications as are technically necessary to exercise the rights inother media and formats. Subject to Section 8(f), all rights not expresslygranted by Licensor are hereby reserved.
4. Restrictions. The license granted in Section 3 above is expressly madesubject to and limited by the following restrictions:
a. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(c), as requested. b. You may Distribute or Publicly Perform an Adaptation only under the terms of: (i) this License; (ii) a later version of this License with the same License Elements as this License; (iii) a Creative Commons jurisdiction license (either this or a later license version) that contains the same License Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible License. If you license the Adaptation under one of the licenses mentioned in (iv), you must comply with the terms of that license. If you license the Adaptation under the terms of any of the licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), you must comply with the terms of the Applicable License generally and the following provisions: (I) You must include a copy of, or the URI for, the Applicable License with every copy of each Adaptation You Distribute or Publicly Perform; (II) You may not offer or impose any terms on the Adaptation that restrict the terms of the Applicable License or the ability of the recipient of the Adaptation to exercise the rights granted to that recipient under the terms of the Applicable License; (III) You must keep intact all notices that refer to the Applicable License and to the disclaimer of warranties with every copy of the Work as included in the Adaptation You Distribute or Publicly Perform; (IV) when You Distribute or Publicly Perform the Adaptation, You may not impose any effective technological measures on the Adaptation that restrict the ability of a recipient of the Adaptation from You to exercise the rights granted to that recipient under the terms of the Applicable License. This Section 4(b) applies to the Adaptation as incorporated in a Collection, but this does not require the Collection apart from the Adaptation itself to be made subject to the terms of the Applicable License. c. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Ssection 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties. d. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise.
5. Representations, Warranties and Disclaimer
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOROFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANYKIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OFLATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSIONOF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLELAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FORANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGESARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HASBEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. Termination
a. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. b. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
8. Miscellaneous
a. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. b. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. c. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. d. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. e. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. f. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.
Creative Commons Notice
Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor.
Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, Creative Commons does not authorize the use by either party of the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time. For the avoidance of doubt, this trademark restriction does not form part of the License.
Creative Commons may be contacted at https://creativecommons.org/.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192{ "format": "commonplace-knowledge-1", "pack_id": "1649f690721bde9f4d1fbab18724300fa5e73ac941703cf4b27f645afa6f233f", "created_utc": "2026-10-21", "dataset": { "repo_id": "wikimedia/wikipedia", "revision": "b04c8d1ceb2f5cd4588862100d08de323dccfbaa", "snapshot": "20231101.simple" }, "encoder": { "repo_id": "google/embeddinggemma-2", "revision": "914f7f89142e33e77833254d9c9b90c3cef7303b" }, "catalog_id": "0ac44dcfb1b9e26d859725fc", "counts": { "articles": 241787, "passages": 344558, "entities": 242318, "aliases": 267515, "assertions": 5772 }, "seed_custom_documents": 0, "seed_model_interpretations": 0, "index": { "dimensions": 512, "type": "IndexFlatIP", "dtype": "float32" }, "total_bytes": 3515889112, "files": [ { "path": "LICENSES.md", "bytes": 2049, "sha256": "494dca63c2e1dbe73296cf6faba1a2fb9d340d0b664522a6677d09bc264a2323" }, { "path": "README.md", "bytes": 4841, "sha256": "324537f44bc04bc93386e474cdc339b06ad8c846944027551ee5b8264a9f40dc" }, { "path": "catalog/active.json", "bytes": 985, "sha256": "54ff333150f764866a78ca76565943e5e06746a9f2512c0a5fc91a9ed64e7f21" }, { "path": "catalog/assertions-0ac44dcfb1b9e26d859725fc.jsonl", "bytes": 2954156, "sha256": "7b84b2cda583aeffc16dcac3e1086114b6f6c0ca54c27925f5afcbf8113a7d7d" }, { "path": "catalog/catalog-0ac44dcfb1b9e26d859725fc.sqlite", "bytes": 1008787456, "sha256": "f0dd2a00aedd3c17765c81cbe55149866e79d4f962b3b7a09bf26a0e43e52eff" }, { "path": "encoder/.gitattributes", "bytes": 1301, "sha256": "bcdccfaa66bc1240c7192dbd374cfb39b695bb1d8ff6b7ce0113aa5e9ac21a44" }, { "path": "encoder/1_Pooling/config.json", "bytes": 90, "sha256": "8759bdf7c77efc7df7723f64856a593c8943b71ee38baf2a88771fbaf78438f9" }, { "path": "encoder/2_Normalize/config.json", "bytes": 97, "sha256": "cdb09dfca347a56aa2d691744e38d5ad3c7cbc2834e7181272b9a15328b82524" }, { "path": "encoder/README.md", "bytes": 21730, "sha256": "b677a0ee2818c36f091b65fd3d9b4baea9f04d53b02b49cae916c74bf9682037" }, { "path": "encoder/chat_template.jinja", "bytes": 1016, "sha256": "4b852efc0b9960283e735363331e6f325b33bc74bdbaa076f595bc4e9b94d85e" }, { "path": "encoder/config.json", "bytes": 4455, "sha256": "b8f1e9931b57fbc054acdb445c41765d55b0074c58d145fa82839941ad1b5bb3" }, { "path": "encoder/config_sentence_transformers.json", "bytes": 1565, "sha256": "031e56a498d33c349ab489a21885bcfe25b4fcba841149dc99e1e90d4a7c28f5" }, { "path": "encoder/model.safetensors", "bytes": 1488915288, "sha256": "197a32965d4b1105faf060417baa899e193fb73cd401f42ec9295234d5553d79" }, { "path": "encoder/modules.json", "bytes": 413, "sha256": "3d02572a0455b832de67fb8e63a54981bc7e8b46e337c95e917bd8122a533bfd" }, { "path": "encoder/preprocessor_config.json", "bytes": 511, "sha256": "ea2ae257e901064abdd98dceb19f2b0da06af600bed15e0f99f5c85c37ee9d78" }, { "path": "encoder/processor_config.json", "bytes": 1788, "sha256": "168f6a08522f3ce5dea596d94d003af2fd691742d4f41fe1f9d8cce76bfbf69c" }, { "path": "encoder/sentence_bert_config.json", "bytes": 747, "sha256": "b1bcd9f2dce3ae863b359e87d0710b5dbc3314a59ecb4e2f97c7778fc8e4b228" }, { "path": "encoder/tokenizer.json", "bytes": 32170510, "sha256": "4d777ef5bdc1aa36227abdfb77c3e49e7b9c892d16e1b6bda41c393504828be4" }, { "path": "encoder/tokenizer.model", "bytes": 4689013, "sha256": "e594c8a90eb08d8bda498ff4747977dc827ae0c3c56b5c0d41a605a22d02ef03" }, { "path": "encoder/tokenizer_config.json", "bytes": 1599, "sha256": "17bd5d6e9364ca49a534e1502076593317c298d4a663623091ed45388f004874" }, { "path": "index/chunks.parquet", "bytes": 115412970, "sha256": "f07fe2cd65c8bf48c304f6c3923dfe41175be7259f7fa80edd3551ee5d1f20b5" }, { "path": "index/simplewiki-512.faiss", "bytes": 705654829, "sha256": "f70593a72dec33341cf4bb3b3bced9f2d4606b312fe896036fac1e3f87212e58" }, { "path": "index/simplewiki-512.json", "bytes": 334, "sha256": "867771716c28d7908564ce409cfe0f7cc7c066ada8fbf0d235de5255ecf2af3e" }, { "path": "licenses/APACHE-2.0.txt", "bytes": 11358, "sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30" }, { "path": "licenses/CC-BY-SA-3.0.txt", "bytes": 22240, "sha256": "3f941b3b89cf7b8370ceb83cc76d2120d471b58735d8ca60238a751a48d7f72f" }, { "path": "provenance/UPSTREAM_DATASET_CARD.md", "bytes": 130835, "sha256": "a0f2055ac612f924721e9981fa2a49a18adec1c67cc8026f6c97d12f17211b21" }, { "path": "provenance/chunking.json", "bytes": 1234, "sha256": "a8743444ddefb0e30e5aa9826e7d8259601ca3cfb0cf5a199f356e0babfadf70" }, { "path": "provenance/dataset.json", "bytes": 407, "sha256": "0506795ed79de861e813f723a40b3339c579bd9cc57978309d502666b7cdc9ba" }, { "path": "provenance/encoder.json", "bytes": 216, "sha256": "68b543115cc04c1953c3da8ba9f036db80776a7a080e7f65a559fe6c7740ca20" }, { "path": "provenance/seed.json", "bytes": 965, "sha256": "a9f7298ba98220a0fb5a437cee4f4ea3f80cecb49faadf75a457f56f7d89a25a" }, { "path": "seed/memory.sqlite", "bytes": 208896, "sha256": "369fc2302ed2c358799155b597663488808fc4887551d70aa036a4db4677f685" }, { "path": "source/simplewiki.parquet", "bytes": 156885218, "sha256": "31bded16768a47c286becd292079122f5d7d4397a17b87d4250a00ccd581e6f0" } ]}1234567891011121314151617181920212223242526272829303132333435363738394041424344{ "source": "data/wikipedia/20231101.simple/train-00000-of-00001.parquet", "source_sha256": "31bded16768a47c286becd292079122f5d7d4397a17b87d4250a00ccd581e6f0", "dataset": { "repo_id": "wikimedia/wikipedia", "revision": "b04c8d1ceb2f5cd4588862100d08de323dccfbaa", "snapshot": "20231101.simple", "filename": "20231101.simple/train-00000-of-00001.parquet", "downloaded_at": "2026-10-19T02:34:44.025179+00:00", "articles": 241787, "bytes": 156885218, "columns": [ "id", "url", "title", "text" ], "license": [ "cc-by-sa-3.0", "gfdl" ] }, "model_revision": "914f7f89142e33e77833254d9c9b90c3cef7303b", "content_token_limit": 448, "overlap_tokens": 64, "max_input_tokens": 512, "articles": 241787, "empty_articles": 0, "chunks": 344558, "source_content_tokens": 74380825, "embedded_content_tokens": 80955711, "input_tokens_including_titles": 85205553, "length_percentiles": { "0": 11.0, "25": 102.0, "50": 203.0, "75": 435.0, "95": 473.0, "100": 494.0 }, "chunks_sha256": "f07fe2cd65c8bf48c304f6c3923dfe41175be7259f7fa80edd3551ee5d1f20b5", "chunks_bytes": 115412970, "prepare_s": 68.00076632800483}12345678910111213141516171819{ "repo_id": "wikimedia/wikipedia", "revision": "b04c8d1ceb2f5cd4588862100d08de323dccfbaa", "snapshot": "20231101.simple", "filename": "20231101.simple/train-00000-of-00001.parquet", "downloaded_at": "2026-10-19T02:34:44.025179+00:00", "articles": 241787, "bytes": 156885218, "columns": [ "id", "url", "title", "text" ], "license": [ "cc-by-sa-3.0", "gfdl" ]}1234567{ "repo_id": "google/embeddinggemma-2", "revision": "914f7f89142e33e77833254d9c9b90c3cef7303b", "downloaded_at": "2026-10-19T02:33:41.255143+00:00", "local_dir": "models/embeddinggemma-2", "gated": false}12345678910111213141516171819202122232425262728293031323334353637{ "tables": { "runs": 0, "mentions": 0, "expanded": 0, "unresolved": 0, "reviews": 0, "cached": 0, "added_documents": 0, "added_passages": 0, "added_mentions": 0, "research_sessions": 0, "research_evidence_entities": 0, "research_indexed": 0, "prepared_cards": 0, "prepared_targets": 0, "prepared_fts": 0, "prepared_fts_data": 2, "prepared_fts_idx": 0, "prepared_fts_content": 0, "prepared_fts_docsize": 0, "prepared_fts_config": 1, "synthesis_records": 0, "synthesis_vectors": 0, "synthesis_fts": 0, "synthesis_fts_data": 2, "synthesis_fts_idx": 0, "synthesis_fts_content": 0, "synthesis_fts_docsize": 0, "synthesis_fts_config": 1, "research_briefs": 0 }, "included_documents": [], "model_interpretations": 0, "private_observations": 0, "note": "FTS internal data/config rows belong to empty SQLite search indexes, not user content."}123version https://git-lfs.github.com/spec/v1oid sha256:369fc2302ed2c358799155b597663488808fc4887551d70aa036a4db4677f685size 208896123version https://git-lfs.github.com/spec/v1oid sha256:31bded16768a47c286becd292079122f5d7d4397a17b87d4250a00ccd581e6f0size 156885218.gitattributes+5-58
.gitignoreAdded+17
LICENSES.mdAdded+33
README.mdAdded+110
catalog/active.jsonAdded+26
catalog/assertions-0ac44dcfb1b9e26d859725fc.jsonlAdded
catalog/catalog-0ac44dcfb1b9e26d859725fc.sqliteAdded+3
encoder/.gitattributesAdded+30
encoder/1_Pooling/config.jsonAdded+5
encoder/2_Normalize/config.jsonAdded+4
encoder/README.mdAdded+335
encoder/chat_template.jinjaAdded+1
encoder/config.jsonAdded+177
encoder/config_sentence_transformers.jsonAdded+38
encoder/model.safetensorsAdded+3
encoder/modules.jsonAdded+20
encoder/preprocessor_config.jsonAdded+21
encoder/processor_config.jsonAdded+78
encoder/sentence_bert_config.jsonAdded+27
encoder/tokenizer.jsonAdded+3
encoder/tokenizer.modelAdded+3
encoder/tokenizer_config.jsonAdded+57
index/chunks.parquetAdded+3
index/simplewiki-512.faissAdded+3
index/simplewiki-512.jsonAdded+11
licenses/APACHE-2.0.txtAdded+202
licenses/CC-BY-SA-3.0.txtAdded+359
manifest.jsonAdded+192
provenance/UPSTREAM_DATASET_CARD.mdAdded
provenance/chunking.jsonAdded+44
provenance/dataset.jsonAdded+19
provenance/encoder.jsonAdded+7
provenance/seed.jsonAdded+37
seed/memory.sqliteAdded+3
source/simplewiki.parquetAdded+3