fastBPE icon indicating copy to clipboard operation
fastBPE copied to clipboard

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

Open S-GeGe opened this issue 4 years ago • 1 comments

  • ** 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

S-GeGe avatar Jan 12 '22 02:01 S-GeGe

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

ghost avatar Mar 12 '22 09:03 ghost