eole-nlp / eole

Open language modeling toolkit based on PyTorch
https://eole-nlp.github.io/eole
MIT License
24 stars 6 forks source link

Fix prefix and suffix transforms - avoid adding empty suffix or prefix #57

Closed sersh88 closed 1 week ago

sersh88 commented 2 weeks ago

Fixes https://github.com/eole-nlp/eole/issues/56

vince62s commented 2 weeks ago

you need to run black . to fix the tests