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

The meaning about bos_mask #43

Open
9p15p opened this issue Aug 22, 2023 · 1 comment
Open

The meaning about bos_mask #43

9p15p opened this issue Aug 22, 2023 · 1 comment

Comments

@9p15p
Copy link

9p15p commented Aug 22, 2023

Hi, Dr. Zhou,
Thanks for your great work.
What do bos_mask and bos_token mean and what do they do. The abbreviations make it strange.

bos_mask = torch.zeros(num_nodes, 20, dtype=torch.bool)

self.bos_token = nn.Parameter(torch.Tensor(historical_steps, embed_dim))

@9p15p
Copy link
Author

9p15p commented Aug 23, 2023

It seem to be begin of sentence.

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

1 participant