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

Using my own embedding model #361

Open
mehrdad-dev opened this issue Oct 15, 2024 · 2 comments
Open

Using my own embedding model #361

mehrdad-dev opened this issue Oct 15, 2024 · 2 comments

Comments

@mehrdad-dev
Copy link

Can anyone provide an example of how to use our custom-trained embedding model with Top2Vec? Thanks.

@mirorac
Copy link

mirorac commented Nov 25, 2024

haven't tried this but embedding_model argument of Top2Vec class accepts a callable

@hedgeho
Copy link

hedgeho commented Feb 20, 2025

I would also like a possibility to use other embedding models. It is very unfortunate that contextual_top2vec flag restricts embedding models to only all-MiniLM-L6-v2 and all-mpnet-base-v2.

My corpus consists of documents in several non-English languages, and I would like to use a multilingual embedding model.

To devs: please enable a way to pass a callable or a huggingface url, or a list of pre-embedded docs 🙏

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

3 participants