noooop0000 commited on
Commit
2fce348
·
verified ·
1 Parent(s): 5d1bbbd

Use is_matryoshka to denote whether a model is compatible with Matryoshka Representation Learning (MRL).

Browse files

I come from the vllm community, and recently vllm has added support for Matryoshka Representation Learning (MRL).

Not all embeddings models support MRL. Changing the output dimension for models that do not support MRL will lead to poor results.

We hope that the open source community will adopt the terms “is_matryoshka ” or “matryoshka_dimensions ” to denote whether a model is compatible with Matryoshka Representation Learning (MRL).

Files changed (1) hide show
  1. config.json +1 -0
config.json CHANGED
@@ -31,5 +31,6 @@
31
  "type_vocab_size": 1,
32
  "unpad_inputs": "true",
33
  "use_memory_efficient_attention": "true",
 
34
  "vocab_size": 250048
35
  }
 
31
  "type_vocab_size": 1,
32
  "unpad_inputs": "true",
33
  "use_memory_efficient_attention": "true",
34
+ "is_matryoshka": true,
35
  "vocab_size": 250048
36
  }