Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelscope/modelscope
/ finetune_text_classification.py
File
finetune_text_classification.py
examples/pytorch/text_classification/finetune_text_classification.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
os
2
from
dataclasses
import
dataclass, field
3
4
from
modelscope
import
(EpochBasedTrainer, MsDataset, TrainingArgs,
Callers
nothing calls this directly
Calls
8
build_dataset_from_file
Function · 0.90
build_trainer
Function · 0.90
TextClassificationArguments
Class · 0.85
print
Function · 0.85
parse_cli
Method · 0.80
to_config
Method · 0.80
load
Method · 0.45
train
Method · 0.45
Tested by
no test coverage detected