Kept here for backward compatibility. Now renamed to `model_max_length` to avoid ambiguity.
(self)
| 1047 | |
| 1048 | @property |
| 1049 | def max_len(self) -> int: |
| 1050 | """ Kept here for backward compatibility. |
| 1051 | Now renamed to `model_max_length` to avoid ambiguity. |
| 1052 | """ |
| 1053 | return self.model_max_length |
| 1054 | |
| 1055 | @property |
| 1056 | def max_len_single_sentence(self) -> int: |
nothing calls this directly
no outgoing calls
no test coverage detected