Huawei HCIP-AI-EI Developer V2.5 - H13-321_V2.5 Exam Practice Test

Seq2Seq is a model that translates one sequence into another sequence, essentially consisting of two recurrent neural networks (RNNs), one is the Encoder, and the other is the ---------. (Fill in the blank.)
Correct Answer:
Decoder
Explanation:
The Seq2Seq architecture is widely used in machine translation, speech recognition, and other NLP tasks. It consists of:
* Encoder:Processes the input sequence and encodes it into a fixed-length context vector containing semantic information.
* Decoder:Uses this context vector to generate the target output sequence step by step.
Exact Extract from HCIP-AI EI Developer V2.5:
"Seq2Seq models consist of an encoder and a decoder. The encoder transforms the input into a context vector, which the decoder uses to generate the output sequence." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: Encoder-Decoder Architecture
The attention mechanism in foundation model architectures allows the model to focus on specific parts of the input data. Which of the following steps are key components of a standard attention mechanism?
Correct Answer: A,C,D Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
The deep neural network (DNN)-hidden Markov model (HMM) does not require the HMM-Gaussian mixture model (GMM) as an auxiliary.
Correct Answer: B Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
In NLP tasks, transformer models perform well in multiple tasks due to their self-attention mechanism and parallel computing capability. Which of the following statements about transformer models are true?
Correct Answer: A,B,C Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
If a scanned document is not properly placed, and the text is tilted, it is difficult to recognize the characters in the document. Which of the following techniques can be used for correction in this case?
Correct Answer: A,D Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
When the chi-square test is used for feature selection, SelectKBest and _____ function or class must be imported from the sklearn.feature_selection module. (Enter the function interface name.) chi2 Explanation:
In feature selection for classification tasks, thechi-square (#²)statistical test can be applied to evaluate the independence between features and target labels.
In Python's scikit-learn library, this is implemented using:
Correct Answer:
python
CopyEdit
from sklearn.feature_selection import SelectKBest, chi2
SelectKBest selects the top K features based on scores returned by the chi2 function.
Exact Extract from HCIP-AI EI Developer V2.5:
"In scikit-learn, SelectKBest with chi2 can be used for feature selection by scoring features according to the chi-square statistic." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: Feature Selection Methods