Upload reflex-search v3.3 text-only BF16 + LoRA + calibrated Choice/Noul/Score heads
4adc78d verified Download heads.json from youdotcom/reflex-search: direct link, hf CLI and curl.
- Browser
- Download file 10 kB
-
https://huggingface.co/youdotcom/reflex-search/resolve/main/heads.json
- Command line
-
hf download hf://youdotcom/reflex-search/heads.json
-
curl -L -o heads.json https://huggingface.co/youdotcom/reflex-search/resolve/main/heads.json
10 kB
| { | |
| "d": 768, | |
| "num_score_metrics": 3, | |
| "num_ranks": 5, | |
| "include_extract": false, | |
| "active_heads": [ | |
| "choice", | |
| "noul", | |
| "score" | |
| ], | |
| "best_epoch": 6, | |
| "query_texts": { | |
| "choice_next_step": "task: classification | query: Given the research intent and current parallel search returns, which next action should the search runtime take?", | |
| "choice_best_query_for_intent": "task: classification | query: Which candidate search query is most specific, well-formed, and likely to surface authoritative evidence for the research intent?", | |
| "choice_best_search_hit": "task: classification | query: Which candidate search hit provides the strongest authoritative evidence to answer the task?", | |
| "noul_query_matches_intent": "task: fact checking | query: This candidate search sub-query is well-formed, specific to the research intent, and likely to surface useful evidence.", | |
| "noul_query_returns_results": "task: fact checking | query: This search query returns one or more web results from the Search API.", | |
| "noul_query_is_fact_shaped": "task: fact checking | query: This search query asks for a structured quantitative, financial, statistical, or live metric fact covered by licensed knowledge providers.", | |
| "noul_results_relevant": "task: fact checking | query: The returned search results contain relevant information that addresses the search query.", | |
| "noul_hit_worth_reading": "task: fact checking | query: This candidate search hit is worth fetching in full to answer the user task.", | |
| "score_return_relevance": "task: classification | query: Rate how directly and authoritatively this search return (web highlight or knowledge fact) helps answer the research intent from 1 to 5.", | |
| "score_evidence_coverage": "task: classification | query: Rate how completely this fused set of parallel search highlights and knowledge facts covers all required parts of the research intent from 1 to 5.", | |
| "score_extract_relevance": "task: classification | query: Rate how directly and completely this extracted webpage or PDF passage satisfies the document intent from 1 to 5." | |
| }, | |
| "score_metrics": [ | |
| "score_return_relevance", | |
| "score_evidence_coverage", | |
| "score_extract_relevance" | |
| ], | |
| "calibration": { | |
| "choice": { | |
| "choice_best_query_for_intent": { | |
| "T": 1.3695668877685563, | |
| "b_abstain": -0.058805350214242935 | |
| }, | |
| "choice_best_search_hit": { | |
| "T": 1.817622866872739, | |
| "b_abstain": -0.32487934827804565 | |
| }, | |
| "choice_next_step": { | |
| "T": 0.5006811022758484, | |
| "b_abstain": -0.0876120999455452 | |
| } | |
| }, | |
| "noul": { | |
| "noul_query_returns_results": { | |
| "T": 2.9460168033182867, | |
| "b": -1.4611535458463436 | |
| }, | |
| "noul_query_matches_intent": { | |
| "T": 1.3391732586857756, | |
| "b": -0.8235207292718201 | |
| }, | |
| "noul_hit_worth_reading": { | |
| "T": 0.8524871718440892, | |
| "b": 0.28758746344588815 | |
| } | |
| }, | |
| "score": { | |
| "score_return_relevance": { | |
| "T_pres": 0.4000000059604645, | |
| "b_pres": 0.6136154532432556, | |
| "T_rank": 1.917371153831482, | |
| "b_rank": [ | |
| 0.09833735227584839, | |
| 0.039705585688352585, | |
| -0.02585119754076004, | |
| -0.002763827098533511, | |
| -0.10942791402339935 | |
| ] | |
| }, | |
| "score_evidence_coverage": { | |
| "T_pres": 0.4000000059604645, | |
| "b_pres": 0.6011375784873962, | |
| "T_rank": 1.4472062587738037, | |
| "b_rank": [ | |
| -0.18481789529323578, | |
| -0.08214931190013885, | |
| 0.020597977563738823, | |
| 0.08634351938962936, | |
| 0.1600256860256195 | |
| ] | |
| }, | |
| "score_extract_relevance": { | |
| "T_pres": 0.4216231107711792, | |
| "b_pres": 0.5255321860313416, | |
| "T_rank": 2.2792673110961914, | |
| "b_rank": [ | |
| 0.031077247112989426, | |
| -0.023274000734090805, | |
| -0.036772601306438446, | |
| 0.030096551403403282, | |
| -0.0011271957773715258 | |
| ] | |
| } | |
| }, | |
| "extract": {} | |
| }, | |
| "lora": { | |
| "r": 16, | |
| "alpha": 32.0, | |
| "layer_indices": [ | |
| 17, | |
| 20, | |
| 21, | |
| 22, | |
| 23 | |
| ], | |
| "include_projection": true | |
| }, | |
| "backbone_model_id": "google/embeddinggemma-2", | |
| "backbone_config": { | |
| "transformers_version": "5.23.0", | |
| "architectures": [ | |
| "EmbeddingGemma2Model" | |
| ], | |
| "output_hidden_states": false, | |
| "return_dict": true, | |
| "dtype": "float32", | |
| "chunk_size_feed_forward": 0, | |
| "is_encoder_decoder": false, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1" | |
| }, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1 | |
| }, | |
| "problem_type": null, | |
| "text_config": { | |
| "architectures": null, | |
| "output_hidden_states": false, | |
| "return_dict": true, | |
| "dtype": "float32", | |
| "chunk_size_feed_forward": 0, | |
| "is_encoder_decoder": false, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1" | |
| }, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1 | |
| }, | |
| "problem_type": null, | |
| "vocab_size": 262144, | |
| "hidden_size": 512, | |
| "intermediate_size": 2048, | |
| "num_hidden_layers": 24, | |
| "num_attention_heads": 4, | |
| "num_key_value_heads": 2, | |
| "head_dim": 256, | |
| "hidden_activation": "gelu_pytorch_tanh", | |
| "max_position_embeddings": 262144, | |
| "initializer_range": 0.02, | |
| "rms_norm_eps": 1e-06, | |
| "pad_token_id": 0, | |
| "eos_token_id": 1, | |
| "bos_token_id": 2, | |
| "rope_parameters": { | |
| "full_attention": { | |
| "rope_theta": 1000000.0, | |
| "rope_type": "default" | |
| }, | |
| "sliding_attention": { | |
| "rope_theta": 10000.0, | |
| "rope_type": "default" | |
| } | |
| }, | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "sliding_window": 512, | |
| "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" | |
| ], | |
| "hidden_size_per_layer_input": 512, | |
| "embedding_dim": 768, | |
| "_name_or_path": "", | |
| "model_type": "embedding_gemma2_text", | |
| "output_attentions": false, | |
| "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 | |
| } | |
| } | |
| }, | |
| "vision_config": { | |
| "architectures": null, | |
| "output_hidden_states": false, | |
| "return_dict": true, | |
| "dtype": "float32", | |
| "chunk_size_feed_forward": 0, | |
| "is_encoder_decoder": false, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1" | |
| }, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1 | |
| }, | |
| "problem_type": null, | |
| "hidden_size": 768, | |
| "intermediate_size": 3072, | |
| "num_hidden_layers": 16, | |
| "num_attention_heads": 12, | |
| "num_key_value_heads": 12, | |
| "head_dim": 64, | |
| "hidden_activation": "gelu_pytorch_tanh", | |
| "rms_norm_eps": 1e-06, | |
| "max_position_embeddings": 131072, | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "rope_parameters": { | |
| "rope_theta": 100.0, | |
| "rope_type": "axial" | |
| }, | |
| "pooling_kernel_size": 3, | |
| "patch_size": 16, | |
| "position_embedding_size": 10240, | |
| "use_clipped_linears": false, | |
| "standardize": false, | |
| "initializer_range": 0.02, | |
| "_name_or_path": "", | |
| "default_output_length": 280, | |
| "global_head_dim": 64, | |
| "model_type": "gemma4_vision", | |
| "output_attentions": false | |
| }, | |
| "audio_config": { | |
| "architectures": null, | |
| "output_hidden_states": false, | |
| "return_dict": true, | |
| "dtype": "float32", | |
| "chunk_size_feed_forward": 0, | |
| "is_encoder_decoder": false, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1" | |
| }, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1 | |
| }, | |
| "problem_type": null, | |
| "hidden_size": 1024, | |
| "num_hidden_layers": 12, | |
| "num_attention_heads": 8, | |
| "hidden_act": "silu", | |
| "subsampling_conv_channels": [ | |
| 128, | |
| 32 | |
| ], | |
| "conv_kernel_size": 5, | |
| "residual_weight": 0.5, | |
| "attention_chunk_size": 12, | |
| "attention_context_left": 13, | |
| "attention_context_right": 0, | |
| "attention_logit_cap": 50.0, | |
| "attention_invalid_logits_value": -1000000000.0, | |
| "use_clipped_linears": true, | |
| "rms_norm_eps": 1e-06, | |
| "gradient_clipping": 10000000000.0, | |
| "output_proj_dims": 1536, | |
| "initializer_range": 0.02, | |
| "_name_or_path": "", | |
| "model_type": "gemma4_audio", | |
| "output_attentions": false | |
| }, | |
| "boi_token_id": 255999, | |
| "eoi_token_id": 258882, | |
| "image_token_id": 258880, | |
| "video_token_id": 258884, | |
| "boa_token_id": 256000, | |
| "eoa_token_index": 258883, | |
| "audio_token_id": 258881, | |
| "initializer_range": 0.02, | |
| "_name_or_path": "google/embeddinggemma-2", | |
| "model_type": "embedding_gemma2", | |
| "vision_soft_tokens_per_image": 280, | |
| "output_attentions": false | |
| }, | |
| "special_tokens": { | |
| "bos_token": "<bos>", | |
| "eos_token": "<eos>", | |
| "pad_token": "<pad>", | |
| "unk_token": "<unk>" | |
| } | |
| } |