MCPcopy Create free account
hub / github.com/PolymathicAI/AstroCLIP / load_model

Function load_model

astroclip/models/loader.py:5–7  ·  view source on GitHub ↗
(repo_id, filename)

Source from the content-addressed store, hash-verified

3
4
5def load_model(repo_id, filename):
6 model = joblib.load(hf_hub_download(repo_id=repo_id, filename=filename))
7 return model

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected