LoRA versus P-tuning v2, including initialisation

MediumConcept15 minRERSMLEPro outline

The question

Compare LoRA and P-tuning v2. How is each initialised and why?

What the interviewer is looking for

  • LoRA low-rank weight deltas with B at zero
  • P-tuning v2 trainable prompts in every layer
  • Initialisation of prompts and its effect on stability
  • Serving and merging differences
  • When each is preferred

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported Zhipu AI (Z.ai) question type: PPO, DPO and GRPO; three KL estimators; LoRA versus P-tuning v2 initialisation; R1 pipeline and MLA.

Reported in: nowcoder.com

Practice question written by BlogLLM based on publicly reported interview formats. Not an official Zhipu AI (Z.ai) question.