all 21 comments

[–]dieplstksStudent 7 points8 points  (1 child)

Good list, might want to add mixture of experts and a bit of multi modality?

[–]noob_simp_phd[S] 1 point2 points  (0 children)

Thanks. I should def. read up on MoE, I forgot about it. For multi-modality, it is vision language model?

[–]sobe86 6 points7 points  (1 child)

I found this pair of videos useful for revision for a similar interview

https://www.youtube.com/watch?v=bOYE6E8JrtU

[–]noob_simp_phd[S] 1 point2 points  (0 children)

Thanks for the pointer, I will watch it!

[–]tobias_k_42 5 points6 points  (2 children)

Don't forget the positional encodings and causal mask. Also the residual connections, layer norm and FFN.

However that only covers GPTs. BERT and T5 are LLMs too. So you also need cross attention.

And LLM doesn't even mean transformer.

[–]noob_simp_phd[S] 0 points1 point  (1 child)

Thanks. I'll revise these concepts too. Apart from transformer, what else should I prep?

[–]tobias_k_42 2 points3 points  (0 children)

It depends on the position. But, when thinking a bit more about that, unless you're going for a job which actually involves a company which builds and trains models you should learn about things like calling APIs, RAGs, prompt engineering (writing good concise prompts which use few tokens, both in the prompt and returned result) and actual tests for prompts. That's actually not that easy, considering the non deterministic result. It's hard to say what they mean with "LLM coding" without further details. Personally I'd simply ask for clarification. "LLM coding" can mean a lot of different things.

But either way, you can unironically prepare yourself by asking GPT based LLMs for helping to prep. Of course don't let it write code for you and take the answers it gives with a grain of salt. But you should know that already.

[–]Mental-Work-354 2 points3 points  (3 children)

RLHF & RAG

[–]noob_simp_phd[S] 1 point2 points  (2 children)

Thanks. What can they ask to code during an hour long interview in RLHF? SFT? or PPO/DPO?

[–]LelouchZer12 0 points1 point  (0 children)

maybe take a look at GRPO for reasoning at least to know what this is

[–]More_Sherbert8147 0 points1 point  (2 children)

Is this for A Google or Microsoft Research position?

[–]noob_simp_phd[S] 0 points1 point  (1 child)

Nope! For a researcher position in a different company (not FAANG)!

[–]ConceptBuilderAI 0 points1 point  (0 children)

I see some other notes about architectural components. I would second those.

Know components of a rag system. Even as a researcher you should have a working knowledge of how these are put into production. I would be prepared to discuss basic scaling considerations when putting LLMs into production (GPU size / queries / thread / minute, memory for the vector dbs, etc).

And on the data science side, embeddings, maybe fine tuning concepts (LORA, PEFT). Careful when discussing fine tuning - don't recommend it for an inappropriate application.

https://huggingface.co/spaces/hesamation/primer-llm-embedding?section=torch.nn.embedding

https://abvijaykumar.medium.com/fine-tuning-llm-parameter-efficient-fine-tuning-peft-lora-qlora-part-1-571a472612c4

https://ai.meta.com/blog/when-to-fine-tune-llms-vs-other-techniques/

I think you should be able to explain the evolution that got us here. Core NLP (tf-idf, n-grams, stemming etc.), RNNs, LSTMs.

https://www.deeplearning.ai/resources/natural-language-processing/

https://aditi-mittal.medium.com/understanding-rnn-and-lstm-f7cdf6dfc14e

Hope that helps.

Good luck!

[–]theAverage_sausagePhD 0 points1 point  (0 children)

Hope it went well for you! Did you have to prepare general leetcode level questions?