Update README.md
Browse files
README.md
CHANGED
@@ -9,5 +9,7 @@ from huggingface_hub import hf_hub_download
|
|
9 |
cached_path = hf_hub_download(
|
10 |
'trl-lib',
|
11 |
'aesthetic-model.pth'
|
12 |
-
)
|
|
|
|
|
13 |
```
|
|
|
9 |
cached_path = hf_hub_download(
|
10 |
'trl-lib',
|
11 |
'aesthetic-model.pth'
|
12 |
+
)
|
13 |
+
|
14 |
+
state_dict = torch.load(cached_path)
|
15 |
```
|