Spaces:
Sleeping
Sleeping
howard-hou
commited on
Commit
•
aa4c647
1
Parent(s):
c397d4d
Update modeling_rwkv.py
Browse files- modeling_rwkv.py +1 -1
modeling_rwkv.py
CHANGED
@@ -1000,7 +1000,7 @@ class RWKV(MyModule):
|
|
1000 |
|
1001 |
########################################################################################################
|
1002 |
|
1003 |
-
def forward(self, tokens, state, full_output=False, embs=None):
|
1004 |
with torch.no_grad():
|
1005 |
w = self.w
|
1006 |
args = self.args
|
|
|
1000 |
|
1001 |
########################################################################################################
|
1002 |
|
1003 |
+
def forward(self, tokens=None, state=None, full_output=False, embs=None):
|
1004 |
with torch.no_grad():
|
1005 |
w = self.w
|
1006 |
args = self.args
|