Transformers Architecture: Scenarios
Questions covered
- You need to classify long legal documents (20k tokens) with a model whose context is 4k. Options?
- Inference with your Transformer is too slow for real-time use. What can you do?
- Your fine-tuned BERT model performs worse than TF-IDF + logistic regression on a small dataset. Why might that be?
- You see attention weights concentrating heavily on the first token in many heads. Is that a bug?
- How would you adapt a pre-trained English Transformer to a low-resource language?
This lesson is part of AI & ML Interview Prep. Unlock the full course to read it, take the quiz and track your progress.