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

Should I freeze norm.weight? #7

Open
metterian opened this issue Jan 28, 2024 · 1 comment
Open

Should I freeze norm.weight? #7

metterian opened this issue Jan 28, 2024 · 1 comment

Comments

@metterian
Copy link

Llama base model has norm.weight.

Did you also freeze norm.weight when post-training?

    "model.layers.9.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
    "model.layers.9.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
    "model.layers.9.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
    "model.norm.weight": "model-00004-of-00004.safetensors"
@hills-code
Copy link
Collaborator

We freeze all the weights of the initial llama model and only train the newly added blocks.

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