原书出处
Designing Large Language Model Applications
In this example, the embedding is drawn from the [CLS] token of the last layer of the DistilBERT model. Other ways of extracting embeddings from models include: Mean pooling, where the average is taken across all token outputs in the sequence Max pooling, where the maximum value in each dimension across all tokens is taken Weighted mean, where more weight is given to the last
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Designing Large Language Model Applications/_epub-src/OEBPS/ch11.html
EPUB SHA-256:1b4d2347fec2f949fcddfbaf4fad597a1ae20887a096cfae64c59a619b4781bf