KoichiYasuoka
commited on
Commit
·
2fe2dbf
1
Parent(s):
da2b927
bug fix
Browse files- modeling_modernbert.py +0 -3
modeling_modernbert.py
CHANGED
@@ -777,9 +777,6 @@ MODERNBERT_INPUTS_DOCSTRING = r"""
|
|
777 |
Indices can be obtained using [`AutoTokenizer`]. See [`PreTrainedTokenizer.encode`] and
|
778 |
[`PreTrainedTokenizer.__call__`] for details.
|
779 |
|
780 |
-
If `past_key_values` is used, optionally only the last `input_ids` have to be input (see
|
781 |
-
`past_key_values`).
|
782 |
-
|
783 |
If you want to change padding behavior, you should read [`modeling_opt._prepare_decoder_attention_mask`]
|
784 |
and modify to your needs. See diagram 1 in [the paper](https://arxiv.org/abs/1910.13461) for more
|
785 |
information on the default strategy.
|
|
|
777 |
Indices can be obtained using [`AutoTokenizer`]. See [`PreTrainedTokenizer.encode`] and
|
778 |
[`PreTrainedTokenizer.__call__`] for details.
|
779 |
|
|
|
|
|
|
|
780 |
If you want to change padding behavior, you should read [`modeling_opt._prepare_decoder_attention_mask`]
|
781 |
and modify to your needs. See diagram 1 in [the paper](https://arxiv.org/abs/1910.13461) for more
|
782 |
information on the default strategy.
|