Bert-as-service: How to obtain the word embeddings

Created on 19 Nov 2018  路  2Comments  路  Source: hanxiao/bert-as-service

Thanks for this service, I can get the sentence embeddings. I want to know how can I get the context representations for every token in the sentence through the service. Thank you very much.

will do

Most helpful comment

good point. in principle, there is nothing stops us from getting the word embedding. I also understand the importance of this feature as people may want to use this service in an ELMO-like fashion. It's just the API and interface might be changed a little bit when considering word embedding.

So point taken, I will consider it as a feature and implement it soon.

All 2 comments

good point. in principle, there is nothing stops us from getting the word embedding. I also understand the importance of this feature as people may want to use this service in an ELMO-like fashion. It's just the API and interface might be changed a little bit when considering word embedding.

So point taken, I will consider it as a feature and implement it soon.

@lucyboll fyi, this is done in v1.1, please check out latest master and this thread for more details.

close #25

Was this page helpful?
0 / 5 - 0 ratings

Related issues

crapthings picture crapthings  路  3Comments

un-lock-me picture un-lock-me  路  3Comments

calliwen picture calliwen  路  7Comments

kirdin picture kirdin  路  3Comments

zhant09 picture zhant09  路  3Comments