Skip to content

Skipbigram (`sbg`) is now the default scorer

Latest
Compare
Choose a tag to compare
@eubinecto eubinecto released this 05 Apr 07:43
· 5 commits to main since this release

What has been changed?

  • gpt2 is now an optional scorer - transformers and torch are not required dependencies. If you want to use this scorer, install the optional dependencies with pip3 install "politely[gpt2]".
  • Instead, a new, light-weight, still as accurate lm scorer is added: Styler(model="sbg"). This is now the default scorer for Styler. ( Implementation for this was super simple, much thanks to @bab2min 's hard work put into the kiwipiepy library. )