[LukeTokenizer] has a task argument, which enables you to easily create an input to these
  head models by specifying task="entity_classification", task="entity_pair_classification", or
  task="entity_span_classification". Please refer to the example code of each head models.
Usage example:
thon

from transformers import LukeTokenizer, LukeModel, LukeForEntityPairClassification
model = LukeModel.from_pretrained("studio-ousia/luke-base")
tokenizer = LukeTokenizer.from_pretrained("studio-ousia/luke-base")