Update main README with correct .pt file extensions
Browse files
README.md
CHANGED
|
@@ -95,7 +95,7 @@ model = DJMGNN(
|
|
| 95 |
|
| 96 |
# Load base model checkpoint
|
| 97 |
checkpoint = torch.hub.load_state_dict_from_url(
|
| 98 |
-
"https://huggingface.co/saketh11/MoML-CA/resolve/main/base_model/pytorch_model.
|
| 99 |
)
|
| 100 |
model.load_state_dict(checkpoint["model_state_dict"])
|
| 101 |
model.eval()
|
|
@@ -106,7 +106,7 @@ model.eval()
|
|
| 106 |
```python
|
| 107 |
# Same architecture setup as above, then:
|
| 108 |
checkpoint = torch.hub.load_state_dict_from_url(
|
| 109 |
-
"https://huggingface.co/saketh11/MoML-CA/resolve/main/finetuned_model/pytorch_model.
|
| 110 |
)
|
| 111 |
model.load_state_dict(checkpoint["model_state_dict"])
|
| 112 |
model.eval()
|
|
|
|
| 95 |
|
| 96 |
# Load base model checkpoint
|
| 97 |
checkpoint = torch.hub.load_state_dict_from_url(
|
| 98 |
+
"https://huggingface.co/saketh11/MoML-CA/resolve/main/base_model/pytorch_model.pt"
|
| 99 |
)
|
| 100 |
model.load_state_dict(checkpoint["model_state_dict"])
|
| 101 |
model.eval()
|
|
|
|
| 106 |
```python
|
| 107 |
# Same architecture setup as above, then:
|
| 108 |
checkpoint = torch.hub.load_state_dict_from_url(
|
| 109 |
+
"https://huggingface.co/saketh11/MoML-CA/resolve/main/finetuned_model/pytorch_model.pt"
|
| 110 |
)
|
| 111 |
model.load_state_dict(checkpoint["model_state_dict"])
|
| 112 |
model.eval()
|