def test_no_eos(self):
    default_vocab = test_utils.sentencepiece_vocab()
    features = {'inputs': dataset_providers.Feature(add_eos=True, vocabulary=default_vocab), 'targets': dataset_providers.Feature(add_eos=False, vocabulary=default_vocab)}
    self.add_task('task_no_eos', self.function_source, output_features=features)
    self.verify_task_matches_fake_datasets('task_no_eos', use_cached=False)
def test_no_eos(self):
    default_vocab = test_utils.sentencepiece_vocab()
    features = {'inputs': dataset_providers.Feature(add_eos=True, vocabulary=default_vocab), 'targets': dataset_providers.Feature(add_eos=False, vocabulary=default_vocab)}
    self.add_task('task_no_eos', self.function_source, output_features=features)
    self.verify_task_matches_fake_datasets('task_no_eos', use_cached=False)