794bd558da80b65713b51a964ec61e7ef36d4bf2,examples/intent_extraction/interactive.py,,,#,34
Before Change
help="Word embedding model vector size")
args = parser.parse_args()
if not os.path.exists(args.model_path):
print("model_path does not exist")
sys.exit(0)
if not os.path.exists(args.dataset_path):
print("dataset_path does not exist")
sys.exit(0)
if args.embedding_model is not None and not os.path.exists(args.embedding_model):
After Change
help="Word embedding model vector size")
args = parser.parse_args()
if args.embedding_size is not None:
validate((args.embedding_size, int, 1, 10000))
model = IntentExtractionModel()
model.load(args.model_path)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: NervanaSystems/nlp-architect
Commit Name: 794bd558da80b65713b51a964ec61e7ef36d4bf2
Time: 2018-05-14
Author: peteriz@users.noreply.github.com
File Name: examples/intent_extraction/interactive.py
Class Name:
Method Name:
Project Name: RasaHQ/rasa
Commit Name: 3de23b93ff50f76ae27ce3d0202a3109a98086bf
Time: 2019-02-14
Author: t.wochinger@rasa.com
File Name: rasa/cli/run.py
Class Name:
Method Name: run
Project Name: tensorflow/minigo
Commit Name: 45f4f81aaf15c1122b1f6623e1bef297e1837dbd
Time: 2018-02-12
Author: jacksona@google.com
File Name: rl_loop.py
Class Name:
Method Name: validate