Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/FasterTransformer
/ usage
Function
usage
examples/tensorflow/xlnet/convertModel.py:34–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
32
33
34
def
usage():
35
print(
" -o output_file"
)
36
print(
" -i ckpt_dir"
)
37
print(
"Example: python convertModel.py -i xlnet_cased_L-12_H-768_A-12/xlnet_model.ckpt -o ./model.npz "
)
38
39
40
if
__name__ ==
"__main__"
:
Callers
1
convertModel.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected