SPT icon indicating copy to clipboard operation
SPT copied to clipboard

Questions about the sensitivity function

Open MoeinSorkhei opened this issue 9 months ago • 1 comments

Hello, thanks for providing the code. I have some questions about calculating sensitivity, and I appreciate it if you could clarify them for me.

  1. What values of alpha and beta should generally be used?
  2. in your experience, how many batches should be processed for reliable estimation of sensitivity?
  3. In L181 what do the values denote? Are they the number of total tunable parameters to select?
  4. Could you explain how the sweep is performed in, and why the value of 80 is chosen in L189?
  5. can you explain this condition in L282 in your code? When I run the code it only return results with for 1.0, 0.8 and 0.6, and for smaller values the condition does not satisfy apparently.
  6. In L279, can you explain why param count is calculated in this way? What is the division by 1e6 performed?
  7. In L191 and L196, why param_num is multiplied by 0.02 and 1e6 respectively?
  8. When using LoRA, I assume the additional parameters will be merged into the original params after training is done. Is the code for that available?

Thank you in advance.

MoeinSorkhei avatar May 23 '24 17:05 MoeinSorkhei