Skip to content

Commit

Permalink
0.1.12
Browse files Browse the repository at this point in the history
Signed-off-by: ssbuild <[email protected]>
  • Loading branch information
ssbuild committed Jul 16, 2023
1 parent 81e9998 commit ecf4fe5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nlp/models/rwkv4/modeling_rwkv.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,8 @@ def forward(self,


class RwkvForCausalLM(RwkvPreTrainedModel):
_tied_weights_keys = ["head.weight"]

def __init__(self, config: RwkvConfig):
super().__init__(config)
self.rwkv = RwkvModel(config)
Expand Down

0 comments on commit ecf4fe5

Please sign in to comment.