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

Why not update the vocabulary size of llama? #8

Open
RalphHan opened this issue Sep 5, 2023 · 1 comment
Open

Why not update the vocabulary size of llama? #8

RalphHan opened this issue Sep 5, 2023 · 1 comment

Comments

@RalphHan
Copy link

RalphHan commented Sep 5, 2023

https://github.com/qiqiApink/MotionGPT/blob/main/generate_motion.py#L114
In this line, you run the following code:

tokens = torch.tensor([int(token) for token in output.split(',')]).cuda()

Does it mean you use the same vocabulary size as llama, and output the motion tokens by outputing the number string separated by comma? If so, why not increase the vocabulary size?

@vadeli
Copy link

vadeli commented May 26, 2024

I have the same question. Did you figure it out?

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