MCPcopy Create free account
hub / github.com/AkaliKong/MiniOneRec / load_json

Function load_json

rq/text2emb/utils.py:297–300  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

295 return tokenizer, model
296
297def load_json(file):
298 with open(file, 'r') as f:
299 data = json.load(f)
300 return data
301
302def clean_text(raw_text):
303 if isinstance(raw_text, list):

Callers 2

load_dataFunction · 0.85
load_dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected