Kashgari Versions Save

Kashgari is a production-level NLP Transfer learning framework built on top of tf.keras for text-labeling and text-classification, includes Word2Vec, BERT, and GPT2 Language Embedding.

v0.5.4

4 years ago
  • ✨ Add shuffle parameter to fit function (#249 )
  • ✨ Improved type hinting for the loaded model (#248)
  • 🐛 Fix loading models with CRF layers (#244, #228)
  • 🐛 Fix the configuration changes during embedding save/load (#224)
  • 🐛 Fix stacked embedding save/load (#224)
  • 🐛 Fix evaluate function where the list has int instead of str (#222)
  • 💥 Renaming model.pre_processor to model.processor
  • 🚨 Removing TensorFlow and numpy warnings
  • 📝 Add docs how to specify which CPU or GPU
  • 📝 Add docs how to compile model with custom optimizer

v0.5.3

4 years ago
  • 🐛 Fixing CuDNN Error (#198)

v0.5.2

4 years ago
  • 💥 Add CuDNN Cell config, disable auto CuDNN cell. (#182, #198)

v0.5.1

4 years ago
  • 📝 Rewrite documents with mkdocs
  • 📝 Add Chinese documents
  • ✨ Add predict_top_k_class for classification model to get predict probabilities (#146)
  • 🚸 Add label2idx, token2idx properties to Embeddings and Models
  • 🚸 Add tokenizer property for BERT Embedding. (#136)
  • 🚸 Add predict_kwargs for models predict() function
  • ⚡️ Change multi-label classification's default loss function to binary_crossentropy (#151)

v0.2.6

4 years ago
  • 📝 Add tf.keras version info
  • 🐛 Fixing lstm issue in labeling model (#125)

Code Compare

v0.5.0

4 years ago

🎉🎉 tf.keras version 🎉🎉

  • 🎉 Rewrite Kashgari using tf.keras. Discussion: #77
  • 🎉 Rewrite Documents.
  • ✨ Add TPU support.
  • ✨ Add TF-Serving support.
  • ✨ Add advance customization support, like multi-input model.
  • 🐎 Performance optimization.

v0.2.4

4 years ago
  • Add BERT output feature layer finetune support. Discussion: #103
  • Add BERT output feature layer number selection, default 4 according to BERT paper.
  • Fix BERT embedding token index offset issue #104.

v0.2.1

5 years ago
  • fix missing sequence_labeling_tokenize_add_bos_eos consig

v0.2.0

5 years ago
  • multi-label classification for all classification models
  • support cuDNN cell for sequence labeling
  • add option for output BOS and EOS in sequence labeling result, fix #31

v0.1.9

5 years ago
  • add AVCNNModel, KMaxCNNModel, RCNNModel, AVRNNModel, DropoutBGRUModel, DropoutAVRNNModel model to classification task.
  • fix several small bugs