MCPcopy 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

1import os
2from dataclasses import dataclass, field
3
4from modelscope import (EpochBasedTrainer, MsDataset, TrainingArgs,

Callers

nothing calls this directly

Calls 8

build_dataset_from_fileFunction · 0.90
build_trainerFunction · 0.90
printFunction · 0.85
parse_cliMethod · 0.80
to_configMethod · 0.80
loadMethod · 0.45
trainMethod · 0.45

Tested by

no test coverage detected