Matryoshka
#264
Replies: 1 comment 5 replies
-
Hello! We actually support this already, you can pass in from model2vec import StaticModel
s = StaticModel.from_pretrained("minishlab/potion-base-8m", dimensionality=32) Any distilled model that was distilled with PCA will support dimensionality reduction like this out of the box. Let me know if this helps. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Are there any plans on supporting Matryoshka embeddings?
Beta Was this translation helpful? Give feedback.
All reactions