This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
modelscope
/
ModelScope
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fix the model evaluation error
Link:
https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/8872484
master
dongjunwei.djw
wenmeng.zwm
3 years ago
parent
25a2028b54
commit
0703798fc2
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
maas_lib/trainers/nlp/sequence_classification_trainer.py
+ 1
- 1
maas_lib/trainers/nlp/sequence_classification_trainer.py
View File
@@ -128,7 +128,7 @@ class SequenceClassificationTrainer(BaseTrainer):
collate_fn=pre_dataset.batch_fn)
# generate a model
model = SequenceClassification(checkpoint_path)
model = SequenceClassification
.from_pretrained
(checkpoint_path)
# copy from easynlp (start)
model.eval()
Write
Preview
Loading…
Cancel
Save