... architectures (BERT, GPT-2, RoBERTa, XLM, DistilBert, XLNet…) for Natural Language Understanding (NLU) and Natural
... Language Generation (NLG) with over 32+ pretrained models in 100+ languages and deep interoperability between
... TensorFlow 2.0 and PyTorch.
... """
questions = [
...     "How many pretrained models are available in 🤗 Transformers?",
...     "What does 🤗 Transformers provide?",
...     "🤗 Transformers provides interoperability between which frameworks?",
... ]
for question in questions:
...     inputs = tokenizer(question, text, add_special_tokens=True, return_tensors="tf")
...     input_ids = inputs["input_ids"].numpy()[0]
...     outputs = model(inputs)
...     answer_start_scores = outputs.start_logits
...     answer_end_scores = outputs.end_logits
...     # Get the most likely beginning of answer with the argmax of the score
