Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
_load_pickle
Function · 0.45
train
Method · 0.45
train
Method · 0.45
column_inferring.py
File · 0.45
text2sql.py
File · 0.45
rat_text2sql.py
File · 0.45
logical_tabart.py
File · 0.45
main
Function · 0.45
load_checkpoint
Function · 0.45
Calls
1
Vocab
Class · 0.85
Tested by
no test coverage detected