pytorch / text

Models, data loaders and abstractions for language processing, powered by PyTorch
https://pytorch.org/text
BSD 3-Clause "New" or "Revised" License
3.5k stars 815 forks source link

Add XLMR and RoBERTa transforms as factory functions #2102

Closed joecummings closed 1 year ago

joecummings commented 1 year ago

Closes #2002

Nayef211 commented 1 year ago

See https://github.com/pytorch/text/issues/2002#issuecomment-1460771804