Update README.md
Browse files
README.md
CHANGED
|
@@ -33,7 +33,7 @@ tokenizer = AutoTokenizer.from_pretrained(
|
|
| 33 |
)
|
| 34 |
tokenizer.pad_token = tokenizer.eos_token
|
| 35 |
text = "This is text."
|
| 36 |
-
inputs = tokenizer(text, return_tensors="pt", padding=True)
|
| 37 |
```
|
| 38 |
|
| 39 |
To modify the latent feature $h_0$ (`SCAR.hook.mod_features = 0`) of the SAE do the following:
|
|
|
|
| 33 |
)
|
| 34 |
tokenizer.pad_token = tokenizer.eos_token
|
| 35 |
text = "This is text."
|
| 36 |
+
inputs = tokenizer(text, return_tensors="pt", padding=True).to('cuda')
|
| 37 |
```
|
| 38 |
|
| 39 |
To modify the latent feature $h_0$ (`SCAR.hook.mod_features = 0`) of the SAE do the following:
|