emanuelaboros commited on
Commit
4c13915
·
1 Parent(s): 38cd562

testin the trick

Browse files
Files changed (1) hide show
  1. modeling_stacked.py +2 -1
modeling_stacked.py CHANGED
@@ -55,7 +55,8 @@ class ExtendedMultitaskModelForTokenClassification(PreTrainedModel):
55
  self.dummy_param = nn.Parameter(torch.zeros(1))
56
  self.safe_floret = SafeFloretWrapper(self.config.filename)
57
  print(self.config)
58
- print(self.config["filename"])
 
59
  # self.model_floret = SafeFloretWrapper(model_floret)
60
  # input_ids = "this is a text"
61
 
 
55
  self.dummy_param = nn.Parameter(torch.zeros(1))
56
  self.safe_floret = SafeFloretWrapper(self.config.filename)
57
  print(self.config)
58
+ print(type(self.config))
59
+ print(self.config.filename)
60
  # self.model_floret = SafeFloretWrapper(model_floret)
61
  # input_ids = "this is a text"
62