v0.2.4 (2019-11-18)
- Support only Python 3.6 and 3.7. Drop support of older Python versions. (#211)
- Add Tokenizers including tokenizers for pretrained models (
BERTTokenizer,XLNetTokenizer, etc). (#225) - Add GPT2 modules (
GPT2Encoder,GPT2Decoder,GPT2Classifier, etc). (#228)
- Update embedder modules
dropout_strategy=='item'to support TensorFlow v1.15. (#231) - Update
.gitignoreand add.gitignorefiles to all examples. (#233) - Polish code style according to flake8. (#234)
- Add GPT2 XL pretrained checkpoint. (#243)
- Fix
examples/transformer/scripts/wmt14_en_de.shto create output dir automatically. (#238) - Fix variable scope issue in
texar.tf.modules.decoders.dynamic_decode. (#246)
v0.2.3 (2019-09-22)
- Texar Tensorflow now imported by
import texar.tf as tx. (#197) - Add pretrained modules [docs], e.g., BERT, XLNet, etc. (#206)
- Add new tensor shape related utils, e.g., reduce_with_weights, varlength_*. (#201)
- Fix docstring of connector
_mlp_transform. (#192) - Fix
dynamic_decodeout-of-range error when max-decoding-length is reached. (#208)
v0.2.2 (2019-08-05)
- Use lazy import to be compatible with texar-pytorch. (#183)
v0.2.1 (2019-07-28)
- Add support for GPT-2 345M model in examples/gpt-2. (#156)
- Add BERT modules, including
texar.modules.BERTEncoder(doc) andtexar.modules.BERTClassifier(doc). (#167)
- Refactor
TransformerEncoderandTransformerDecoderto separate position embeddings from the modules. (#126) - Allow passing a Tensor to
output_layerof decoders' constructors -- used for weight tie b/w the output layer and input embedding matrix. (#126) TransformerDecoderconstructor interface made exact the same withRNN decodersconstructor interfaces. (#126)- Refactor decoder
Helpers to allow two-argumentembedding_fn(supporting for position embedding). (#126) - Refactor
SinusoidsPositionEmbedderto enable infinite large or negative position indexes. (#176)
- Fix
texar.losses.reduce_batch_timewhensequencehas dtype other thantf.float32. (#143) - Fix
texar.losses.reduce_dimensionswhenaverage_axesorsum_axesisint. (#141) - Fix GPT-2 tokenization loading path. (#165)
- Fix examples/vae_text EOS bug. (#168)
- Fix transformer bleu_tool.py when
translation_lengthis 0. (#176) - Fix
StochasticConnectorandReparameterizedStochasticConnectorwhentransform=False. (#179)
v0.2.0 (2019-04-09)
TFRecordData: A new data module for reading and processing TFRecord data, with support for, e.g., image data, feature data, etc. (#107)GPT-2: OpenAI pretrained language model. (#91, example)TopKSampleEmbeddingHelperto perform top_k random sample decoding. (baa09ff)
- Refactor
BERTexample usingTFRecordDatadata module. TransformerDecodersupportshelperarguments to specify decoding strategy. (#76)
- Fix variable collection bug in
examples/seqgan. (#110) - Fix error when
beam_search_decodewithoutput_layer=tf.identity(#77) - Fix readthedocs compilation error (#85)