vince62s commited on
Commit
9da7ada
·
verified ·
1 Parent(s): 195edc9

Upload modelling_xlm_roberta.py

Browse files
Files changed (1) hide show
  1. modelling_xlm_roberta.py +4 -1
modelling_xlm_roberta.py CHANGED
@@ -1525,7 +1525,10 @@ class XLMRobertaForEstimation(XLMRobertaPreTrainedModel):
1525
  layer_norm=config.layer_norm
1526
  )
1527
 
1528
- self.estimator = FeedForward()
 
 
 
1529
 
1530
  # Initialize weights and apply final processing
1531
  self.post_init()
 
1525
  layer_norm=config.layer_norm
1526
  )
1527
 
1528
+ self.estimator = FeedForward(
1529
+ in_dim=config.hidden_size,
1530
+ hidden_sizes=config.estimator_sizes,
1531
+ )
1532
 
1533
  # Initialize weights and apply final processing
1534
  self.post_init()