File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,8 @@ Implementation Notes
5555
5656- Bart doesn't use :obj: `token_type_ids ` for sequence classification. Use :class: `~transformers.BartTokenizer ` or
5757 :meth: `~transformers.BartTokenizer.encode ` to get the proper splitting.
58- - The forward pass of :class: `~transformers.BartModel ` will create decoder inputs (using the helper function
59- :func: `transformers.models.bart.modeling_bart._prepare_bart_decoder_inputs `) if they are not passed. This is
60- different than some other modeling APIs.
58+ - The forward pass of :class: `~transformers.BartModel ` will create the ``decoder_input_ids `` if they are not passed.
59+ This is different than some other modeling APIs. A typical use case of this feature is mask filling.
6160- Model predictions are intended to be identical to the original implementation when
6261 :obj: `force_bos_token_to_be_generated=True `. This only works, however, if the string you pass to
6362 :func: `fairseq.encode ` starts with a space.
You can’t perform that action at this time.
0 commit comments