Skip to main content

ModelScope

ModelScope 是一个大型模型和数据集的仓库。

本页面介绍如何在 LangChain 中使用 modelscope 生态系统。 它分为两个部分:安装和设置,以及对特定 modelscope 包装器的引用。

安装和设置

安装 modelscope 包。

pip install modelscope

文本嵌入模型

from langchain_community.embeddings import ModelScopeEmbeddings

有关此内容的更详细说明,请参见此笔记本


Was this page helpful?


You can also leave detailed feedback on GitHub.

扫我,入群扫我,找书