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

codes_path and vocab_path should be changed to what parameters should be given #53

Open
S-GeGe opened this issue Jan 12, 2022 · 1 comment

Comments

@S-GeGe
Copy link

S-GeGe commented Jan 12, 2022

  • ** test these codes :**
    import fastBPE bpe = fastBPE.fastBPE(codes_path, vocab_path) bpe.apply(["Roasted barramundi fish", "Centrally managed over a client-server architecture"])
  • ** get the error:**
    Traceback (most recent call last): File "test.py", line 3, in <module> bpe = fastBPE.fastBPE(codes_path, vocab_path) NameError: name 'codes_path' is not defined

My environment is Linux @myleott

@ghost
Copy link

ghost commented Mar 12, 2022

only codes_path is needed.
bpe = fastBPE.fastBPE(codes_path)

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