Skip to content

v0.26.3

Compare
Choose a tag to compare
@amaiya amaiya released this 19 May 21:33
· 773 commits to master since this release

0.26.3 (2021-05-19)

New:

  • N/A

Changed

  • shallownlp.ner.NER.predict processes lists of sentences in batches resulting in faster predictions
  • batch_size argument added to shallownlp.ner.NER.predict
  • added verbose parameter to ktrain.text.textutils.extract_copy to optionally see why each skipped document was skipped

Fixed:

  • Changed TextPredictor.save to save Hugging Face tokenizer files locally to ensure they can be easily reloaded when text.Transformer is supplied with local path.
  • For transformers models, the predictor.preproc.model_name variable is automatically updated to be new Predictor folder to avoid having users manually update model_name. Applies
    when a local path is supplied to text.Transformer and resultant Predictor is moved to new machine.