650a9bb35b4b0796ee90c5ac0b498af54c32c2e3,core_models/intent_extraction/train_enc-dec_model.py,,,#,31

Before Change



if not os.path.exists(args.embedding_path):
    print("word embedding model file was not found")
    exit()
if args.restore is not None and not os.path.exists(args.restore):
    print("restore model file was not found")
    exit()

After Change



if args.embedding_path is not None and not os.path.exists(args.embedding_path):
    print("word embedding model file was not found")
    sys.exit(0)
if args.restore is not None and not os.path.exists(args.restore):
    print("restore model file was not found")
    sys.exit(0)
dataset = SNIPS(sentence_length=args.sentence_length,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: NervanaSystems/nlp-architect
Commit Name: 650a9bb35b4b0796ee90c5ac0b498af54c32c2e3
Time: 2018-05-08
Author: peteriz@users.noreply.github.com
File Name: core_models/intent_extraction/train_enc-dec_model.py
Class Name:
Method Name:


Project Name: NervanaSystems/nlp-architect
Commit Name: 8e098ed186cf0c62dd01e1a02fd63b7d00443d89
Time: 2018-05-09
Author: peter.izsak@intel.com
File Name: core_models/intent_extraction/train_joint_model.py
Class Name:
Method Name:


Project Name: dmlc/gluon-nlp
Commit Name: 5e11334f5c00fd2875ab75c670b2595c560c30fc
Time: 2019-11-15
Author: lausen@amazon.com
File Name: scripts/bert/pretraining_utils.py
Class Name:
Method Name: profile


Project Name: dmlc/gluon-nlp
Commit Name: 5e11334f5c00fd2875ab75c670b2595c560c30fc
Time: 2019-11-15
Author: lausen@amazon.com
File Name: scripts/bert/utils.py
Class Name:
Method Name: profile