def METHOD_NAME(self, config_and_language_model, language_model_outputs):
    config, model = config_and_language_model
    bs, seq_len = model.dummy_inputs['input_ids'].shape
    head = ExtractiveQAHead(config)
    results = head(language_model_outputs)
    assert isinstance(results, ExtractiveQAModelOutput)
    assert results.loss is None
    self._assert_is_floating_point_tensor(results.start_logits)
    assert results.start_logits.shape == (bs, seq_len)
    self._assert_is_floating_point_tensor(results.end_logits)
    assert results.end_logits.shape == (bs, seq_len)
    self._assert_is_floating_point_tensor(results.target_type_logits)
    assert results.target_type_logits.shape == (bs, len(TargetType))