Feature Extraction
Transformers
Safetensors
sentence-transformers
embedding_gemma2
embedding
multimodal
quantization
int8
compressed-tensors
vllm
8-bit precision
Run this model with HF Jobs
Run markmonger/embeddinggemma-2-int8-w8a8 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/markmonger/embeddinggemma-2-int8-w8a8. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/markmonger/embeddinggemma-2-int8-w8a8 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use markmonger/embeddinggemma-2-int8-w8a8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use markmonger/embeddinggemma-2-int8-w8a8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="markmonger/embeddinggemma-2-int8-w8a8")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("markmonger/embeddinggemma-2-int8-w8a8") model = AutoModel.from_pretrained("markmonger/embeddinggemma-2-int8-w8a8", device_map="auto") - sentence-transformers
How to use markmonger/embeddinggemma-2-int8-w8a8 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("markmonger/embeddinggemma-2-int8-w8a8") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
INT8 W8A8 compressed-tensors quantization of google/embeddinggemma-2
Browse filesPer-output-channel symmetric INT8 weights + dynamic per-token INT8 activations (compressed-tensors int-quantized). 897 MB shard vs 1489 MB bf16; mean cosine 0.9988 vs bf16. Verified under vLLM v0.34.0 as CompressedTensorsW8A8Int8 (CUTLASS int8 kernel) on RTX 2000 Ada.
Files changed (16)
- .gitattributes+1
- 1_Pooling/config.jsonAdded+5
- 2_Normalize/config.jsonAdded+4
- README.mdAdded+145
- chat_template.jinjaAdded+1
- config.jsonAdded+188
- config_sentence_transformers.jsonAdded+38
- model.safetensorsAdded+3
- modules.jsonAdded+20
- preprocessor_config.jsonAdded+21
- processor_config.jsonAdded+78
- quantize.pyAdded+151
- sentence_bert_config.jsonAdded+27
- tokenizer.jsonAdded+3
- tokenizer.modelAdded+3
- tokenizer_config.jsonAdded+57
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text
12345{ "embedding_dimension": 768, "pooling_mode": "mean", "include_prompt": true}1234{ "module_input_name": "sentence_embedding", "module_output_name": "sentence_embedding"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145---license: apache-2.0base_model: google/embeddinggemma-2tags: - embedding - multimodal - sentence-transformers - quantization - int8 - compressed-tensors - vllmpipeline_tag: feature-extractionlibrary_name: transformers---
# embeddinggemma-2 — INT8 (W8A8) quantization for vLLM
An INT8 quantization of [`google/embeddinggemma-2`](https://huggingface.co/google/embeddinggemma-2)in the **compressed-tensors `int-quantized`** format, built to be served directly by[vLLM](https://docs.vllm.ai) as an embedding/pooling model.
- **Weights:** INT8, symmetric, **per-output-channel** (strategy `channel`), static- **Activations:** INT8, symmetric, **dynamic per-token** (strategy `token`, `dynamic: true`)- **Targets:** all `Linear` modules — language model, vision tower, and audio tower- **Checkpoint:** `model.safetensors` 897 MB (vs 1,489 MB bf16 for the base model)- **License:** Apache-2.0 (same as the base model)
## Why this exists
Other INT8 packages of this architecture ship in custom packed formats that only theirown loader can read. This checkpoint uses the standard[compressed-tensors](https://github.com/vllm-project/compressed-tensors) format thatvLLM understands natively — no custom runtime, no patched loader.
vLLM has upstream support for the base architecture (`EmbeddingGemma2Model`) sincev0.33, so this repo is meant to be paired with a stock `vllm/vllm-openai` image.
## Quantization method
Post-training **weight quantization with dynamic activation quantization**, done directlyin PyTorch (see [`quantize.py`](quantize.py) in this repo):
```pythonscale = (weight.abs().amax(dim=1, keepdim=True) / 127.5).clamp_(min=1e-10)q = torch.clamp(torch.round(weight / scale), -128, 127).to(torch.int8)```
Per-output-channel symmetric INT8 for each `nn.Linear`, with `weight_scale` stored as fp32of shape `[out_features, 1]`, and `quantization_config` written into `config.json`:
```json{ "quant_method": "compressed-tensors", "format": "int-quantized", "config_groups": { "group_0": { "targets": ["Linear"], "weights": { "num_bits": 8, "type": "int", "strategy": "channel", "symmetric": true, "dynamic": false }, "input_activations":{ "num_bits": 8, "type": "int", "strategy": "token", "symmetric": true, "dynamic": true } } }}```
**No calibration corpus is required**: because activation quantization is dynamic(per-token, computed at runtime), the checkpoint only needs the weight scales. That makesthe quantization deterministic, cheap (~10 s on CPU), and free of dataset-induced bias —at the cost of not being activation-aware (no AWQ / SmoothQuant-style error correction).
## Accuracy vs. the bf16 base model
Measured by embedding the same texts with the bf16 and INT8 checkpoints served in vLLM andcomparing cosine similarity (mean-pooled 768-d embeddings):
| sample set | mean cosine | min cosine ||---|---|---|| single sentence | 0.9965 | — || 4-text probe set | 0.9988 | 0.9981 |
Retrieval ordering is preserved exactly. Example (query → 4 candidate docs), bf16 vs INT8:
```bf16: 1.0000 / 0.9001 / 0.6053 / 0.5828int8: 0.9993 / 0.9035 / 0.6040 / 0.5884```
## Serving with vLLM
vLLM selects the `CompressedTensorsW8A8Int8` scheme for this config (int8 weights **and**int8 activations; on Ada/Ampere+ it resolves to a CUTLASS int8 scaled-MM kernel). Minimumcompute capability for the scheme is sm_75.
```bashdocker run -d --gpus all -p 8100:8000 \ -v $PWD/models:/models \ vllm/vllm-openai:v0.34.0 \ /models/embeddinggemma-2-int8 \ --runner pooling \ --convert embed \ --served-model-name embeddinggemma-2-int8 \ --max-model-len 8192```
Verified on an NVIDIA RTX 2000 Ada Generation (sm_89) with `vllm/vllm-openai:v0.34.0`:
```Selected CutlassInt8ScaledMMLinearKernel for CompressedTensorsW8A8Int8```
Then:
```bashcurl -s http://localhost:8100/v1/embeddings -H 'Content-Type: application/json' \ -d '{"model":"embeddinggemma-2-int8","input":"A man is playing a guitar on stage."}'```
Matryoshka truncation is supported via `dimensions` (128 / 256 / 512 / 768) on the poolingparams, same as the base model.
## Model details (inherited from the base model)
- Output embeddings: 768-dimensional, mean-pooled, L2-normalized; Matryoshka-capable- Modalities: text, image, audio, video- 24 language layers, hidden 512 → projected to 768; 262,144 context- Recommended prompt prefixes (see `config_sentence_transformers.json`): - query: `task: search result | query: ` - document: `title: none | text: `
## Notes & limitations
- The vision and audio towers are INT8-quantized as well as the language model.- Weight scales are plain min/max per output channel — no activation-aware smoothing, so this is a conservative W8A8 rather than a task-tuned PTQ. If you need maximum accuracy, serve the bf16 base model; the weight saving here is ~590 MB, which on a 16 GB card is mostly a bandwidth/footprint win rather than a capacity unlock.- **Serving is validated under vLLM.** Loading this checkpoint through plain `transformers` / `sentence-transformers` (via the compressed-tensors decompression path) has not been tested here.- The quantization script in this repo runs on CPU with no calibration data and produces a byte-identical checkpoint from the bf16 base model.
## Source
Quantized from `google/embeddinggemma-2` (Apache-2.0). All model weights and derivationsretain the Apache-2.0 license.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 -%}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188{ "architectures": [ "EmbeddingGemma2Model" ], "audio_config": { "attention_chunk_size": 12, "attention_context_left": 13, "attention_context_right": 0, "attention_invalid_logits_value": -1000000000.0, "attention_logit_cap": 50.0, "conv_kernel_size": 5, "dtype": "bfloat16", "gradient_clipping": 10000000000.0, "hidden_act": "silu", "hidden_size": 1024, "initializer_range": 0.02, "model_type": "gemma4_audio", "num_attention_heads": 8, "num_hidden_layers": 12, "output_proj_dims": 1536, "residual_weight": 0.5, "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", "quantization_config": { "activation_scheme": "dynamic", "config_groups": { "group_0": { "format": "int-quantized", "input_activations": { "actorder": null, "block_structure": null, "dynamic": true, "group_size": null, "num_bits": 8, "observer": "minmax", "observer_kwargs": {}, "scale_dtype": null, "strategy": "token", "symmetric": true, "type": "int", "zp_dtype": null }, "targets": [ "Linear" ], "weights": { "actorder": null, "block_structure": null, "dynamic": false, "group_size": null, "num_bits": 8, "observer": "minmax", "observer_kwargs": {}, "scale_dtype": null, "strategy": "channel", "symmetric": true, "type": "int", "zp_dtype": null } } }, "format": "int-quantized", "global_schema": null, "ignore": [], "quant_method": "compressed-tensors" }, "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.22.2", "video_token_id": 258884, "vision_config": { "attention_bias": false, "attention_dropout": 0.0, "default_output_length": 280, "dtype": "bfloat16", "global_head_dim": 64, "head_dim": 64, "hidden_activation": "gelu_pytorch_tanh", "hidden_size": 768, "initializer_range": 0.02, "intermediate_size": 3072, "max_position_embeddings": 131072, "model_type": "gemma4_vision", "num_attention_heads": 12, "num_hidden_layers": 16, "num_key_value_heads": 12, "patch_size": 16, "pooling_kernel_size": 3, "position_embedding_size": 10240, "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:cfdf7eb19f28ace519061db1f01113f9e22512730a604394e441350ec910b0cbsize 8972829041234567891011121314151617181920[ { "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" }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151"""INT8 (W8A8 dynamic-token) quantization of google/embeddinggemma-2 into acompressed-tensors checkpoint that vLLM loads as CompressedTensorsW8A8Int8.
Pure-torch per-output-channel symmetric INT8 weight quant + config.jsonquantization_config with format "int-quantized". No calibration data needed:activations are quantized dynamically per token at runtime by vLLM, so thecheckpoint only needs `weight` (int8) and `weight_scale` (fp32 [out,1])."""
import jsonimport osimport shutilimport time
import torchfrom safetensors import safe_openfrom transformers import AutoModel
import sysSRC = sys.argv[1] if len(sys.argv) > 1 else "/models/embeddinggemma-2"DST = sys.argv[2] if len(sys.argv) > 2 else "/models/embeddinggemma-2-int8"EPS = 1e-10
QCFG = { "quant_method": "compressed-tensors", "activation_scheme": "dynamic", "format": "int-quantized", "global_schema": None, "config_groups": { "group_0": { "targets": ["Linear"], "weights": { "num_bits": 8, "type": "int", "strategy": "channel", "symmetric": True, "dynamic": False, "group_size": None, "actorder": None, "block_structure": None, "observer": "minmax", "observer_kwargs": {}, "scale_dtype": None, "zp_dtype": None, }, "input_activations": { "num_bits": 8, "type": "int", "strategy": "token", "symmetric": True, "dynamic": True, "group_size": None, "actorder": None, "block_structure": None, "observer": "minmax", "observer_kwargs": {}, "scale_dtype": None, "zp_dtype": None, }, "format": "int-quantized", } }, "ignore": [],}
def log(*a): print(*a, flush=True)
t0 = time.time()if os.path.exists(DST): log("removing existing", DST) shutil.rmtree(DST)
log("loading bf16 model from", SRC)model = AutoModel.from_pretrained(SRC, dtype=torch.bfloat16)model.eval()
n = 0skipped = 0with torch.no_grad(): for name, mod in model.named_modules(): if not isinstance(mod, torch.nn.Linear): continue w = mod.weight.detach().to(torch.float32) if w.ndim != 2: skipped += 1 continue absmax = w.abs().amax(dim=1, keepdim=True) scale = (absmax / 127.5).clamp_(min=EPS) q = torch.clamp(torch.round(w / scale), -128, 127) assert q.abs().max().item() <= 128 mod.weight.requires_grad_(False) mod.weight.data = q.to(torch.int8) for old in ("weight_scale", "weight_scale_inv"): if hasattr(mod, old): delattr(mod, old) mod.register_buffer("weight_scale", scale.to(torch.float32)) n += 1log(f"quantized {n} linear modules ({skipped} non-2d skipped) in {time.time()-t0:.0f}s")
# copy everything except the bf16 weight shard (save_pretrained rewrites# config.json + model.safetensors)os.makedirs(DST, exist_ok=True)for entry in os.listdir(SRC): if entry in ("model.safetensors", "config.json") or entry.endswith(".safetensors"): continue s, d = os.path.join(SRC, entry), os.path.join(DST, entry) if os.path.isdir(s): shutil.copytree(s, d) else: shutil.copy2(s, d)
log("saving to", DST)model.save_pretrained(DST, safe_serialization=True)
cfg_path = os.path.join(DST, "config.json")with open(cfg_path) as f: cfg = json.load(f)cfg["quantization_config"] = QCFGwith open(cfg_path, "w") as f: json.dump(cfg, f, indent=2, sort_keys=True)
# ---- verify what actually landed on diskshard = os.path.join(DST, "model.safetensors")n_int8 = n_scale = 0samples = []with safe_open(shard, framework="pt") as f: keys = list(f.keys()) for k in keys: if k.endswith("weight_scale"): n_scale += 1 meta = f.metadata() if hasattr(f, "metadata") else None for k in keys: sl = f.get_slice(k) if sl.get_dtype() == "I8" and k.endswith("weight"): n_int8 += 1 if len(samples) < 3: samples.append((k, sl.get_shape()))log(f"shard {os.path.getsize(shard)/1e6:.1f} MB, {len(keys)} tensors, " f"int8 weights={n_int8}, weight_scale={n_scale}")for k, s in samples: log(" int8 example:", k, s)
total = sum( os.path.getsize(os.path.join(dp, fn)) for dp, _, fns in os.walk(DST) for fn in fns)log(f"DONE in {time.time()-t0:.0f}s — total size: {total/1e6:.1f} MB")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|>"}.gitattributes+1
1_Pooling/config.jsonAdded+5
2_Normalize/config.jsonAdded+4
README.mdAdded+145
chat_template.jinjaAdded+1
config.jsonAdded+188
config_sentence_transformers.jsonAdded+38
model.safetensorsAdded+3
modules.jsonAdded+20
preprocessor_config.jsonAdded+21
processor_config.jsonAdded+78
quantize.pyAdded+151
sentence_bert_config.jsonAdded+27
tokenizer.jsonAdded+3
tokenizer.modelAdded+3
tokenizer_config.jsonAdded+57