Views
No views yet
| Model | Parameters | Base Model | Hugging Face Link |
|---|---|---|---|
| EvoEmbedding-0.8B | 0.8B | Qwen3.5-0.8B | MiG-NJU/EvoEmbedding-0.8B |
| EvoEmbedding-2B | 2B | Qwen3.5-2B | MiG-NJU/EvoEmbedding-2B |
| EvoEmbedding-4B | 4B | Qwen3-4B | MiG-NJU/EvoEmbedding-4B |
model client implementation.1from model.client import EvoEmbeddingClient
2
3client = EvoEmbeddingClient()
4
5messages = [
6 {"role": "user", "content": "I visited Paris in April."},
7 {"role": "assistant", "content": "Noted."},
8 {"role": "user", "content": "I bought a new laptop yesterday."},
9 {"role": "assistant", "content": "Got it."},
10 {"role": "user", "content": "Where did I travel in spring?"},
11]
12
13embeddings = client.encode_messages(messages)messages input preserves the original dialogue order. encode_messages returns normalized embeddings for the history turns and the final query.1candidates = [
2 "I visited Paris in April.",
3 "I bought a new laptop yesterday.",
4 "The meeting was moved to Friday.",
5]
6query = "Where did I travel in spring?"
7
8ranked_candidates, ranked_indices = client.rerank(
9 query,
10 candidates,
11 top_k=1,
12 return_indices=True,
13)1@article{nie2026evoembedding,
2 title={EvoEmbedding: Evolvable Representations for Long-Context Retrieval and Agentic Memory},
3 author={Nie, Chang and Fu, Chaoyou and Feng, Junlan and Shan, Caifeng},
4 journal={arXiv preprint arXiv:2606.21649},
5 year={2026}
6}