LoRA Trainable Parameter Count
~6 mincode completion
Implement lora_param_count(d, k, r) returning the array [lora_params, full_params].
Where this shows up
~6 min
••••••••••••••••
8 employers weight this skill
4 frontier labs, 3 AI product companies, 1 enterprise vendor. Top match scores 81.
Python
import numpy as np
def lora_param_count(d, k, r):
"""
Trainable parameters of a rank-r LoRA update versus full fine-tuning.
Args:
d: rows of the frozen matrix
k: columns of the frozen matrix
r: LoRA rank
Returns:
array [lora_params, full_params]
"""
# YOUR CODE HERE
pass