suolyer commited on
Commit
10e6470
1 Parent(s): b669882

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -81,13 +81,13 @@ from fengshen.pipelines.multiplechoice import UniMCPipelines
81
  total_parser = argparse.ArgumentParser("TASK NAME")
82
  total_parser = UniMCPipelines.piplines_args(total_parser)
83
  args = total_parser.parse_args()
84
- args.pretrained_model_path = 'IDEA-CCNL/Erlangshen-UniMC-RoBERTa-330M-Chinese'
85
  args.learning_rate=2e-5
86
  args.max_length=512
87
  args.max_epochs=3
88
  args.batchsize=8
89
  args.default_root_dir='./'
90
- model = UniMCPipelines(args)
91
 
92
  train_data = []
93
  dev_data = []
 
81
  total_parser = argparse.ArgumentParser("TASK NAME")
82
  total_parser = UniMCPipelines.piplines_args(total_parser)
83
  args = total_parser.parse_args()
84
+ pretrained_model_path = 'IDEA-CCNL/Erlangshen-UniMC-RoBERTa-330M-Chinese'
85
  args.learning_rate=2e-5
86
  args.max_length=512
87
  args.max_epochs=3
88
  args.batchsize=8
89
  args.default_root_dir='./'
90
+ model = UniMCPipelines(args,pretrained_model_path)
91
 
92
  train_data = []
93
  dev_data = []