Skip to content
RED SAG Skills

Easy Machine Learning Engineer questions

168 questions · 5 points each for a correct first answer.

  1. 1.Big gap between train and validation accuracyeasy
  2. 2.Why keep a separate test seteasy
  3. 3.Which model needs feature scalingeasy
  4. 4.Definition of precisioneasy
  5. 5.Symptom of a learning rate that is too higheasy
  6. 6.Encoding a city featureeasy
  7. 7.Bias and variance as complexity growseasy
  8. 8.Accuracy on imbalanced dataeasy
  9. 9.Shape of a matrix producteasy
  10. 10.Cosine similarity by handeasy
  11. 11.Chain rule on a squared termeasy
  12. 12.What sampling temperature doeseasy
  13. 13.Standard error of a sample meaneasy
  14. 14.What logistic regression outputseasy
  15. 15.k-nearest neighbours voteeasy
  16. 16.What k-means minimiseseasy
  17. 17.Variance kept by two componentseasy
  18. 18.Gini impurity of a nodeeasy
  19. 19.Why random forests average treeseasy
  20. 20.ReLU applied to a vectoreasy
  21. 21.Recall from confusion countseasy
  22. 22.RMSE from four errorseasy
  23. 23.Broadcasting a column and a roweasy
  24. 24.Dropout after eval()easy
  25. 25.Why export a model to ONNXeasy
  26. 26.Why LLMs use subword tokenseasy
  27. 27.What text embeddings captureeasy
  28. 28.Standardising a single valueeasy
  29. 29.When early stopping triggerseasy
  30. 30.Optimizer steps in one epocheasy
  31. 31.Expected starting loss, 10 classeseasy
  32. 32.What retrieval-augmented generation addseasy
  33. 33.What data drift meanseasy
  34. 34.What prompt injection iseasy
  35. 35.Parameters in nn.Linear(10, 5)easy
  36. 36.Why sigmoid slows deep trainingeasy
  37. 37.Range of tanheasy
  38. 38.Cross-entropy loss by handeasy
  39. 39.Telling autograd to track a tensoreasy
  40. 40.Why wrap inference in no_gradeasy
  41. 41.Logging loss without leaking memoryeasy
  42. 42.Feeding a single image to a CNNeasy
  43. 43.Tensors on different deviceseasy
  44. 44.model(x) versus model.forward(x)easy
  45. 45.Methods a map-style Dataset needseasy
  46. 46.Where to set shuffle=Trueeasy
  47. 47.Default betas in Adameasy
  48. 48.Saving a trained modeleasy
  49. 49.Adding weight decay to an optimisereasy
  50. 50.Size after nn.Flatteneasy
  51. 51.Padding that keeps image sizeeasy
  52. 52.Shape after max poolingeasy
  53. 53.Global average poolingeasy
  54. 54.Preprocessing for a pretrained ResNeteasy
  55. 55.What ToTensor does to pixelseasy
  56. 56.Where random flips belongeasy
  57. 57.What an RNN carries between stepseasy
  58. 58.The attention formulaeasy
  59. 59.Size of each attention headeasy
  60. 60.How BERT is pretrainedeasy
  61. 61.Size of an embedding tableeasy
  62. 62.Patches in a Vision Transformereasy
  63. 63.Purpose of an autoencoder bottleneckeasy
  64. 64.Model type for ticket classificationeasy
  65. 65.Slope of the sigmoid at zeroeasy
  66. 66.ReLU gradient below zeroeasy
  67. 67.Chain rule through two linear stepseasy
  68. 68.Entropy of a fair four-way choiceeasy
  69. 69.Shape of a cosine LR scheduleeasy
  70. 70.Every weight set to zeroeasy
  71. 71.Loss crawls down very slowlyeasy
  72. 72.Spotting vanishing gradientseasy
  73. 73.Up-weighting a rare classeasy
  74. 74.800 labelled imageseasy
  75. 75.NaN from a hand-written log losseasy
  76. 76.Dropout set to 0.9easy
  77. 77.What DDP syncs between GPUseasy
  78. 78.DataParallel or DistributedDataParalleleasy
  79. 79.What full fine-tuning changeseasy
  80. 80.Why begin from a pretrained modeleasy
  81. 81.Training only a new headeasy
  82. 82.Learning rate for fine-tuningeasy
  83. 83.Shape of SFT training dataeasy
  84. 84.Reading train and validation losseasy
  85. 85.Meaning of PEFTeasy
  86. 86.What the LoRA rank r setseasy
  87. 87.Merging a LoRA adaptereasy
  88. 88.What QLoRA adds to LoRAeasy
  89. 89.Choosing the tokenizereasy
  90. 90.Prompt format after SFTeasy
  91. 91.Purpose of instruction tuningeasy
  92. 92.First step before fine-tuningeasy
  93. 93.Role of lora_dropouteasy
  94. 94.Order of classic RLHF stageseasy
  95. 95.What a reward model returnseasy
  96. 96.Format of preference dataeasy
  97. 97.Basic idea of distillationeasy
  98. 98.Why soft targets help a studenteasy
  99. 99.Temperature in distillationeasy
  100. 100.Training on a bigger model's answerseasy
  101. 101.Using another provider's outputseasy
  102. 102.Labellers disagree on answerseasy
  103. 103.Meaning of RLAIFeasy
  104. 104.Teaching safe refusalseasy
  105. 105.What reward hacking meanseasy
  106. 106.Purpose of the KL penaltyeasy
  107. 107.Meaning of the alignment taxeasy
  108. 108.Picking a student modeleasy
  109. 109.Library for SFT and DPO runseasy
  110. 110.Adding LoRA with the PEFT libraryeasy
  111. 111.Splitting a skewed label seteasy
  112. 112.Why save checkpointseasy
  113. 113.Fine-tuning BERT for classificationeasy
  114. 114.Data for tuning an embedding modeleasy
  115. 115.Speech model misses local accentseasy
  116. 116.Teaching a domain vocabularyeasy
  117. 117.Customer data in training setseasy
  118. 118.File format for hosted fine-tuningeasy
  119. 119.How many epochs for LLM SFTeasy
  120. 120.Comparing many training runseasy
  121. 121.Making runs repeatableeasy
  122. 122.New classes for an image modeleasy
  123. 123.Small data for a narrow taskeasy
  124. 124.What to record for each adaptereasy
  125. 125.Early stopping patienceeasy
  126. 126.What BitFit trainseasy
  127. 127.Predicting a flat price in rupeeseasy
  128. 128.One gradient descent stepeasy
  129. 129.Sigmoid at zeroeasy
  130. 130.Logistic regression with five classeseasy
  131. 131.The naive part of Naive Bayeseasy
  132. 132.Entropy of a 50/50 nodeeasy
  133. 133.Tree with no depth limiteasy
  134. 134.Prediction after one boosting roundeasy
  135. 135.Which points shape an SVMeasy
  136. 136.Label -1 in DBSCAN outputeasy
  137. 137.Imputing missing incomeeasy
  138. 138.Scaling a feature with big outlierseasy
  139. 139.Encoding education leveleasy
  140. 140.Spot the bug in training codeeasy
  141. 141.Parameter or hyperparametereasy
  142. 142.Degree-15 curve on 16 pointseasy
  143. 143.What bag-of-words throws awayeasy
  144. 144.Learning from rewardseasy
  145. 145.5,000 features, 300 rowseasy
  146. 146.A movie that is several genreseasy
  147. 147.Logistic regression on XOReasy
  148. 148.Baseline for a tabular dataseteasy
  149. 149.How KNNImputer fills a gapeasy
  150. 150.What the intercept meanseasy
  151. 151.A column with one valueeasy
  152. 152.Batch, stochastic or mini-batcheasy
  153. 153.How often a row is validated in k-foldeasy
  154. 154.Why stratify the foldseasy
  155. 155.Specificity by handeasy
  156. 156.The x-axis of an ROC curveeasy
  157. 157.MAE of three errorseasy
  158. 158.MAPE by handeasy
  159. 159.R-squared by handeasy
  160. 160.Lowering the decision thresholdeasy
  161. 161.Top-5 accuracyeasy
  162. 162.First number to compare againsteasy
  163. 163.Recall at 10 by handeasy
  164. 164.Score versus tree deptheasy
  165. 165.Accuracy from confusion countseasy
  166. 166.Reporting cross-validation resultseasy
  167. 167.Test set from a later periodeasy
  168. 168.Checking a 90% prediction intervaleasy