{ "architectures": [ "Hyper3EmbedModel" ], "auto_map": { "AutoConfig": "modeling_hyper3_embed.Hyper3EmbedConfig", "AutoModel": "modeling_hyper3_embed.Hyper3EmbedModel" }, "model_type": "hyper3_embed", "backbone_subfolder": "backbone", "embedding_dim": 1536, "max_length": 4096, "transformers_version": "5.17.0", "embedding_config": { "base_model_id": "google/gemma-4-E2B-it", "hidden_size": 1536, "pooled_size": 1536, "projection_dim": 1536, "projection_enabled": false, "pooling": "latent_cross_attention_mean", "text_transform": "none", "attention_mode": "bidirectional", "append_eos": true, "latent_count": 128, "latent_num_heads": 8, "latent_head_dim": 128, "latent_ffn_mult": 4, "latent_output_normalize": true, "pooler_compute_dtype": "fp32", "training_mode": "full", "multivec_dim": 128, "multivec_token_mask": "content" }, "prompt_config": { "protocol": "uniform4096-v1", "max_length": 4096, "task_max_lengths": {}, "type_prompts": { "retrieval": { "query": "Instruct: Given a search query, retrieve relevant passages.\nQuery: ", "positive": "" }, "bitext": { "query": "Instruct: Retrieve translation-equivalent text.\nQuery: ", "positive": "Instruct: Retrieve translation-equivalent text.\nQuery: " }, "clustering": { "query": "Instruct: Group texts by topic.\nQuery: ", "positive": "Instruct: Group texts by topic.\nQuery: " }, "sts": { "query": "Instruct: Retrieve semantically similar text.\nQuery: ", "positive": "Instruct: Retrieve semantically similar text.\nQuery: " }, "classification": { "query": "Instruct: Classify the text.\nQuery: ", "positive": "" }, "pair_classification": { "query": "Instruct: Determine whether texts have the same meaning.\nQuery: ", "positive": "Instruct: Determine whether texts have the same meaning.\nQuery: " } }, "task_instructions": { "AmazonCounterfactualClassification": "Classify a given Amazon customer review text as either counterfactual or not counterfactual.", "AmazonReviewsClassification": "Classify the given Amazon review into its appropriate rating category.", "BelebeleRetrieval": "Given a question, retrieve a passage in any language that answers the question.", "BlurbsClusteringP2P": "Classify the given book title and blurb into its genre.", "BlurbsClusteringS2S": "Classify the given book title into its genre.", "FalseFriendsGermanEnglish": "Retrieve translations of the following text.", "FloresBitextMining": "Retrieve translation-equivalent text.", "GerDaLIR": "Given a legal query or passage, retrieve the court decision that addresses it.", "GermanSTSBenchmark": "Retrieve semantically similar text.", "MLQARetrieval": "Given a question, retrieve a passage in any language that answers the question.", "MTOPDomainClassification": "Classify the intent domain of the given utterance in task-oriented conversation.", "MTOPIntentClassification": "Classify the intent of the given utterance in task-oriented conversation.", "MassiveIntentClassification": "Classify the intent of the given utterance in task-oriented conversation.", "MassiveScenarioClassification": "Classify the scenario of the given utterance in task-oriented conversation.", "MultiEURLEXMultilabelClassification": "Classify the given EU legal act into its EuroVoc subject domains.", "MultiHateClassification": "Classify the given text as either hateful or not hateful.", "NTREXBitextMining": "Retrieve translation-equivalent text.", "RTE3": "Given a premise, retrieve a hypothesis that is entailed by the premise.", "STS17": "Retrieve semantically similar text in English or German.", "STS22.v2": "Retrieve semantically similar text.", "SwissJudgementClassification": "Classify the given facts of a Swiss court case by whether the appeal was approved or dismissed.", "TenKGnadClusteringP2P": "Classify the topic of the given text.", "TenKGnadClusteringS2S": "Classify the topic of the given text.", "XMarket": "Given a product name search, retrieve the corresponding product description.", "XNLI": "Given a premise, retrieve a hypothesis that is entailed by the premise." }, "instruction_template": "Instruct: {instruction}\nQuery: " } }