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

Fixing missing embedder name for pre-defined embeddings #51

Merged
merged 1 commit into from
Oct 7, 2022

Conversation

SebieF
Copy link
Collaborator

@SebieF SebieF commented Oct 7, 2022

Because embedder_name and embeddings_file are now mutually exclusive, this led to an error when pre-computed embeddings were provided, as the log directory for the embedder name could not be created (missing config["embedder_name"]). The functionality to create the log directory was moved from trainer to executer to check for a checkpoint for auto_resume.
It is now fixed by setting config["embedder_name"] to "custom_embeddings" by default.

@SebieF SebieF added the bug Something isn't working label Oct 7, 2022
@SebieF SebieF added this to the Version 1.0.0 milestone Oct 7, 2022
@SebieF SebieF requested a review from sacdallago October 7, 2022 20:25
@SebieF SebieF self-assigned this Oct 7, 2022
@SebieF SebieF merged commit 60aaa0e into main Oct 7, 2022
@SebieF SebieF deleted the fix-embedder-name branch October 7, 2022 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant