Hello,
I’m trying to add a language to Gemma 4 E2B by expanding the vocabulary, and I plan to use QLoRA CPT, training only the embeddings first.
My question is about per-layer embeddings (PLE):
- When I resize embed_tokens, do the PLE tables also need to be resized for the new tokens?
- If yes, how should the new PLE rows be initialized (mean of existing rows, average of old subword pieces, zeros)?
- Should PLE be trained in the embedding-only stage, or can it stay frozen?
- If PLE needs to be trained, with QLoRA, how do I target PLE as well?
Has anyone done vocab expansion on E2B/E4B and can share any tips? Thanks you!