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

What is the correct padding side for train/eval of base model for FIM? #173

Open
zhzhangcc opened this issue Jul 6, 2024 · 0 comments
Open

Comments

@zhzhangcc
Copy link

I see in https://github.com/deepseek-ai/DeepSeek-Coder/blob/main/finetune/finetune_deepseekcoder.py#L132 that the padding side for the instruct model is set to right.
However, the tokenizer's default is `left. And there are no other official examples I can find for a fine-tune on the base model.

So what should the padding side by for the base model during train and eval?

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