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

Do not fail if no tokenization step #122

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bricksdont
Copy link

Easy fix for fastBPE failing if no tokenization is performed. A long-term solution would be to switch to the Python bindings of fastBPE instead of calling via subprocess.

Fixes #121.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jan 27, 2020
@bricksdont bricksdont requested a review from hoschwenk February 3, 2020 09:02
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.

fastBPE step in embed.py fails if no tokenization
2 participants