Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/modelscope/ms-swift
/ llm.py
File
llm.py
swift/model/models/llm.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# Copyright (c) ModelScope Contributors. All rights reserved.
2
from
transformers
import
AutoTokenizer, PretrainedConfig
3
from
typing
import
Any, Dict
4
Callers
nothing calls this directly
Calls
5
get_logger
Function · 0.90
register_model
Function · 0.85
ModelMeta
Class · 0.85
ModelGroup
Class · 0.85
Model
Class · 0.50
Tested by
no test coverage detected