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:ModelScopeEmbeddings
For a more detailed walkthrough of this, see this notebook