HarderThenHarder / transformers_tasks

⭐️ NLP Algorithms with transformers lib. Supporting Text-Classification, Text-Generation, Information-Extraction, Text-Matching, RLHF, SFT etc.
https://www.zhihu.com/column/c_1451236880973426688
2.17k stars 381 forks source link

文本匹配任务Sentence Transformer疑问求解 #90

Open magicleo opened 2 months ago

magicleo commented 2 months ago

请问在计算query embedding时为什么选择用last_hidden_state 进行计算embedding,而不是直接用pooler_output?这块是如何决策的?