Skip to content

Releases: amaiya/ktrain

v0.33.4

22 Mar 17:39
Compare
Choose a tag to compare

0.33.4 (2023-03-22)

new:

  • N/A

changed

  • Added verbose parameter to predict* methods in all Predictor classes

fixed:

  • N/A

v0.33.3

17 Mar 14:39
Compare
Choose a tag to compare

0.33.3 (2023-03-17)

new:

  • N/A

changed

  • Added exclude_unigrams argument to text.kw module and support unigram extraction when noun_phrases is selected

fixed:

  • explicitly set num_beams and early_stopping for generate in ktrain.text.translation.core to prevent errors in transformers>=4.26.0

v0.33.2

06 Feb 20:15
Compare
Choose a tag to compare

0.33.2 (2023-02-06)

new:

  • N/A

changed

  • N/A

fixed:

  • fixed typo in translation module (#479)
  • removed superfluous warning when inspecting transformer model signature

v0.33.1

03 Feb 19:31
Compare
Choose a tag to compare

0.33.1 (2023-02-03)

new:

  • N/A

changed

  • N/A

fixed:

  • Resolved bug that causes problems when loading PyTorch models (#478)

v0.33.0

14 Jan 22:46
Compare
Choose a tag to compare

0.33.0 (2023-01-14)

new:

  • Support for the latest version of transformers.

changed

  • Removed pin to transformers==4.17

fixed:

  • Changed numpy.float and numpy.int to numpy.float64 and numpy.int_ respectively, in ktrain.utils (#474)
  • Removed pandas deprecation warnings from ktrain.tabular.prepreprocessor (#475)
  • Ensure use_token_type_ids always exists in TransformerPreprocessor objects to ensure backwards compatibility
  • Removed reference to networkx.info, as it was removed in networkx>=3

v0.32.3

13 Dec 00:10
Compare
Choose a tag to compare

0.32.3 (2022-12-12)

new:

  • N/A

changed

  • N/A

fixed:

  • Changed NMF to accept optional parameters nmf_alpha_W and nmf_alpha_H based on changes in scikit-learn==1.2.0.
  • Change ktrain.utils to check for TensorFlow before doing a version check, so that ktrain can be imported without TensorFlow being installed.

v0.32.2

12 Dec 19:48
Compare
Choose a tag to compare

0.32.2 (2022-12-12)

new:

  • N/A

changed

  • N/A

fixed:

  • Changed call to NMF to use alpha_W instead of alpha, as alpha parameter was removed in scikit-learn==1.2. (#470)

v0.32.1

12 Dec 01:45
Compare
Choose a tag to compare

0.32.1 (2022-12-11)

new:

  • N/A

changed

  • N/A

fixed:

  • In TensorFlow 2.11, the tf.optimizers.Optimizer base class points the new keras optimizer that seems to have problems. Users should use legacy optimizers in tf.keras.optimizers.legacy with ktrain (which evidently will never be deleted). This means that, in TF 2.11, supplying a string representation of an optimizer like "adam" to model.compile uses the new optimizer instead of the legacy optimizers. In these cases, ktrain will issue a warning and automatically recompile the model with the default tf.keras.optimizers.legacy.Adam optimizer.

v0.32.0

09 Dec 03:04
Compare
Choose a tag to compare

0.32.0 (2022-12-08)

new:

  • Support for TensorFlow 2.11. For now, as recommended in the TF release notes, ktrain has been changed to use the legacy optimizers in tf.keras.optimizers.legacy. This means that, when compiling Keras models, you should supply tf.keras.optimizers.legacy.Adam() instead of the string "adam".
  • Support for Python 3.10. Changed references from CountVectorizer.get_field_names to CountVectorizer.get_field_names_out. Updated supported versions in setup.py.

changed

  • N/A

fixed:

  • fixed error in docs

v0.31.10

01 Oct 15:27
Compare
Choose a tag to compare

0.31.10 (2022-10-01)

new:

  • N/A

changed

  • N/A

fixed:

  • Adjusted tika imports due to issue with /tmp/tika.log in multi-user scenario