8f6a48d61df7f6b8aeb7c8a60bcb6d2f968df0a7,tests/test_dynamicbatching.py,TestDynamicBatching,test_ranking,#TestDynamicBatching#,57
Before Change
testing_utils.eval_model(model="repeat_label", task=_TASK)
def test_ranking(self):
self._test_correct_processed(
NUM_TEST, model="transformer/ranker", datatype="train"
)
def test_ranking_streaming(self):
self._test_correct_processed(
NUM_TEST, model="transformer/ranker", datatype="train:stream"
After Change
testing_utils.eval_model(model="repeat_label", task=_TASK)
def test_ranking(self):
testing_utils.train_model(
Opt(datatype="train", dynamic_batching="full", **_RANKER_OPTIONS)
)
def test_ranking_streaming(self):
testing_utils.train_model(
Opt(datatype="train:stream", dynamic_batching="full", **_RANKER_OPTIONS)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: facebookresearch/ParlAI
Commit Name: 8f6a48d61df7f6b8aeb7c8a60bcb6d2f968df0a7
Time: 2020-03-30
Author: roller@fb.com
File Name: tests/test_dynamicbatching.py
Class Name: TestDynamicBatching
Method Name: test_ranking
Project Name: facebookresearch/ParlAI
Commit Name: 8f6a48d61df7f6b8aeb7c8a60bcb6d2f968df0a7
Time: 2020-03-30
Author: roller@fb.com
File Name: tests/test_dynamicbatching.py
Class Name: TestBatchSort
Method Name: test_ranking
Project Name: facebookresearch/ParlAI
Commit Name: 8f6a48d61df7f6b8aeb7c8a60bcb6d2f968df0a7
Time: 2020-03-30
Author: roller@fb.com
File Name: tests/test_dynamicbatching.py
Class Name: TestDynamicBatching
Method Name: test_ranking_streaming
Project Name: facebookresearch/ParlAI
Commit Name: 8f6a48d61df7f6b8aeb7c8a60bcb6d2f968df0a7
Time: 2020-03-30
Author: roller@fb.com
File Name: tests/test_dynamicbatching.py
Class Name: TestBatchSort
Method Name: test_ranking_streaming