Sentence Similarity
sentence-transformers
Safetensors
English
embedding_gemma2
feature-extraction
embeddings
retrieval
semantic-search
matryoshka
nasa
combustion
microgravity
spacecraft-fire-safety
Run this model with HF Jobs
Run rarfileexe/FlameLedger-Encoder 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/rarfileexe/FlameLedger-Encoder. 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/rarfileexe/FlameLedger-Encoder 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 rarfileexe/FlameLedger-Encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use rarfileexe/FlameLedger-Encoder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("rarfileexe/FlameLedger-Encoder") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Upload 2 files
Browse filesFiles changed (2)
- config.jsonAdded+146
- model.safetensorsAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146{ "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", "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.1", "use_cache": false, "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}123version https://git-lfs.github.com/spec/v1oid sha256:f81825d2a733cc752f59972cae404945d13c56d4b9864e4499e2b1d48243230esize 1488915288config.jsonAdded+146
model.safetensorsAdded+3