Update README.md
Browse files
README.md
CHANGED
@@ -27,6 +27,6 @@ checkpoint_path = hf_hub_download(
|
|
27 |
|
28 |
# model_size is 4096 for both models.
|
29 |
# vocab_size is 32000 for Llama-2-7b and 128256 for Llama-3-8b
|
30 |
-
probe = LinearModel(4096, 32000)
|
31 |
-
probe.load_state_dict(torch.load(checkpoint_path
|
32 |
```
|
|
|
27 |
|
28 |
# model_size is 4096 for both models.
|
29 |
# vocab_size is 32000 for Llama-2-7b and 128256 for Llama-3-8b
|
30 |
+
probe = LinearModel(4096, 32000).cuda()
|
31 |
+
probe.load_state_dict(torch.load(checkpoint_path))
|
32 |
```
|