Question
Which natural language processing (NLP) technique is
best suited for understanding the contextual meaning of words in a sentence?Solution
Transformers like BERT (Bidirectional Encoder Representations from Transformers) have revolutionized NLP by capturing contextual word representations. Unlike traditional techniques, BERT processes words in both their preceding and succeeding contexts, enabling nuanced understanding. 1. Contextual Embeddings: BERT generates embeddings that vary depending on the surrounding words, addressing issues like polysemy (e.g., "bank" as a financial institution vs. a riverbank). 2. Bidirectionality: By analyzing text in both directions, BERT captures deeper linguistic patterns and relationships. 3. Pretraining and Fine-Tuning: BERT is pretrained on vast corpora and fine-tuned for specific NLP tasks, making it versatile for applications like sentiment analysis, question answering, and translation. Why Other Options Are Incorrect: • A) Bag of Words: Ignores word order and context, treating sentences as a collection of words. • B) One-Hot Encoding: Fails to capture semantic relationships between words. • C) Word2Vec: Generates static word embeddings, lacking context sensitivity. • D) TF-IDF: Focuses on word importance across documents but overlooks word order and meaning.
A rectangular paper of width 8cm and length 22cm rolled along it width and a cylinder is formed.Â
On the above Intimation. Solve the question gi...
4 horses are walking in the direction of a moving train. A passenger in the train sees that one of the horses is black and the 3 are white. Which of the...
In the given figure ABCD is a rhombus, the value of x is.
India has recently installed a/an
The mid latitude zones lie between latitudes in the northern and southern hemispheres:
A cone is formed by rotating an equilateral triangle about its altitude. Fill in the blank.
Equilateral triangle : Cone = Square: ____
Which organization published the Human Development Index (HDI) Report?
Which amongst the following terms used in ancient India, does not mean an assembly?
A judge of a High Court is appointed by the President of India in consultation with:
Match List I with List II
Choose the correct answer fr...