McGill-NLP / llm2vec

Code for 'LLM2Vec: Large Language Models Are Secretly Powerful Text Encoders'
https://mcgill-nlp.github.io/llm2vec/
MIT License
1.17k stars 88 forks source link

prepare_for_tokenization (Instruct template) is used for supervised training but not for inference (example) #103

Closed bzantium closed 3 months ago

bzantium commented 3 months ago

Thanks for sharing code! I have some question: