"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "d3adb985d1fb97f68acc2e4b8ae54f2bfca05fda"
Xlnet outputs (#5881)
Slightly breaking change, changes functionality for `use_cache` in XLNet: if use_cache is True and mem_len is 0 or None (which is the case in the base model config), the model behaves like GPT-2 and returns mems to be used as past in generation. At training time `use_cache` is overriden and always True.
Showing
Please register or sign in to comment