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

refactor: modified the sentence encoder to tokenize a text before encoding it #248

Merged

Conversation

CaptainVee
Copy link
Contributor

This commit works on refactoring the SentenceEncoder class to be able to tokenize a given text and then encode it at the same time

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Sep 8, 2023
laser_encoders/download_models.py Outdated Show resolved Hide resolved
laser_encoders/download_models.py Outdated Show resolved Hide resolved
laser_encoders/models.py Outdated Show resolved Hide resolved
laser_encoders/test_laser_tokenizer.py Outdated Show resolved Hide resolved
laser_encoders/models.py Show resolved Hide resolved
laser_encoders/models.py Show resolved Hide resolved
@heffernankevin heffernankevin merged commit 51b4293 into facebookresearch:MLH-dev Sep 22, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants