原书出处
Designing Large Language Model Applications
The Sentence Transformers library allows you to combine Matryoshka representations with layer reduction using the Matryoshka2dLoss. Exercise Download this dataset by Rishabh Misra containing news headlines. Use the nomic-embed-text-v1.5 model from Nomic AI, which has been trained using MRL. Pick one of the headlines as the query and generate its query embedding. Generate document embeddings for all other headlines, and calculate similarity scores between query
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Designing Large Language Model Applications/_epub-src/OEBPS/ch11.html
EPUB SHA-256:1b4d2347fec2f949fcddfbaf4fad597a1ae20887a096cfae64c59a619b4781bf