harvardnlp / encoder-agnostic-adaptation

Encoder-Agnostic Adaptation for Conditional Language Generation
https://arxiv.org/abs/1908.06938
MIT License
79 stars 13 forks source link

switch from uint8 to bool #5

Open pltrdy opened 4 years ago

pltrdy commented 4 years ago

Switching variable type from torch.uint8 to torch.bool makes it pytorch 1.2 compatible.