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
asked
Loading…
awarded
comment
How to JUST represent words as embeddings by pretrained BERT?
thanks a lot for replying. appreciating it really as I'm confused on this point .. so the method which called get_bert_embed_matrix for getting word_embed_6 = torch.cat([hidden_states[i] for i in [-1,-2,-3,-4]], dim=-1) for sub-word and i need to calculate the mean for those values to get word-embedding
comment
How to JUST represent words as embeddings by pretrained BERT?
excuse me i got from your answer that BERT works on sub-words, not Word. so the method for concatenating the last four layers of BERT will represent sub-words ?
comment
What is the difference between features in vgg
Thanks a lot if you have a good background in captioning can you please give me your email . Thanks in advance
awarded
accepted
comment
What is the difference between features in vgg
Thakns. you mean like that model=Model(inputs=model.inputs,outputs=model.layers[-2].out‌​put)
awarded
comment
What is the difference between features in vgg
Thanks a lot for replying , but excuse me if I want these features for captioning .. will I remove the last only ?
Loading…
comment
revised
How can I choose num of epochs and batch size?
deleted 4256 characters in body
Loading…
revised
How can I choose num of epochs and batch size?
added 4239 characters in body
Loading…
comment
How can I choose num of epochs and batch size?
thanks a lot for replying .. can you please see the edit post
Loading…
awarded
1
2