小编Muk*_*ddy的帖子

来自 LLAMA 2 Huggingface 开源的句子嵌入

有没有办法从huggingface 的meta-llama/Llama-2-13b-chat-hf 获取句子嵌入?

\n

模特链接:https://huggingface.co/meta-llama/Llama-2-13b-chat-hf

\n

我尝试使用拥抱面孔中的 transfomer.Automodel 模块来获取嵌入,但结果看起来并不符合预期。实施方式参见以下链接。参考:https ://github.com/Muennighoff/sgpt#ametry-semantic-search-be\xc2\xa0

\n

artificial-intelligence huggingface-transformers huggingface large-language-model llama

11
推荐指数
2
解决办法
1万
查看次数