Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Do not fail if no tokenization step#122

Open
bricksdont wants to merge 1 commit intofacebookresearch:mainfrom
bricksdont:embed-no-tok
Open

Do not fail if no tokenization step#122
bricksdont wants to merge 1 commit intofacebookresearch:mainfrom
bricksdont:embed-no-tok

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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