179 questions
No questions match those filters.
A regulator requires the assistant to run fully offline...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansWhen architectural requirements strictly disallow an external datastore or RAG pipeline, fine-tuning model weights directly requires a disciplined continual-learning strategy to minimize regressions:
- Parameter Constraints: Constrain weight updates using low-rank adaptations (e.g., rank-128 LoRA) to bound parameter movement.
- Optimization Schedule: Re-warm and re-decay the learning rate schedule specifically for the fine-tuning run to avoid gradient shocks.
- Replay Buffer: Include a 5% allocation of pre-training / baseline replay tokens into the training batch. This introduces a modest compute overhead of ~5.3% while significantly suppressing forgetting.
- Canary Gating: Evaluate and gate deployment readiness using a frozen benchmark canary evaluation set rather than relying on training or validation loss metrics.
When baseline pre-training data is proprietary or unavailable, generate replay tokens by sampling responses directly from the original base model ($\theta_0$). Generating these samples adds approximately 0.7% compute overhead to the run. However, avoid recursively re-sampling from newly updated checkpoints in subsequent fine-tuning iterations to prevent catastrophic model collapse loops.