29d45e889b7695333d45171fc3b7e70d4629d067,official/nlp/tasks/question_answering_test.py,QuestionAnsweringTaskTest,setUp,#QuestionAnsweringTaskTest#,33

Before Change



  def setUp(self):
    super(QuestionAnsweringTaskTest, self).setUp()
    self._encoder_config = encoders.TransformerEncoderConfig(
        vocab_size=30522, num_layers=1)
    self._train_data_config = question_answering_dataloader.QADataConfig(
        input_path="dummy",
        seq_length=128,
        global_batch_size=1)

After Change



  def setUp(self):
    super(QuestionAnsweringTaskTest, self).setUp()
    self._encoder_config = encoders.EncoderConfig(
        bert=encoders.BertEncoderConfig(vocab_size=30522, num_layers=1))
    self._train_data_config = question_answering_dataloader.QADataConfig(
        input_path="dummy", seq_length=128, global_batch_size=1)

    val_data = {
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: tensorflow/models
Commit Name: 29d45e889b7695333d45171fc3b7e70d4629d067
Time: 2020-08-05
Author: hongkuny@google.com
File Name: official/nlp/tasks/question_answering_test.py
Class Name: QuestionAnsweringTaskTest
Method Name: setUp


Project Name: tensorflow/models
Commit Name: 48e49875e3c13b140f67c39da67645bd1c1c392d
Time: 2020-08-05
Author: hongkuny@google.com
File Name: official/nlp/tasks/question_answering_test.py
Class Name: QuestionAnsweringTaskTest
Method Name: setUp


Project Name: tensorflow/models
Commit Name: 29d45e889b7695333d45171fc3b7e70d4629d067
Time: 2020-08-05
Author: hongkuny@google.com
File Name: official/nlp/tasks/tagging_test.py
Class Name: TaggingTest
Method Name: setUp


Project Name: tensorflow/models
Commit Name: 48e49875e3c13b140f67c39da67645bd1c1c392d
Time: 2020-08-05
Author: hongkuny@google.com
File Name: official/nlp/tasks/tagging_test.py
Class Name: TaggingTest
Method Name: setUp