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

Does training new tokenizer effect the pre-trained model? #1

Open
dinhngoc267 opened this issue Jul 3, 2024 · 1 comment
Open

Does training new tokenizer effect the pre-trained model? #1

dinhngoc267 opened this issue Jul 3, 2024 · 1 comment

Comments

@dinhngoc267
Copy link

Hi,

It's nice to see your repository. I can see that you train a new tokenizer based on your new corpus, but I wonder does it change the token id of the original model base? If it does then it might effect the weight of original pre-train model, as you continue to pre-train the model from the pre-trained model right?

@w11wo
Copy link
Member

w11wo commented Aug 2, 2024

Hi @dinhngoc267, very sorry for the late reply. I might have missed the notification for some reason.

To clarify, we did not continue training from a pre-trained model. IndoT5 was trained completely from scratch, with a new vocabulary/tokenizer. It is only when we fine-tuned to a downstream task like QA, summarization, etc., where we fine-tuned our model; but we kept the same vocabulary for this step.

Hope that clears it up.

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