NCA-GENM Question 148
Select 3You are tasked with writing a Python script to preprocess multimodal data (images and text) for a generative AI model. A senior team member provides you with a high-level design that includes loading data, resizing images, tokenizing text, and saving the processed data in a specific format. What steps should you focus on implementing under their supervision?
- A
Implement a function to resize images to the required dimensions.
- B
Design the architecture of the generative AI model from scratch.
- C
Write a script to tokenize text data using a specified tokenizer.
- D
Create a detailed training plan for the generative AI model.
- E
Save the processed data into the specified format as per the instructions.
Show answer and explanation
Correct answers: A, C, E
Explanation
As a junior team member working under supervision, your focus should be on implementing the specified preprocessing tasks, such as resizing images, tokenizing text, and saving data into the required format. Higher-level tasks like model architecture design or creating a training plan are outside the scope of your responsibilities in this scenario.
- A. Correct.
Correct. Resizing images is a preprocessing task and aligns with the instructions provided by the senior team member.
- B. Incorrect.
Incorrect. Designing the architecture of the generative AI model is a high-level task that is typically handled by senior or experienced team members.
- C. Correct.
Correct. Tokenizing text data is a key preprocessing step outlined in the instructions you were given.
- D. Incorrect.
Incorrect. Creating a training plan is a strategic task and not part of the immediate preprocessing script you were asked to write.
- E. Correct.
Correct. Saving processed data into the specified format is part of the preprocessing workflow and aligns with the instructions provided by the senior team member.