extropico commited on
Commit
653557b
·
verified ·
1 Parent(s): fc95e8f

Update loader

Browse files
Files changed (1) hide show
  1. load_model.py +1 -1
load_model.py CHANGED
@@ -12,5 +12,5 @@ def load_model(repo_id="Extropic-AI/Z1T-0"):
12
  weights_path = hf_hub_download(repo_id, "model.eqx")
13
  with open(config_path) as f:
14
  config = Config(**json.load(f))
15
- model = create_model(config, jax.random.PRNGKey(0))
16
  return eqx.tree_deserialise_leaves(weights_path, model)
 
12
  weights_path = hf_hub_download(repo_id, "model.eqx")
13
  with open(config_path) as f:
14
  config = Config(**json.load(f))
15
+ model = create_model(config, jax.random.key(0))
16
  return eqx.tree_deserialise_leaves(weights_path, model)