Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AkaliKong/MiniOneRec
/ _load_data
Method
_load_data
sft_gpr.py:38–40 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
36
self.new_tokens = None
37
38
def
_load_data(self):
39
with
open(os.path.join(self.data_path, self.dataset + self.index_file),
'r'
)
as
f:
40
self.indices = json.load(f)
41
42
def
get_new_tokens(self):
43
if
self.new_tokens is not None:
Callers
1
get_new_tokens
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected