Sentence Similarity
sentence-transformers
Safetensors
qwen3
lean4
mathlib
retrieval
text-embeddings-inference
Instructions to use hmzprover/hpsearch-embed-4b-agent with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use hmzprover/hpsearch-embed-4b-agent with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("hmzprover/hpsearch-embed-4b-agent") 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
Download config.json from hmzprover/hpsearch-embed-4b-agent: direct link, hf CLI and curl.
- Browser
- Download file 1.53 kB
-
https://huggingface.co/hmzprover/hpsearch-embed-4b-agent/resolve/main/config.json
- Command line
-
hf download hf://hmzprover/hpsearch-embed-4b-agent/config.json
-
curl -L -o config.json https://huggingface.co/hmzprover/hpsearch-embed-4b-agent/resolve/main/config.json
1.53 kB
| { | |
| "architectures": [ | |
| "Qwen3Model" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 151643, | |
| "dtype": "bfloat16", | |
| "eos_token_id": 151645, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 2560, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 9728, | |
| "layer_types": [ | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention" | |
| ], | |
| "max_position_embeddings": 40960, | |
| "max_window_layers": 36, | |
| "model_type": "qwen3", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 36, | |
| "num_key_value_heads": 8, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": null, | |
| "rope_theta": 1000000, | |
| "sliding_window": null, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "4.56.1", | |
| "use_cache": true, | |
| "use_sliding_window": false, | |
| "vocab_size": 151665 | |
| } | |