Comments (2)
langchain对reranker的支持不如llamaindex,所以集成进langchain的reranker接口由BCEmbedding这个python包提供,解决方案:
1、你需要安装本repository:pip install BCEmbedding==0.1.3
2、按照这个样例来调用:https://github.com/netease-youdao/BCEmbedding?tab=readme-ov-file#1-used-in-langchain
from bcembedding.
langchain对reranker的支持不如llamaindex,所以集成进langchain的reranker接口由BCEmbedding这个python包提供,解决方案: 1、你需要安装本存储库:pip install BCEmbedding==0.1.3 2、按照这个样例来调用:https://github.com/netease-youdao/BCEmbedding?tab=readme-ov-file#1-used-in-langchain
我使用的就是这段样例,同时也安装了相关的依赖包. 似乎是我的环境导致的,前一天还没报错
from bcembedding.
Related Issues (20)
- 表格支持 HOT 1
- BCE Fine tuning HOT 4
- 用Langchain0.1.13遇到问题TypeError: sentence_transformers.SentenceTransformer.SentenceTransformer.encode() got multiple values for keyword argument 'show_progess_bar' HOT 1
- llamaindex集成两个模型回答超时 HOT 4
- 长度 HOT 5
- 想问一下关于评测的内容。 HOT 1
- 请问近期有没有支持Apple M Silicon系列芯片的GPU加速计划? HOT 1
- BCEembedding max_length HOT 1
- 关于推理加速问题。 HOT 4
- Request for non-NVIDIA GPU compatibility HOT 2
- 如何在ollama中使用BCEmbedding模型? HOT 2
- 提问:如何 benchmark bce reranker (bce-reranker-base_v1) 在对日语的reranker能力 HOT 3
- QAnything和这个模型库的对应关系? HOT 2
- 可以提供一下复现llamaindex结果的数据么, HOT 2
- 测试“Embedding和Reranker集成常用RAG框架”中的样例代码1 HOT 2
- 使用gpu就会崩溃 HOT 4
- 关于模型微调的问题 HOT 1
- 使用 langchain 调用程序报错 HOT 2
- pydantic版本问题 HOT 1
- 下载 tokenizer 时不能指定 auth token HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bcembedding.