Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zai-org/CodeGeeX
/ code
Function
code
codegeex/megatron/data/indexed_dataset.py:125–129 ·
view source on GitHub ↗
(dtype)
Source
from the content-addressed store, hash-verified
123
124
125
def
code(dtype):
126
for
k in dtypes.keys():
127
if
dtypes[k] == dtype:
128
return
k
129
raise
ValueError(dtype)
130
131
132
def
index_file_path(prefix_path):
Callers
2
finalize
Method · 0.85
__enter__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected