Skip to content

v0.7.2

Latest

Choose a tag to compare

@Aethor Aethor released this 12 Sep 10:44
897138c

Pipeline

  • Pipeline users can now manually configure step parameters passed at pipeline_init time with the new step_additional_params parameter of renard.pipeline.core.Pipeline.__init__.

NER

  • renard.ner_utils.train_ner_model now allows to specify the train and valid split of the input HuggingFace dataset.
  • renard.ner_utils.train_ner_model now accepts a custom trainer class.
  • Allows to specifiy the list of all possible labels when loading a .conll file with renard.ner_utils.hfdataset_from_conll2002.
  • renard.ner_utilsload_conll2002_bio is now compatible with Novelties-style metadata.
  • Fix a crash in renard.ner_utils.train_ner_model.
  • Fix a crash when using renard.pipeline.ner.retrieval retrievers at NER inference time.

Dependencies

  • Update dependencies:
    • Bump to torch>=2.8.0, transformers>=5.0.0, tibert>=0.5.3, protobuf>=6.33.5.
    • Bump nltk>=3.10.3 to address several existing vulnerabilities.

Documentation

  • Add the renard.pipeline.ner.retrieval module to the reference documentation.

Others

  • The HuggingFace dataset prefix has been changed to HF from the incorrect HG.