Releases: amaiya/ktrain
Releases · amaiya/ktrain
v0.33.4
v0.33.3
0.33.3 (2023-03-17)
new:
- N/A
changed
- Added
exclude_unigrams
argument totext.kw
module and support unigram extraction whennoun_phrases
is selected
fixed:
- explicitly set
num_beams
andearly_stopping
forgenerate
inktrain.text.translation.core
to prevent errors intransformers>=4.26.0
v0.33.2
v0.33.1
v0.33.0
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
andnumpy.int
tonumpy.float64
andnumpy.int_
respectively, inktrain.utils
(#474) - Removed
pandas
deprecation warnings fromktrain.tabular.prepreprocessor
(#475) - Ensure
use_token_type_ids
always exists inTransformerPreprocessor
objects to ensure backwards compatibility - Removed reference to
networkx.info
, as it was removed innetworkx>=3
v0.32.3
0.32.3 (2022-12-12)
new:
- N/A
changed
- N/A
fixed:
- Changed NMF to accept optional parameters
nmf_alpha_W
andnmf_alpha_H
based on changes inscikit-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
v0.32.1
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 intf.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"
tomodel.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 defaulttf.keras.optimizers.legacy.Adam
optimizer.
v0.32.0
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 supplytf.keras.optimizers.legacy.Adam()
instead of the string"adam"
. - Support for Python 3.10. Changed references from
CountVectorizer.get_field_names
toCountVectorizer.get_field_names_out
. Updated supported versions insetup.py
.
changed
- N/A
fixed:
- fixed error in docs