Skip to content

Commit 829cedb

Browse files
committed
minor update
1 parent b6be82b commit 829cedb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: README.md

+9
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@ We provide the pretrained AstroCLIP model on the Huggingface model hub for easy
6868
</tr>
6969
</table>
7070

71+
#### Loading the Pretrained Models
72+
The pretrained AstroCLIP model can be loaded using the following:
73+
```python
74+
from astroclip.models import AstroClipModel
75+
model = AstroClipModel.load_from_checkpoint(
76+
checkpoint_path = "path_to_model.ckpt",
77+
)
78+
```
79+
7180
#### High-Level Performance Overview
7281

7382
Below, we include a high-level performance overview of our models on a variety of downstream tasks. This is non-exhaustive, and we refer the reader to the paper for the full details.

0 commit comments

Comments
 (0)