Open iprovalo opened 2 months ago
@pkufool I really like the idea of not having the protobuf dependencies in sentencepiece
!
@iprovalo Decodign string pieces into string is very simple, just cat them together, then replace "_" with spaces.
Thank you, @pkufool !!!
Is there a way to invoke this module similar to the google's sentencepiece Decode?
I have an original spm model which I converted to bpe in python:
but there is no API to accept string pieces like in the original API.
Thank you!