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
MODELSCOPE_SDK_TOKEN environment variable:
Chat Models
ModelScopeChatEndpoint class exposes chat models from ModelScope. See available models here.
Embeddings
ModelScopeEmbeddings class exposes embeddings from ModelScope.
LLMs
ModelScopeEndpoint class exposes LLMs from ModelScope.
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.