Quizzes Fine-tuning Module quiz
Fine-tuning quiz 105 questions across 7 lessons. Choose an answer, check it, and read why each option is right or wrong.
Back to the module Flashcards
Checking answers needs JavaScript. You can still read every question and option below.
Keyboard: arrow keys move between options. Space or Enter selects the focused option.
One question at a time
Objective Classify a failure as missing knowledge, wrong behaviour, or cost and latency, say whether tuning is justified, and name the baseline a tune must beat.Question 1 of 105 A shop's assistant keeps quoting last quarter's delivery fees, and the fees change every month. A manager proposes tuning on the fee table. What is the best reading of the failure? Choose one answer.
Check answer
Question 2 of 105 A strong prompt with examples still returns the wrong ticket category on a few percent of 3 million daily calls, always in the same pattern. Labelled examples exist. Which is the best next step? Choose one answer.
Check answer
Question 3 of 105 A tuned model scores 20 points above the team's first-draft prompt, and the team wants to ship it. What is the main thing missing from the claim? Choose one answer.
Check answer
Objective Write the break-even for a tuning project from its one-off, hosting and maintenance costs, and test it against a cheaper alternative such as prefix caching.Question 4 of 105 A tune costs $18,000 once and earns $2,000 a day gross. Hosting adds $600 a day, and a $13,500 re-tune comes every 90 days. About how long is the payback? Choose one answer.
Check answer
Question 5 of 105 A provider bills cached input at 20 percent of the normal rate. A job's repeated prefix costs $2,000 a day at the normal rate. What is the most that baking it into a tuned model can save? Choose one answer.
Check answer
Question 6 of 105 A new base model is released that is much better. Your adapter beat the old baseline last spring. What should you do first? Choose one answer.
Check answer
Objective Estimate the model-state memory of full fine-tuning with Adam, LoRA and QLoRA, and name what that estimate leaves out.Question 7 of 105 How much memory do the model states take for full fine-tuning of an 8-billion-parameter model with Adam in mixed precision? Choose one answer.
Check answer
Question 8 of 105 A 4-bit frozen 8B base needs about 0.5 bytes per parameter. With a 40-million-parameter adapter at 16 bytes each, about how much do the QLoRA model states come to? Choose one answer.
Check answer
Question 9 of 105 A memory plan for a tuning run lists only the model states. Which items does it leave out? Select all that apply. Choose all that apply.
Check answer
Question 13 of 105 You must choose between two plans for a 34B-class task. Plan one fully fine-tunes it. Plan two uses LoRA on a 16-bit frozen base with a 0.5 percent adapter. About how do the model-state sizes compare? Choose one answer.
Check answer
Objective Estimate training compute and time from parameters and tokens, and explain why LoRA saves memory far more than it saves compute.Question 10 of 105 A model has 3 billion parameters and trains on 2 billion tokens. The job sustains 300 TFLOP/s. Using the 6ND estimate, about how long does a full fine-tune take? Choose one answer.
Check answer
Question 11 of 105 A teammate says LoRA will cut GPU time to about a hundredth because only about one percent of the weights train. What is the best response? Choose one answer.
Check answer
Question 12 of 105 Which breakdown best explains the 6 in the 6ND estimate for training a dense model? Choose one answer.
Check answer
Objective Choose data sources for a tuning goal and say what each one risks, verify synthetic data before trusting it, and use a learning curve rather than a rule of thumb to decide whether more data will help.Question 14 of 105 A team wants a model that writes replies in the house style. They have 300 hand-checked examples and 60,000 unreviewed logs from chat sessions. Which plan fits the goal best? Choose one answer.
Check answer
Question 15 of 105 A team generates 20,000 JSON-extraction examples with a stronger model and trains on them directly. A week later the tuned model repeats a systematic mistake. What was skipped? Choose one answer.
Check answer
Question 16 of 105 Scores on a fixed golden set for runs trained on 20, 40, 80 and 100 percent of the data are 55, 66, 71 and 71. What is the best conclusion? Choose one answer.
Check answer
Objective Order the cleaning steps (filter, deduplicate, decontaminate, remove personal data) and explain what each one protects against.Question 17 of 105 Support conversations are collected, and three versions of the same ticket reply appear with minor edits. Where do near-duplicates do the most harm if they are left in? Choose one answer.
Check answer
Question 18 of 105 A team filters its training set for 13-word overlaps with an evaluation set of short questions that average six words. What is the likely outcome? Choose one answer.
Check answer
Question 19 of 105 A team strips emails and phone numbers from its tuning data and deduplicates it. Which risk has the personal-data step addressed? Choose one answer.
Check answer
Question 26 of 105 A team has these steps for a ticket dataset and wants them in a safe order. Which sequence is right? Choose one answer.
Split by group, then deduplicate each side, then filter, then render, since each side can be cleaned on its own. Render with the template, then filter and deduplicate the token sequences, then split by group at the end. Filter, deduplicate, decontaminate, remove personal data, split by group, then render and mask the loss. Check answer
Objective Split by group or by time rather than by row, keep a golden test set that nobody trains on, and report slices as well as the average.Question 20 of 105 8,000 rows come from 2,000 ticket threads, four rows per thread. A random 80/20 split by row gives a strong validation score. Why can that score mislead? Choose one answer.
Check answer
Question 21 of 105 A support product launches new plans every quarter, and the assistant must answer questions about plans it has not seen. Which split best matches that use? Choose one answer.
Check answer
Question 22 of 105 After three rounds of adjusting prompts and settings against the same 400 held-out examples, the average rises. What is the best way to protect the final result? Choose one answer.
Check answer
Objective Render examples with the exact serving chat template, include the end-of-turn token, mask the loss to the assistant tokens, and audit the result by decoding a batch.Question 23 of 105 A model is tuned on examples rendered with one chat template but served through a different one. Training loss looks normal. What is the most likely symptom? Choose one answer.
Check answer
Question 24 of 105 Each training answer is stored without an end-of-turn token. After tuning, the model gives correct answers but keeps generating after them. What explains this? Choose one answer.
Check answer
Question 25 of 105 A prompt has 500 tokens and the answer 50. Loss is computed on the whole sequence. What does this setup mostly reward? Choose one answer.
Check answer
Question 27 of 105 A model is tuned and the loss looks healthy, yet replies in production start with a stray role marker. Which pre-training check would have caught this? Choose one answer.
Check answer
Objective Derive why a low-rank update is cheap and what it cannot do, and explain why B starts at zero while A starts random and what the alpha/r factor scales.Question 28 of 105 A frozen weight matrix has 3,000 outputs and 1,200 inputs, and it gets a rank-10 LoRA update. How many numbers does the adapter train? Choose one answer.
About 30,000, from 10 times the 3,000 outputs, since rank sets width. About 42,000, from 10 times the sum of the 3,000 outputs and 1,200 inputs. About 360 million, from 10 times 3,000 times 1,200 for each possible entry pair. Check answer
Question 29 of 105 A teammate says that if the update is B times A, setting both factors to zero at the start would be the safest start. What goes wrong? Choose one answer.
Check answer
Question 30 of 105 A config has r=16 and alpha=16. The team later sets r=4 and leaves alpha at 16. How does the strength of the added term change? Choose one answer.
Check answer
Question 43 of 105 A rank-4 adapter is trained for many epochs on a very large dataset whose target change needs about fifty independent directions in one layer. What limits it? Choose one answer.
Check answer
Objective Count the trainable parameters of a LoRA setup across a whole model from its rank and target modules, and turn the count into optimiser-state memory.Question 31 of 105 A model has 10 layers with square 1,000 by 1,000 attention projections. Adapters at rank 4 go on the query and value projections only. How many adapter parameters are trained? Choose one answer.
Check answer
Question 32 of 105 A model uses grouped-query attention, so its key projection maps 4,096 inputs to only 512 outputs. Compared with a 4,096 by 4,096 projection at the same rank, the adapter on the key projection is Choose one answer.
Check answer
Question 40 of 105 A frozen 7B base gets an 80-million-parameter LoRA adapter, trained with Adam in mixed precision. Roughly what do the adapter's own training states cost? Choose one answer.
Check answer
Question 33 of 105 With attention-only LoRA at a moderate rank, a held-out score sits below a full fine-tune. Which first change fits the evidence in the two papers? Choose one answer.
Check answer
Question 34 of 105 Someone wants to move from rank 16 to rank 64 because the model is not good enough yet. What is the most sound way to decide? Choose one answer.
Check answer
Question 41 of 105 A run at r=8 and alpha=8 trains well. The team moves to r=32, keeps alpha at 8, and the held-out score barely moves from the base. What is the likeliest cause? Choose one answer.
Check answer
Question 42 of 105 You are setting the learning rate for your first adapter run on a new task and model. Which approach fits the lesson? Choose one answer.
Check answer
Objective Explain what NF4, double quantisation and paged optimisers each do, what they cost, and which parts of a QLoRA step stay in 16-bit.Question 35 of 105 What does double quantisation actually quantise? Choose one answer.
Check answer
Question 36 of 105 During one QLoRA training step, what happens when a layer with a 4-bit frozen weight is used? Choose one answer.
Check answer
Question 37 of 105 A QLoRA run crashes only on its longest batches, which briefly need more GPU memory than the card has. Which piece is built for that? Choose one answer.
Check answer
Question 44 of 105 Why does QLoRA store the frozen base in NF4 rather than in 16 evenly spaced 4-bit levels? Choose one answer.
Check answer
Objective Decide between LoRA, QLoRA and full fine-tuning for a task, and between merging an adapter and keeping it swappable.Question 38 of 105 A platform serves 40 customers, each with their own adapter, from one base model, and requests for different customers arrive mixed together. Which setup fits? Choose one answer.
Check answer
Question 39 of 105 A team has a large code and maths dataset and a budget for rented GPUs, and wants the strongest result on that domain. What does the evidence favour? Choose one answer.
Check answer
Objective Explain what an SFT run optimises and which tokens carry the loss, and say why validation loss alone should not pick the checkpoint.Question 45 of 105 In an SFT run with the loss restricted to the response, what does the logged training loss report? Choose one answer.
Check answer
Question 46 of 105 Validation loss is lowest at step 400, while the held-out JSON-valid rate peaks at step 700 and validation loss there is only slightly higher. Which checkpoint should ship? Choose one answer.
Check answer
Objective Compute the effective batch size, and choose among gradient accumulation, gradient checkpointing, LoRA and sequence limits for a run that runs out of memory, stating what each saves and costs.Question 47 of 105 A full fine-tune runs out of memory at 16 sequences per pass on one GPU, and the profile shows activations are the bulk. The team wants updates equivalent to 64 sequences. Which change fits? Choose one answer.
Check answer
Question 48 of 105 Each of 4 GPUs runs 6 sequences per pass and accumulates over 5 passes before the optimiser steps. How many sequences contribute to one update? Choose one answer.
Check answer
Question 49 of 105 A team enables gradient checkpointing, yet a 30B full fine-tune on one 80 GB GPU still runs out of memory. Why did it not help? Choose one answer.
Check answer
Question 55 of 105 A full fine-tune runs out of memory in gradients and optimiser state, not in activations. Transcripts are long, but each answer sits near the start. Which lever addresses the problem, and what does it cost? Choose one answer.
Check answer
Objective Compute per-GPU model-state memory for plain data parallelism and ZeRO stages 1 to 3 from the 16-bytes-per-parameter rule, and say what full sharding pays for its saving.Question 50 of 105 A 20B-parameter full fine-tune uses Adam in mixed precision on 16 GPUs with ZeRO-2. What are the model states per GPU, before activations? Choose one answer.
Check answer
Question 51 of 105 A 3B-parameter full fine-tune with short sequences runs on 8 GPUs of 80 GB each. Which setup is the best default? Choose one answer.
Check answer
Question 52 of 105 Compared with plain data parallelism, what does ZeRO-3 or FSDP full sharding pay in return for its memory saving? Choose one answer.
Check answer
Objective Diagnose a run from its loss curves and task metric, and apply the debugging order: decode the labels, overfit a tiny batch, change one thing at a time.Question 53 of 105 On a 3,000-example set, training loss keeps falling through epoch 5. Validation loss bottomed after epoch 2 and has risen since, and the task metric fell with it. What is the best reading and response? Choose one answer.
Check answer
Question 54 of 105 A new LoRA run shows a loss that does not move from step 0. Which first check is cheapest and most informative? Choose one answer.
Check answer
Objective Describe the RLHF pipeline (SFT, reward model, policy optimisation), say what the KL penalty to the reference model protects against, and name what the pipeline costs.Question 56 of 105 In the classic RLHF recipe described for InstructGPT, which order of steps is right? Choose one answer.
Check answer
Question 57 of 105 What does the KL penalty to the SFT model do in an RLHF run? Choose one answer.
Check answer
Question 58 of 105 A team compares a PPO-based RLHF setup with a DPO setup. Which of these does the PPO setup need that DPO does not? Choose all that apply.
Check answer
Objective Read the DPO loss, say what beta and the frozen reference model each do, and compute the loss for a given pair of log-ratios.Question 59 of 105 With beta = 0.3, a pair has a preferred-answer log-ratio of +0.4 and a rejected-answer log-ratio of -2.6. About what is the DPO loss for this pair? Choose one answer.
Check answer
Question 60 of 105 To save memory, a team deletes the frozen reference model but keeps the DPO loss exactly as written. What follows? Choose one answer.
Check answer
Question 61 of 105 A DPO run at beta = 0.1 drifts far from its reference. Which single change should keep the model closer, all else equal? Choose one answer.
Check answer
Objective Choose among DPO, IPO, KTO, ORPO and SimPO by the data you have and whether a reference model is needed, and say why their reported gains are not a ranking.Question 62 of 105 The only feedback available is a thumbs-up or thumbs-down on single answers, with no second answer to the same prompt. Which method in the lesson fits this data best? Choose one answer.
Check answer
Question 63 of 105 You have preference pairs and little memory. Which two methods in the lesson remove the frozen reference model? Choose one answer.
Check answer
Question 64 of 105 In a small dataset every annotator picked the same side in every pair, and DPO keeps pushing the gap between the two answers wider. Which change matches the lesson? Choose one answer.
Check answer
Question 65 of 105 A post says SimPO beats DPO by several points, so a team switches without testing. What is the main flaw in that decision? Choose one answer.
Check answer
Objective Compute a group-relative advantage as GRPO defines it, say what it removes compared with PPO, and separate the optimiser from the source of the reward.Question 66 of 105 Four sampled answers to one question score [1, 0, 0, 0]. Using the population standard deviation, what is the group-relative advantage of the correct answer? Choose one answer.
Check answer
Question 67 of 105 What does GRPO remove compared with PPO, and what takes its place? Choose one answer.
Check answer
Question 68 of 105 A colleague says GRPO only works when answers can be verified by rules. What is the best reply? Choose one answer.
Check answer
Objective Explain reward hacking and over-optimisation, name two defences, and decide when SFT, a preference method or reinforcement learning is worth its cost.Question 69 of 105 During preference training the win-rate against the SFT model keeps rising, average answer length also rises, and a fact-check score falls. What is the best first reading? Choose one answer.
Check answer
Question 70 of 105 A manager says DPO cannot be reward-hacked because it has no reward model. Which reply fits the lesson? Choose one answer.
Check answer
Question 71 of 105 A team has 300 good demonstrations of a required output style, no preference data, and a model that misses the style on a share of calls. What should they try first? Choose one answer.
Check answer
Question 72 of 105 Which task is the best fit for GRPO with verifiable rewards? Choose one answer.
Check answer
Question 73 of 105 A preference-tuned model is starting to exploit its scorer. Which of these are defences the lesson names? Select all that apply. Choose all that apply.
Check answer
Objective Design a ship gate for a tuned model: the baseline ladder, a task metric with a confidence interval and slices, and separate regression, safety and format checks, each with a pass rule written down in advance.Question 74 of 105 A tuned invoice-extraction model raises overall field accuracy over the best prompt. The team proposes shipping. Which addition to the gate matters most before the decision? Choose one answer.
Check answer
Question 75 of 105 On 300 held-out items the baseline scores 0.75 and the tuned model 0.78, scored independently. The standard error of each score is about 0.025. How should the gate read the 3-point gain? Choose one answer.
Check answer
Question 76 of 105 A tuned model produces valid JSON on 99.6 percent of calls, up from 96 percent. A teammate says the format suite makes the accuracy suite unnecessary. What is the best reply? Choose one answer.
Check answer
Question 86 of 105 A tuned summariser beats the team's first-draft prompt. A stronger prompt with retrieval exists, and a newer base model was released last month. Which comparison does the gate need? Choose one answer.
Check answer
Objective Detect forgetting and safety regression by running the same suites on the base and the tuned model, and choose the mitigation each signal points to.Question 77 of 105 A tuned model scores 61 on a hard general-knowledge suite. The team calls that fine, since 61 is well above chance. What is missing before it can be called free of forgetting? Choose one answer.
Check answer
Question 78 of 105 A team tuned on harmless customer-service chats and says safety testing is unnecessary. They ran the base model's safety suite last month. Which response is best? Choose one answer.
Check answer
Question 79 of 105 Relative to the base, a tuned model's general suite fell and its task score rose. The run used full fine-tuning, a high learning rate and a narrow dataset. Which first action fits? Choose one answer.
Check answer
Objective Choose between merged weights and separate adapters for serving, say what task arithmetic, TIES and DARE each do, and name what to re-check after a merge.Question 80 of 105 A platform serves 200 tenants, each with its own tuned behaviour on one base model, and needs to undo a bad update within minutes. Which setup fits best? Choose one answer.
Check answer
Question 81 of 105 Which statements about model-merging methods are true? Select all that apply. Choose all that apply.
Check answer
Question 82 of 105 An adapter that passed the gate is merged into a 4-bit quantised base for serving, and users report slightly worse answers. What is the most likely explanation and next step? Choose one answer.
Check answer
Objective Plan an embedding, reranker or distillation tune: what is trained, what it forces downstream, and how to evaluate it.Question 83 of 105 A tuned embedding model raises recall on held-out queries. The index was built with the old model. What must the rollout include? Choose one answer.
Check answer
Question 84 of 105 A RAG system retrieves the right passages in its top 20 but often ranks them below position 5. Which tune is the smallest change that targets the problem? Choose one answer.
Check answer
Question 85 of 105 A distilled student matches its teacher on the average score of a held-out set. What should the team check next? Choose one answer.
Check answer
Objective Give a 90-second answer to whether a team should fine-tune, covering the failure kind, the baseline a tune must beat, the break-even against a cheaper alternative, and the upkeep.Question 87 of 105 A support bot quotes outdated prices. The board asks whether to fine-tune it. Which opening shows the best judgement? Choose one answer.
Check answer
Question 88 of 105 A tune would save the cost of a long fixed prefix on every call. Which step of the opener tests whether the project is worth it? Choose one answer.
Check answer
Question 103 of 105 A tune shipped six months ago and a stronger base model is now available. What is the first step? Choose one answer.
Check answer
Question 104 of 105 Which comparison decides whether a tune has earned its place? Choose one answer.
Check answer
Objective Work the memory derivations: model states of full fine-tuning at 16 bytes per parameter, the trainable parameters of a stated LoRA setup, QLoRA states, and ZeRO per-GPU states, and say what each estimate leaves out.Question 89 of 105 Full fine-tuning of a 3B-parameter model with Adam in mixed precision. About how many GB of model states? Choose one answer.
Check answer
Question 90 of 105 LoRA at rank 8 on the query and value projections only, in a decoder with hidden size 1,024, square projections and 12 layers. How many trainable parameters? Choose one answer.
196,608, from rank times output size for each of the two matrices in every layer. 25,165,824, from two full 1,024 × 1,024 matrices per layer over 12 layers. 393,216, from 8 × (1,024 + 1,024) per matrix, two matrices per layer, 12 layers. Check answer
Question 91 of 105 QLoRA on a 20B model with an adapter of 0.5 percent gives about 11.9 GB of states, including the quantisation constants. A team has a 12 GB card. Will it train? Choose one answer.
Check answer
Question 92 of 105 A 20B model is fully tuned on 8 GPUs of 80 GB. What are the model states per GPU under ZeRO-2? Choose one answer.
Check answer
Objective Work a training-time estimate from 6ND with LoRA at about two thirds, and the DPO loss for given log-ratios, and say what a larger beta does.Question 93 of 105 A 3B model is trained on 20 million tokens for 3 epochs on one GPU sustaining 200 TFLOP/s. Full tuning takes about 1.5 hours. About how long does a LoRA run take? Choose one answer.
Check answer
Question 94 of 105 Why does LoRA cost about two thirds of full fine-tuning compute and not far less? Choose one answer.
Check answer
Question 95 of 105 DPO with beta 0.5. The preferred answer has log-ratio +0.4 and the rejected answer -0.8. What is the loss for this pair? Choose one answer.
Check answer
Question 96 of 105 One pair has a preferred log-ratio higher than the rejected one, and both stay fixed while beta rises from 0.1 to 0.5. What happens? Choose one answer.
Check answer
Objective Structure a 40-minute answer to design a fine-tuning program, from clarifying questions and a baseline through data, method, evaluation gate, rollout and upkeep.Question 97 of 105 A platform sends a 1,200-token prompt on 3 million tickets a day, and the board asks about tuning. After clarifying goals, what is the next step in a strong answer? Choose one answer.
Check answer
Question 98 of 105 A tuned small model beats the baseline on average accuracy. Which addition makes the ship decision defensible? Choose one answer.
Check answer
Question 99 of 105 The 60,000 tickets come from threads of several tickets each. How should the held-out set be chosen? Choose one answer.
Check answer
Question 105 of 105 A LoRA adapter has passed the gate. Which rollout plan fits the design answer? Choose one answer.
Check answer
Objective Diagnose a described symptom, such as a clean loss with broken output, a fall in general ability or a score that jumped after a data refresh, by naming the likely causes in order and the first thing to check.Question 100 of 105 Training loss is smooth and low, yet the tuned model returns broken JSON in production. What is the best first check? Choose one answer.
Check answer
Question 101 of 105 The offline score jumped 15 points after a data refresh, but production did not move. Which check comes first? Choose one answer.
Check answer
Question 102 of 105 After tuning, the task score rose and a general-ability benchmark fell. What is the best first check? Choose one answer.
Check answer