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.
MODELSCOPE_SDK_TOKEN
environment variable:
ModelScopeChatEndpoint
class exposes chat models from ModelScope. See available models here.
ModelScopeEmbeddings
class exposes embeddings from ModelScope.
ModelScopeLLM
class exposes LLMs from ModelScope.