Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

class SelfAttentionRelative(nn.Module): #40

Open
EltonQm opened this issue Dec 12, 2024 · 1 comment
Open

class SelfAttentionRelative(nn.Module): #40

EltonQm opened this issue Dec 12, 2024 · 1 comment

Comments

@EltonQm
Copy link

EltonQm commented Dec 12, 2024

former/modules.py
line 469
def init(self, emb, pos_embedding, heads=8, mask=False, ):

There should be no comma after the mask argument

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@EltonQm and others