Update README.md
Browse files
README.md
CHANGED
|
@@ -45,7 +45,7 @@ device='cuda'
|
|
| 45 |
model.to(device)
|
| 46 |
|
| 47 |
# load parameters
|
| 48 |
-
state_dict = safetensors.torch.load_file("
|
| 49 |
model.load_state_dict(state_dict)
|
| 50 |
|
| 51 |
# text to be chunked
|
|
|
|
| 45 |
model.to(device)
|
| 46 |
|
| 47 |
# load parameters
|
| 48 |
+
state_dict = safetensors.torch.load_file("./model.safetensors")
|
| 49 |
model.load_state_dict(state_dict)
|
| 50 |
|
| 51 |
# text to be chunked
|