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 custom fine-tuned weights with embed.text #68

Open
dipamgoswami opened this issue Oct 28, 2024 · 0 comments
Open

Using custom fine-tuned weights with embed.text #68

dipamgoswami opened this issue Oct 28, 2024 · 0 comments

Comments

@dipamgoswami
Copy link

Hi,

I see that the nomic embedding model can be selected based on the model_name as follows:

from nomic import embed

output = embed.text(
    texts=['Nomic Embedding API', '#keepAIOpen'],
    model='nomic-embed-text-v1',
    task_type='search_document',
)

print(output)

This is using the 'nomic-embed-text-v1' weights. I want to use my custom fine-tuned weights trained using the contrastive fine-tuning method from this repository.

Is there a simple way to do that by specifying the path to the weights file?

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

1 participant