Machine Learning Transformers
Machine Learning Transformers Quiz
Questions
What is the primary function of a transformer in machine learning?
- Image classification
- Natural language processing
- Speech recognition
- Time series forecasting
Which of the following is a key component of a transformer architecture?
- Convolutional layers
- Recurrent layers
- Attention mechanism
- Pooling layers
What is the primary advantage of transformers over traditional recurrent neural networks (RNNs) for natural language processing tasks?
- Faster training time
- Better accuracy
- Ability to handle longer sequences
- Reduced computational cost
Which of the following is a commonly used transformer architecture for natural language processing tasks?
- BERT
- GPT-3
- TransformerXL
- XLNet
What is the main purpose of pre-training a transformer model?
- To improve accuracy on specific tasks
- To reduce training time on downstream tasks
- To learn general representations of language
- To optimize the model's hyperparameters
Which of the following is a common application of transformers in natural language processing?
- Machine translation
- Text summarization
- Question answering
- All of the above
What is the primary challenge in training transformer models?
- Overfitting
- Underfitting
- Vanishing gradients
- Exploding gradients
Which of the following techniques is commonly used to address overfitting in transformer models?
- Dropout
- Data augmentation
- Early stopping
- All of the above
What is the main advantage of using transformers in computer vision tasks?
- Improved accuracy
- Reduced computational cost
- Ability to handle high-resolution images
- All of the above
Which of the following is a commonly used transformer architecture for computer vision tasks?
- ViT (Vision Transformer)
- DETR (Detection Transformer)
- Swin Transformer
- All of the above
What is the primary challenge in training transformer models for computer vision tasks?
- Overfitting
- Underfitting
- Vanishing gradients
- Exploding gradients
Which of the following techniques is commonly used to address overfitting in transformer models for computer vision tasks?
- Dropout
- Data augmentation
- Early stopping
- All of the above
What is the main advantage of using transformers in speech recognition tasks?
- Improved accuracy
- Reduced computational cost
- Ability to handle long audio sequences
- All of the above
Which of the following is a commonly used transformer architecture for speech recognition tasks?
- Conformer
- Transformer-XL
- Wav2Vec 2.0
- All of the above
What is the primary challenge in training transformer models for speech recognition tasks?
- Overfitting
- Underfitting
- Vanishing gradients
- Exploding gradients
Which of the following techniques is commonly used to address overfitting in transformer models for speech recognition tasks?
- Dropout
- Data augmentation
- Early stopping
- All of the above