Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/TharinduDR/TransQuest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTharinduDR <rhtdranasinghe@gmail.com>2021-04-23 00:39:30 +0300
committerTharinduDR <rhtdranasinghe@gmail.com>2021-04-23 00:39:30 +0300
commit7448f5ee6e3441f2f4abed7ff40d4a333bf8635d (patch)
tree88cae647f6c29afd5291b67c1b7310c958c2ab71
parent53e5daa9beb03fa86d7422d9807066f7e6a4009c (diff)
057: Code Refactoring - Siamese Architectures
-rw-r--r--transquest/algo/sentence_level/siamesetransquest/run_model.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/transquest/algo/sentence_level/siamesetransquest/run_model.py b/transquest/algo/sentence_level/siamesetransquest/run_model.py
index 66e7c3b..8148894 100644
--- a/transquest/algo/sentence_level/siamesetransquest/run_model.py
+++ b/transquest/algo/sentence_level/siamesetransquest/run_model.py
@@ -401,8 +401,8 @@ class SiameseTransQuestModel(nn.Sequential):
with open(os.path.join(path, 'modules.json'), 'w') as fOut:
json.dump(contained_modules, fOut, indent=2)
- with open(os.path.join(path, 'config.json'), 'w') as fOut:
- json.dump({'__version__': __version__}, fOut, indent=2)
+ # with open(os.path.join(path, 'config.json'), 'w') as fOut:
+ # json.dump({'__version__': __version__}, fOut, indent=2)
def smart_batching_collate(self, batch):
"""