Skip to main content

ModelScope

ModelScope is a big repository of the models and datasets.

This page covers how to use the modelscope ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific modelscope wrappers.

Installation and Setup​

Install the modelscope package.

pip install modelscope

Text Embedding Models​

from langchain_community.embeddings import ModelScopeEmbeddings

API Reference:

For a more detailed walkthrough of this, see this notebook


Was this page helpful?


You can leave detailed feedback on GitHub.