diff --git a/torchtext/models/roberta/bundler.py b/torchtext/models/roberta/bundler.py index fcfb82dbd6..034a7f8646 100644 --- a/torchtext/models/roberta/bundler.py +++ b/torchtext/models/roberta/bundler.py @@ -168,6 +168,15 @@ def encoderConf(self) -> RobertaEncoderConf: ''' XLM-R Encoder with Base configuration + The XLM-RoBERTa model was proposed in `Unsupervised Cross-lingual Representation Learning + at Scale `. It is a large multi-lingual language model, + trained on 2.5TB of filtered CommonCrawl data and based on the RoBERTa model architecture. + + Originally published by the authors of XLM-RoBERTa under MIT License + and redistributed with the same license. + [`License `__, + `Source `__] + Please refer to :func:`torchtext.models.RobertaModelBundle` for the usage. ''' ) @@ -189,6 +198,15 @@ def encoderConf(self) -> RobertaEncoderConf: ''' XLM-R Encoder with Large configuration + The XLM-RoBERTa model was proposed in `Unsupervised Cross-lingual Representation Learning + at Scale `. It is a large multi-lingual language model, + trained on 2.5TB of filtered CommonCrawl data and based on the RoBERTa model architecture. + + Originally published by the authors of XLM-RoBERTa under MIT License + and redistributed with the same license. + [`License `__, + `Source `__] + Please refer to :func:`torchtext.models.RobertaModelBundle` for the usage. ''' )