QLoRA: Efficient Finetuning of Quantized LLMs
Home Page:https://arxiv.org/abs/2305.14314
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
andylolu2 opened this issue 10 months ago · comments
qlora/qlora.py
Lines 248 to 259 in 7f4e95a
I think the names[0] if len(names) == 1 else names[-1] expression in L254 is just redundant. Should use just names[-1].
names[0] if len(names) == 1 else names[-1]
names[-1]