File tree 2 files changed +20
-20
lines changed
2 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 1
1
from opencompass .models import HuggingFaceBaseModel
2
2
3
- models = [
4
- dict (
5
- type = HuggingFaceBaseModel ,
6
- abbr = ' opt-125m-hf ' ,
7
- path = 'facebook/opt-125m' ,
8
- max_out_len = 1024 ,
9
- batch_size = 64 ,
10
- run_cfg = dict ( num_gpus = 1 ),
11
- )
12
- ]
3
+ opt125m = dict (
4
+ type = HuggingFaceBaseModel ,
5
+ abbr = 'opt-125m-hf' ,
6
+ path = 'facebook/ opt-125m' ,
7
+ max_out_len = 1024 ,
8
+ batch_size = 64 ,
9
+ run_cfg = dict ( num_gpus = 1 ) ,
10
+ )
11
+
12
+ models = [ opt125m ]
Original file line number Diff line number Diff line change 1
1
from opencompass .models import HuggingFaceBaseModel
2
2
3
- models = [
4
- dict (
5
- type = HuggingFaceBaseModel ,
6
- abbr = ' opt-350m-hf ' ,
7
- path = 'facebook/opt-350m' ,
8
- max_out_len = 1024 ,
9
- batch_size = 32 ,
10
- run_cfg = dict ( num_gpus = 1 ),
11
- )
12
- ]
3
+ opt350m = dict (
4
+ type = HuggingFaceBaseModel ,
5
+ abbr = 'opt-350m-hf' ,
6
+ path = 'facebook/ opt-350m' ,
7
+ max_out_len = 1024 ,
8
+ batch_size = 32 ,
9
+ run_cfg = dict ( num_gpus = 1 ) ,
10
+ )
11
+
12
+ models = [ opt350m ]
You can’t perform that action at this time.
0 commit comments