Docs: change some input_ids doc reference from BertTokenizer to AutoTokenizer (#24730)
This commit is contained in:
@@ -851,7 +851,7 @@ class TF{{cookiecutter.camelcase_modelname}}PreTrainedModel(TFPreTrainedModel):
|
||||
input_ids (`np.ndarray`, `tf.Tensor`, `List[tf.Tensor]`, `Dict[str, tf.Tensor]` or `Dict[str, np.ndarray]` and each example must have the shape `({0})`):
|
||||
Indices of input sequence tokens in the vocabulary.
|
||||
|
||||
Indices can be obtained using [`BertTokenizer`]. See
|
||||
Indices can be obtained using [`AutoTokenizer`]. See
|
||||
[`PreTrainedTokenizer.__call__`] and [`PreTrainedTokenizer.encode`] for
|
||||
details.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user