Question: use the 'bert - base - cased' from Huggingface as the underlying BERT model and the associated tokenizer. please compare the contextual embedding vectors of
use the 'bertbasecased' from Huggingface as the underlying BERT model and the associated tokenizer.
please compare the contextual embedding vectors of 'bank' in the following four sentences:
"I need to bring my money to the bank today"
"I will need to bring my money to the bank tomorrow"
"I had to bank into a turn"
"The bank teller was very nice"
Inline Question #:
Please calculate the pairwise cosine similarities between 'bank' in the four sentences and fill in the table below. Note banki represent bank in the ith sentence
Please explain the results. Does it make sense?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
