leonardvorbeck
commited on
Commit
•
9275972
1
Parent(s):
dbdc1ce
Update README.md
Browse files
README.md
CHANGED
@@ -18,7 +18,8 @@ license: apache-2.0
|
|
18 |
|
19 |
## Note : Model has not been initialized. If you want to use it without further finetuning, do a forward pass first to recalculate the normalized weights of the positional convolutional layer :
|
20 |
|
21 |
-
``
|
|
|
22 |
model_hf(torch.randn((1,300_000)))
|
23 |
``
|
24 |
|
|
|
18 |
|
19 |
## Note : Model has not been initialized. If you want to use it without further finetuning, do a forward pass first to recalculate the normalized weights of the positional convolutional layer :
|
20 |
|
21 |
+
``python
|
22 |
+
with torch.no_grad():
|
23 |
model_hf(torch.randn((1,300_000)))
|
24 |
``
|
25 |
|