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 representation for learnable action tokens. #20

Open
wyddmw opened this issue Feb 13, 2025 · 0 comments
Open

The representation for learnable action tokens. #20

wyddmw opened this issue Feb 13, 2025 · 0 comments

Comments

@wyddmw
Copy link

wyddmw commented Feb 13, 2025

Hi, thanks for this awesome work! I would like to ask a simple question why did you choose to use a single learnable token and repeat it multiple times to represent the action instead of using different tokens? Assume we want to represent an action with 4 tokens, what is the difference between tokens = nn.Parameter(torch.zeros(token_num, self.hidden_size)) and tokens = nn.Parameter(torch.zeros(1, self.hidden_size)).repeat(token_num, 1) and is the corresponding advantage?

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