Skip to content

Releases: amaiya/ktrain

v0.27.2

28 Jul 23:24
Compare
Choose a tag to compare

0.27.2 (2021-07-28)

New:

  • N/A

Changed

  • N/A

Fixed:

  • check for logits attribute when predicting using transformers
  • change raised Exception to warning for longer sequence lengths for transformers

v0.27.1

20 Jul 20:33
Compare
Choose a tag to compare

0.27.1 (2021-07-20)

New:

  • N/A

Changed

  • Added method parameter to tabular.causal_inference_model.

Fixed:

  • N/A

v0.27.0

20 Jul 19:32
Compare
Choose a tag to compare

0.27.0 (2021-07-20)

New:

  • Added tabular.causal_inference_model function for causal inference support.

Changed

  • N/A

Fixed:

  • N/A

v0.26.5

16 Jul 01:31
Compare
Choose a tag to compare

0.26.5 (2021-07-15)

New:

  • N/A

Changed

  • added query parameter to SimpleQA.ask so that an alternative query can be used to retrieve contexts from corpus
  • added chardet as dependency for stellargraph

Fixed:

  • fixed issue with TopicModel.build when threshold=None

v0.26.4

23 Jun 22:08
Compare
Choose a tag to compare

0.26.4 (2021-06-23)

New:

  • API documenation index

Changed

  • Added warning when a TensorFlow version of selected transformers model is not available and the PyTorch version is being downloaded and converted instead using from_pt=True.

Fixed:

  • Fixed utils.metrics_from_model to support alternative metrics
  • Check for AUC ktrain.utils "inspect" function

v0.26.3

19 May 21:33
Compare
Choose a tag to compare

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.

v0.26.2

26 Mar 17:15
Compare
Choose a tag to compare

0.26.2 (2021-03-26)

New:

  • N/A

Changed

  • NERPredictor.predict now optionally accepts lists of sentences to make sequence-labeling predictions in batches (as all other Predictor instances already do).

Fixed:

  • N/A

v0.26.1

10 Mar 22:17
Compare
Choose a tag to compare

0.26.1 (2021-03-11)

New:

  • N/A

Changed

  • expose errors from transformers in _load_pretrained
  • changed TextPreprocessor.check_trained to be a warning instead of Exception

Fixed:

  • N/A

v0.26.0

09 Mar 21:39
Compare
Choose a tag to compare

0.26.0 (2021-03-10)

New:

  • Support for transformers 4.0 and above.

Changed

  • added set_tokenizer to TransformerPreprocessor
  • show error message when original weights cannot be saved (for reset_weights method)

Fixed:

  • cast filename to string before concatenating with suffix in images_from_csv and images_from_df (addresses issue #330)
  • resolved import error for sklearn>=0.24.0, but eli5 still requires sklearn<0.24.0.

v0.25.4

28 Jan 01:04
Compare
Choose a tag to compare

0.25.4 (2021-01-26)

New:

  • N/A

Changed

  • N/A

Fixed:

  • fixed problem with LabelEncoder not properly being stored when texts_from_df is invoked
  • refrain from invoking max on empty sequence (#307)
  • corrected issue with return_proba=True in NER predictions (#316)