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
Following the evaluation guide given in "scripts/edit_scorer_baselines/EVALUATION_GUIDE.md" I wasn't table to execute EditScorer. Could you add an improved usage step-by-step guide?
Here is my error:
Some weights of the model checkpoint at roberta-base were not used when initializing RobertaModel: ['lm_head.dense.weight', 'lm_head.layer_norm.weight', 'lm_head.bias', 'lm_head.layer_norm.bias', 'lm_head.decoder.weight', 'lm_head.dense.bias']
- This IS expected if you are initializing RobertaModel from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing RobertaModel from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
Source model weights=0.00
Traceback (most recent call last):
File "EditScorer/apply_staged_model.py", line 103, in<module>
alpha_source=alpha)
File "path_to/pillars-of-gec/EditScorer/ranking/score_utils.py", line 111, in predict_by_stages
dataset = dataset_preparer.prepare(curr_data, has_answers=("label"in data[0]))
IndexError: list index out of range
Some weights of the model checkpoint at roberta-base were not used when initializing RobertaModel: ['lm_head.dense.weight', 'lm_head.decoder.weight', 'lm_head.dense.bias', 'lm_head.layer_norm.weight', 'lm_head.bias', 'lm_head.layer_norm.bias']
- This IS expected if you are initializing RobertaModel from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing RobertaModel from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
Source model weights=0.00
Traceback (most recent call last):
File "EditScorer/apply_staged_model.py", line 103, in<module>
alpha_source=alpha)
File "path_to/pillars-of-gec/EditScorer/ranking/score_utils.py", line 111, in predict_by_stages
dataset = dataset_preparer.prepare(curr_data, has_answers=("label"in data[0]))
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
Following the evaluation guide given in "scripts/edit_scorer_baselines/EVALUATION_GUIDE.md" I wasn't table to execute EditScorer. Could you add an improved usage step-by-step guide?
Here is my error:
The text was updated successfully, but these errors were encountered: