MCPcopy Create free account
hub / github.com/awslabs/gap-text2sql / load

Method load

rat-sql-gap/seq2struct/utils/vocab.py:78–79  ·  view source on GitHub ↗
(self, in_path)

Source from the content-addressed store, hash-verified

76
77 @classmethod
78 def load(self, in_path):
79 return Vocab(json.load(open(in_path)), special_elems=())
80
81 def save(self, out_path):
82 with open(out_path, 'w') as f:

Callers 15

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
_load_pickleFunction · 0.45
trainMethod · 0.45
trainMethod · 0.45
text2sql.pyFile · 0.45
rat_text2sql.pyFile · 0.45
logical_tabart.pyFile · 0.45
mainFunction · 0.45
load_checkpointFunction · 0.45

Calls 1

VocabClass · 0.85

Tested by

no test coverage detected