Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embedding size #1679

Open
ucas010 opened this issue Aug 30, 2022 · 2 comments
Open

embedding size #1679

ucas010 opened this issue Aug 30, 2022 · 2 comments

Comments

@ucas010
Copy link

ucas010 commented Aug 30, 2022

hi,dear
I want a little small embedding size of the sentence embedding , but not the default 512, so how to set the para?
linkNO way ?

>>> from sentence_transformers import SentenceTransformer,util
>>> model=SentenceTransformer("distiluse-base-multilingual-cased-v1")
>>> model.encode("我在北京爬长城很累")

could you pls help me ?
thx

@on1you
Copy link

on1you commented Aug 31, 2022

here

@ucas010
Copy link
Author

ucas010 commented Sep 13, 2022

thx ,
but the datasets could not be down.
any other method ?
@on1you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants