We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
DoLa/transformers-4.28.1/src/transformers/models/llama/modeling_llama.py
Line 703 in dc88907
I think you guys should apply model.norm layer to hidden_states[early_exit_layer] . Because only the last hidden_state applied model.norm layer. See
Line 594 in dc88907
The text was updated successfully, but these errors were encountered:
This makes sense, but when apply your suggestion, the accuracy go down in GSM8k dataset, have no idea why
Sorry, something went wrong.
No branches or pull requests
DoLa/transformers-4.28.1/src/transformers/models/llama/modeling_llama.py
Line 703 in dc88907
I think you guys should apply model.norm layer to hidden_states[early_exit_layer] . Because only the last hidden_state applied model.norm layer. See
DoLa/transformers-4.28.1/src/transformers/models/llama/modeling_llama.py
Line 594 in dc88907
The text was updated successfully, but these errors were encountered: