Skip to main content
user5520049's user avatar
user5520049's user avatar
user5520049's user avatar
user5520049
  • Member for 3 years, 10 months
  • Last seen more than a month ago
awarded
asked
Loading…
accepted
Loading…
awarded
revised
How can i get the vector of word using BERT?
deleted 2927 characters in body
Loading…
comment
comment
BERT Text Classification Model gives error
excuse me did you get a solution ?
comment
comment
How to i get word embeddings for out of vocabulary words using a transformer model?
excuse me did you find the solution for this problem, please
comment
How can i get the vector of word using BERT?
exucse me i read that the word embedding by concatenating the last four layers(word_emb_6), giving us a single word vector per token. Each vector will have a length 4 x 768 = 3,072. All other word embeddings have the 768 length vectors per token. I'm confused about sub-words and words embedding in BERT
comment
How can i get the vector of word using BERT?
thanks a lot for replying. my specific task if i need to represent the embedding layer for image captioning task i need to represent the vectors for each word in the sentence so if you please do you see that the second code is suitable for this task ? i updated my question too with my result
revised
How can i get the vector of word using BERT?
added 801 characters in body
Loading…
awarded
revised
How can i get the vector of word using BERT?
deleted 231 characters in body
Loading…
revised
How can i get the vector of word using BERT?
added 2333 characters in body
Loading…
comment
How can i get the vector of word using BERT?
thank a lot for answering but excuse me do you mean that i need to loop in words not sentences right ? i mean here in this line for w in words: instead of for i in sentences: if so how can i get words in the sentences , does tokenization return them ?
comment
How can i get the vector of word using BERT?
thanks for replying to the post . i clarified my problem, please see it . Thanks
revised
How can i get the vector of word using BERT?
added 932 characters in body
Loading…