Skip to content

Get the total number of layers #8091

Answered by ngxson
axel7083 asked this question in Q&A
Discussion options

You must be logged in to vote

The number of layer is llama.block_count. One layer can have multiple heads (hence the name "multi-head attention")

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@axel7083
Comment options

Answer selected by axel7083
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants