Open ShahramNasir opened 3 years ago
Singleton pattern has been applied to eval.py. We can see that we used metaclasses and source code help was used from https://stackoverflow.com/questions/6760685/creating-a-singleton-in-python.
References to eval_question_similarity were also updated to ourSingleton.eval_question_similarity for work with the singleton pattern
Singleton pattern has been applied to eval.py. We can see that we used metaclasses and source code help was used from https://stackoverflow.com/questions/6760685/creating-a-singleton-in-python.
References to eval_question_similarity were also updated to ourSingleton.eval_question_similarity for work with the singleton pattern