Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/modelscope/modelscope
/ is_embedding_task
Function
is_embedding_task
modelscope/utils/task_utils.py:85–86 ·
view source on GitHub ↗
(task: str)
Source
from the content-addressed store, hash-verified
83
84
85
def
is_embedding_task(task: str):
86
return
task == Tasks.sentence_embedding
87
88
89
def
get_task_by_subtask_name(group_key):
Callers
1
pipeline
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…