92849315a08ac89243ef2613e28ff56efecd21cb,python/mead/tasks.py,EncoderDecoderTask,initialize,#EncoderDecoderTask#Any#,528
Before Change
embeddings = read_config_file_or_json(embeddings, "embeddings")
embeddings_set = index_by_label(embeddings)
self.dataset = DataDownloader(self.dataset, self.data_download_cache, True).download()
print("[train file]: {}\n[valid file]: {}\n[test file]: {}\n[vocab file]: {}".format(self.dataset["train_file"], self.dataset["valid_file"], self.dataset["test_file"], self.dataset.get("vocab_file","None")))
vocab_file = self.dataset.get("vocab_file")
if vocab_file is not None:
vocab1, vocab2 = self.reader.build_vocabs([vocab_file], min_f=Task._get_min_f(self.config_params))
else:
After Change
embeddings = read_config_file_or_json(embeddings, "embeddings")
embeddings_set = index_by_label(embeddings)
self.dataset = DataDownloader(self.dataset, self.data_download_cache, True).download()
print_dataset_info(self.dataset)
vocab1, vocab2 = self.reader.build_vocabs(
[self.dataset["train_file"], self.dataset["valid_file"], self.dataset["test_file"]],
min_f=Task._get_min_f(self.config_params),
vocab_file=self.dataset.get("vocab_file")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 13
Instances
Project Name: dpressel/mead-baseline
Commit Name: 92849315a08ac89243ef2613e28ff56efecd21cb
Time: 2018-12-03
Author: blester125@users.noreply.github.com
File Name: python/mead/tasks.py
Class Name: EncoderDecoderTask
Method Name: initialize
Project Name: dpressel/mead-baseline
Commit Name: 92849315a08ac89243ef2613e28ff56efecd21cb
Time: 2018-12-03
Author: blester125@users.noreply.github.com
File Name: python/mead/tasks.py
Class Name: EncoderDecoderTask
Method Name: initialize
Project Name: dpressel/mead-baseline
Commit Name: 92849315a08ac89243ef2613e28ff56efecd21cb
Time: 2018-12-03
Author: blester125@users.noreply.github.com
File Name: python/mead/tasks.py
Class Name: TaggerTask
Method Name: initialize
Project Name: dpressel/mead-baseline
Commit Name: 92849315a08ac89243ef2613e28ff56efecd21cb
Time: 2018-12-03
Author: blester125@users.noreply.github.com
File Name: python/mead/tasks.py
Class Name: LanguageModelingTask
Method Name: initialize