Skip to content

Promptzl v1.0.0

Latest

Choose a tag to compare

@LazerLambda LazerLambda released this 26 Dec 17:54
· 9 commits to main since this release

Stable version of promptzl. Turn LLMs into classifers!

Breaking Changes

  • Class promptzl.prompt.FVP renamed to promptzl.prompt.FFnVbzPair
  • Argument tok_args renamed to tokenizer_args in promptzl.modules.CausalLM4Classification and promptzl.modules.MaskedLM4Classification

Bugfixes

  • Throw error if empty labels in verbalizer are passed.
  • Add error if prompt is too long upon initialization