File size: 559 Bytes
d5fa9ad
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
02/17/2024 14:01:15 - INFO - __main__ -   device: cuda, n_gpu: 1
Traceback (most recent call last):
  File "run.py", line 1188, in <module>
    main()
  File "run.py", line 1139, in main
    model=create_model(args,model,tokenizer,config)
  File "run.py", line 1106, in create_model
    logger.info(model.model_parameters())
  File "/home/yiming/anaconda3/envs/CoCoSoDa/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1178, in __getattr__
    type(self).__name__, name))
AttributeError: 'RobertaModel' object has no attribute 'model_parameters'