Skip to content

What is "Network Dimension" in LoRA? #177

Answered by brian6091
runner22k asked this question in Q&A
Discussion options

You must be logged in to vote

Network dimension refers to rank of the weight adaptation. This parameter dictates entirely the size of the resulting file. The best rank depends on your needs. You could start at some value, and if the results are good, try reducing to save on file size. Some discussion here: #37

Alpha is the scaling applied to the adaptation. The discussion linked also has some examples. The scaling value is independent of rank (it should be a scalar value greater than 0).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by runner22k
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