You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, excuse me, I trained my model as you instructed on Github, but when I trained the SRL verb model with (allennlp train bert_base_srl. jsonnet-s srl-bert-ontonotes-f), I reported an error “raise ConfigurationError ("Extra parameters passed to {}: {}". format (class_name, self.params)) allennlp.common.checks.ConfigurationError: "Extra parameters passed to SrlBert: {'mlp_hidden_si Ze ': 300,' predicate_emb_dim ': 128,' recurrent_hidden_layer_size ': 768}"”,
and when I want to train the model with (allennlp train bert_sense_srl. jsonnet-s verb-sense-srl-f-include-package verb_sense_srl), I report an error" lib/python3.8/site-packages/verb_sense_srl/reader. py ", line 342, in text_to_instance verb = tokens [verb_index]. tEXT IndexError: List index out of range". I trained step by step exactly as you instructed. May I ask if you know why? "
also encounter "index out of range" , error.
for example, sentence {"sentence": "I have my kids almost 50/50 these days , but it was a huge messy post divorce compromise that took a year to complete"} in verb_sense_srl prediction will reproduce this error.
No description provided.
The text was updated successfully, but these errors were encountered: