| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2019-07-17 | 2.3 kB | |
| Texar v0.2.1.tar.gz | 2019-07-17 | 532.4 kB | |
| Texar v0.2.1.zip | 2019-07-17 | 770.9 kB | |
| Totals: 3 Items | 1.3 MB | 0 | |
New features
- 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)
Feature improvements
- 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)
Fixes
- 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 (github.com) when
translation_lengthis 0. (#176) - Fix
StochasticConnectorandReparameterizedStochasticConnectorwhentransform=False. (#179)