How to add special tokens to sentence-transformers model

后端 未结 0 1976
无人共我
无人共我 2021-02-05 17:37

I am trying to add some special tokens to a sentence-transformers model. I use model.tokenizer.add_special_tokens(special_tokens_dict) to add them to the tokenizer,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题