AlignmentResearch / tuned-lens

Tools for understanding how transformer predictions are built layer-by-layer
https://tuned-lens.readthedocs.io/en/latest/
MIT License
438 stars 47 forks source link

Better errors when artifact loading fails #37

Closed levmckinney closed 1 year ago

levmckinney commented 1 year ago

When running load_artifact if the lens is not found you just get a confusing 404 error.

from tuned_lens.load_artifacts import load_lens_artifacts
load_lens_artifacts("adsdased")

This should report a useful error.