Context Window profile picture

Context Window (@contextwindows)

Followers
528 followers
Following
0 following
Likes
2.5K
Videos
87
Avg length
0:47

AI, explained visually! Interview prep: contextwindowprep.com

Playlists Liked videos

Latest videos by Context Window

  • Can you solve this Anthropic interview question? Speculative decoding makes a 70B model over twice… – video , 995 views, duration 0:45

    37 likes 1 comment 1 share 18 saves

    Can you solve this Anthropic interview question? Speculative decoding makes a 70B model over twice as fast overnight. At peak, when hundreds of short requests share each step, the same setup slows the server down. Acceptance is the same at both times, the draft is quick, and speculation doesn't…

  • Can you solve this Meta interview question? Your reward model picks the same answer as the human… – video , 666 views, duration 0:47

    16 likes 7 comments 2 shares 6 saves

    Can you solve this Meta interview question? Your reward model picks the same answer as the human labeler on 70% of held-out pairs. You train one twice the size on the same preference data, and it gets 71%. Why is it stuck there? Tell us in the comments what you'd look at first. #rlhf #rewardmodel…

  • Can you solve this NVIDIA interview question? At initialization, a 96-layer model's residual… – video , 1.1K views, duration 0:46

    32 likes 2 comments 1 share 17 saves

    Can you solve this NVIDIA interview question? At initialization, a 96-layer model's residual stream is about ten times bigger at the top than at the bottom. Each block normalizes its input, runs attention or an MLP, and adds the output back onto the stream. Nothing is trained yet and every weight…

  • Can you solve this OpenAI interview question? Halfway through GRPO training, more than half the… – video , 608 views, duration 0:47

    42 likes 2 comments 1 share 12 saves

    Can you solve this OpenAI interview question? Halfway through GRPO training, more than half the prompts in each batch stop adding anything to the update, even though the average reward is only 60%. Each prompt gets eight sampled answers scored 1 or 0, an answer's advantage is its reward minus the…

  • Can you solve this AI engineer interview question? A user asks for a replacement for part… – video , 752 views, duration 0:49

    27 likes 2 comments 2 shares 13 saves

    Can you solve this AI engineer interview question? A user asks for a replacement for part XJ-4471-B. Plain keyword search finds the right 300-word chunk right away, but your embedding search can't, even though the chunk fits the embedder's input, the tokenizer splits the code into ordinary pieces…

  • Can you solve this Mistral interview question? You average the weights of your last five… – video , 583 views, duration 0:43

    31 likes 1 comment 0 shares 8 saves

    Can you solve this Mistral interview question? You average the weights of your last five checkpoints, and the average beats every one of them. The run keeps a fairly high, constant learning rate, fp32 master weights and one data mix, with checkpoints 1,000 steps apart, and the loss is flat and…

  • Can you solve this AI engineer interview question? You're training with SGD and momentum, and the… – video , 1.9K views, duration 0:51

    39 likes 5 comments 2 shares 18 saves

    Can you solve this AI engineer interview question? You're training with SGD and momentum, and the loss spikes every so often. You clip each gradient entry to between minus one and one, while a teammate rescales the whole gradient whenever its norm passes a threshold. Both stop the spikes, but the…

  • Your image-text model keeps improving as the batch grows, but a captioning model on the same pairs… – video , 375 views, duration 0:43

    9 likes 1 comment 0 shares 3 saves

    Your image-text model keeps improving as the batch grows, but a captioning model on the same pairs stopped a while ago. Each image has to pick its own caption out of every caption in the batch. What keeps it gaining? Tell us your pick and why. #AI #MachineLearning #DeepLearning #ComputerVision…

  • Every layer of this model only looks 4,096 tokens back, and it still answers a question about a… – video , 1.2K views, duration 0:45

    33 likes 2 comments 0 shares 8 saves

    Every layer of this model only looks 4,096 tokens back, and it still answers a question about a detail from 12,000 tokens earlier. How does the detail get to the end? Tell us your pick and why. #AI #MachineLearning #LLM #Transformers #InterviewPrep

  • Can you solve this Google DeepMind interview question? You forgot positional encodings in a… – video , 499 views, duration 0:48

    14 likes 3 comments 4 shares 7 saves

    Can you solve this Google DeepMind interview question? You forgot positional encodings in a GPT-style decoder with a causal mask, and it still uses word order, with a loss close to a normal model's. The same mistake in a BERT-style encoder with no mask does much worse. Where is the GPT model…

  • This translation model scores each source word with a times the decoder's state plus b times that… – video , 412 views, duration 0:52

    18 likes 3 comments 0 shares 5 saves

    This translation model scores each source word with a times the decoder's state plus b times that word's encoding, then a softmax. It trains fine, but every word it writes attends to the same place. What's wrong with the scoring function? Tell us your pick and why in the comments. #machinelearning…

  • Can you solve this DeepSeek interview question? You switch a 70B pretraining run on 2,048-token… – video , 486 views, duration 0:50

    14 likes 1 comment 0 shares 10 saves

    Can you solve this DeepSeek interview question? You switch a 70B pretraining run on 2,048-token sequences to FlashAttention, and the attention kernels get three times faster, forward and backward. The whole training step gets about 4% faster, and the profiler shows the GPUs computing through the…

  • Can you solve this Meta interview question? A GPT-style model keeps every earlier token's keys and… – video , 603 views, duration 0:49

    22 likes 2 comments 2 shares 8 saves

    Can you solve this Meta interview question? A GPT-style model keeps every earlier token's keys and values, and each new token computes only its own. Train the same model without the causal mask, so every token attends to every other, and the cache can't be reused anymore. Why not? Tell us your…

  • Can you solve this Anthropic interview question? A bf16 run with no overflow and no NaNs tracks… – video , 635 views, duration 0:55

    23 likes 4 comments 0 shares 6 saves

    Can you solve this Anthropic interview question? A bf16 run with no overflow and no NaNs tracks its fp32 baseline for most of training, then goes flat late while the fp32 run keeps improving. It trains entirely in bf16, weights included, with no loss scaling and no fp32 master copy, and the…

  • A mixture-of-experts layer with 64 balanced experts, and most of each one handles the same syntax… – video , 584 views, duration 0:49

    17 likes 4 comments 1 share 8 saves

    A mixture-of-experts layer with 64 balanced experts, and most of each one handles the same syntax, frequent words and formatting. Only a small slice does anything unique. What would you change so they specialize? Tell us your pick and why. #AI #MachineLearning #LLM #MixtureOfExperts #InterviewPrep

  • Can you solve this Anthropic interview question? FlashAttention gives the same attention output as… – video , 438 views, duration 0:52

    17 likes 4 comments 0 shares 4 saves

    Can you solve this Anthropic interview question? FlashAttention gives the same attention output as the standard kernel, to rounding, and its memory grows linearly with sequence length instead of quadratically. It streams blocks of keys and values through the GPU's small on-chip memory and keeps a…

  • Can you solve this Google DeepMind interview question? Rounding a model's weights to 3 bits, one… – video , 874 views, duration 0:47

    25 likes 2 comments 2 shares 11 saves

    Can you solve this Google DeepMind interview question? Rounding a model's weights to 3 bits, one group at a time, costs noticeable accuracy, and keeping just 1% of the weight channels in 16-bit wins most of it back if you pick the ones with the largest activations. But a matrix with two precisions…

  • Can you solve this Meta interview question? Your reasoning model writes a chain of thought before… – video , 376 views, duration 0:47

    10 likes 1 comment 2 shares 7 saves

    Can you solve this Meta interview question? Your reasoning model writes a chain of thought before it answers, and on hard math problems it often quits right after its first guess and commits to a wrong answer. You can't retrain it, but you're happy to spend more compute on each problem at test…

  • Can you solve this Mistral interview question? You're training a model on math with RL, with eight… – video , 392 views, duration 0:45

    15 likes 4 comments 0 shares 5 saves

    Can you solve this Mistral interview question? You're training a model on math with RL, with eight answers per problem, each scored against its group's average. Training accuracy jumps from 30% to 80%, then progress almost stops and the gradients keep shrinking, even though the model still misses…

  • A Mistral interview question. The same 7B model was trained on code twice. Full fine-tuning… – video , 392 views, duration 0:44

    19 likes 1 comment 1 share 7 saves

    A Mistral interview question. The same 7B model was trained on code twice. Full fine-tuning learned more code, and LoRA forgot less of everything else. What explains the trade-off? Let us know in the comments. #machinelearning #ai #llm #finetuning #interviewprep

  • Fine-tune a small language model on Wikipedia, have it write a new dataset, and train the next… – video , 1.4K views, duration 0:48

    32 likes 2 comments 0 shares 13 saves

    Fine-tune a small language model on Wikipedia, have it write a new dataset, and train the next model only on that. Repeat a few times and the text gets more typical while rare facts and odd phrasings fade out. If you still want to train on generated text, what would you change? Tell us in the…

  • A 7-billion-parameter model on one H100, one user, one token at a time. nvidia-smi says 100% busy… – video , 437 views, duration 0:45

    9 likes 1 comment 0 shares 3 saves

    A 7-billion-parameter model on one H100, one user, one token at a time. nvidia-smi says 100% busy, but the chip is using less than 1% of its math. What's holding it back? Tell us in the comments. #AI #MachineLearning #GPU #LLM #techinterview

  • Can you solve this NVIDIA interview question? Your model is split into 4 pipeline stages on 4… – video , 619 views, duration 0:49

    16 likes 2 comments 0 shares 1 save

    Can you solve this NVIDIA interview question? Your model is split into 4 pipeline stages on 4 GPUs, and each batch runs forward through all of them, then backward. Every GPU spends most of its time waiting on its neighbors, so utilization sits around 25%. The batch size can't change and the…

  • Can you solve this Anthropic interview question? Your small language model has a 50,000-word… – video , 2.5K views, duration 0:44

    66 likes 3 comments 8 shares 31 saves

    Can you solve this Anthropic interview question? Your small language model has a 50,000-word vocabulary and a hidden size of 512. The input embedding and the output softmax matrix are about 25 million parameters each, which is most of the model. How would you cut parameters without perplexity…

  • Can you solve this Google DeepMind interview question? A language model looks up a learned vector… – video , 518 views, duration 0:45

    14 likes 12 comments 0 shares 2 saves

    Can you solve this Google DeepMind interview question? A language model looks up a learned vector for each context word, adds the vectors together and predicts the next word from that sum. It gives exactly the same predictions after "dog bites person" as after "person bites dog". Which change…

  • Can you solve this DeepSeek interview question? You're deduplicating 96 Common Crawl snapshots… – video , 666 views, duration 0:52

    12 likes 1 comment 2 shares 7 saves

    Can you solve this DeepSeek interview question? You're deduplicating 96 Common Crawl snapshots with MinHash, all of them together. In the oldest snapshots that throws out as much as 90% of the documents, and training on what's left scores worse than training on the part you removed, once that part…

  • Can you solve this Meta interview question? You're training a model on math with GRPO, with a… – video , 347 views, duration 0:45

    8 likes 0 comments 0 shares 3 saves

    Can you solve this Meta interview question? You're training a model on math with GRPO, with a reward of 1 for a correct final answer and 0 otherwise. As training goes on, the correct answers stop getting longer early, while the wrong ones keep growing. What's making the wrong answers longer? Let…

  • Your translation Transformer swaps eight attention heads of 64 dimensions for one head of 512… – video , 1.8K views, duration 0:48

    52 likes 2 comments 2 shares 25 saves

    Your translation Transformer swaps eight attention heads of 64 dimensions for one head of 512. Same parameters, same compute, and BLEU still drops by almost a point. Why does one big head do worse? Tell us your pick in the comments and how you'd check it. #machinelearning #transformers #nlp #llm…

  • Can you solve this NVIDIA interview question? Round every weight of a large model to the nearest… – video , 421 views, duration 0:46

    6 likes 0 comments 1 share 1 save

    Can you solve this NVIDIA interview question? Round every weight of a large model to the nearest 3-bit value, one matrix at a time, and perplexity blows up. Each error is small on its own, but they pile up in the layer's outputs. With a few hundred calibration samples and no retraining, how would…

  • Can you solve this Anthropic interview question? 32 sequences won't fit on your GPU, so you run 4… – video , 608 views, duration 0:45

    15 likes 1 comment 3 shares 10 saves

    Can you solve this Anthropic interview question? 32 sequences won't fit on your GPU, so you run 4 micro-batches of 8, take each one's loss as the mean over its own non-padding tokens, and average the 4. With sequence lengths all over the place, the loss curve doesn't match a run that really used a…

Showing 30 of 87 videos

Load more videos

Explore & export videos

Context Window TikTok stats

Context Window (@contextwindows) has 528 TikTok followers as of .

Followers
528
Likes
2,463
Videos
87
Likes per video
28
Average video length
0:47
Median per post
606 views · 18 likes · 2 comments · 1 share · 8 saves
Average engagement per view - follower
3.5% - 0.05
Average views per follower
1.46
Most viewed recent posts
  1. “Can you solve this Anthropic interview question? Your…” · 2.5K views · 66 likes · 3 comments ·
  2. “Can you solve this AI engineer interview question? You're…” · 1.9K views · 39 likes · 5 comments ·
  3. “Your translation Transformer swaps eight attention heads…” · 1.8K views · 52 likes · 2 comments ·
Last post
(1 day before this check)
Posting rate
about 13.1 posts a week
TikTok content labels
Video Games (15 of 18 posts), Games (15 of 18 posts)
Hashtags used most
#MachineLearning (30), #LLM (24), #AI (19), #InterviewPrep (10), #aiinterview (9)

How these numbers are counted

About Context Window

Account created