MCPcopy Create free account
hub / github.com/huggingface/transformers / test_xlnet_qa

Method test_xlnet_qa

tests/test_modeling_xlnet.py:503–506  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

501 self.model_tester.create_and_check_xlnet_token_classif(*config_and_inputs)
502
503 def test_xlnet_qa(self):
504 self.model_tester.set_seed()
505 config_and_inputs = self.model_tester.prepare_config_and_inputs()
506 self.model_tester.create_and_check_xlnet_qa(*config_and_inputs)
507
508 @slow
509 def test_model_from_pretrained(self):

Callers

nothing calls this directly

Calls 3

set_seedMethod · 0.45

Tested by

no test coverage detected