marian-nmt / marian

Fast Neural Machine Translation in C++

Home Page:https://marian-nmt.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to generate embedding from a bert model with marian ?

lishaojun412 opened this issue · comments

How can I generate embedding with commandline, I search the marian document but find no useful information.

I had converted LabSE (https://huggingface.co/sentence-transformers/LaBSE ) to marian format , then how I can specific the args to generate sentence embeddings?