EasyNLP icon indicating copy to clipboard operation
EasyNLP copied to clipboard

SpanProto evaluation from checkpoint doesn't reproduce the f1 score

Open sayef opened this issue 2 years ago • 3 comments

Hi Team SpanProto,

As described in the README file of span-proto directory, I trained with few-nerd 5way 5shot inter dataset. The prediction result shows ~0.82 f1 score as presented in the paper. However, when I am trying to use the trained checkpoint for prediction only i.e. adding --resume_from_checkpoint=./outputs/bert-base-uncased or --resume_from_checkpoint=./outputs/bert-base-uncased/checkpoint-7000 etc and remove --do_train argument, the result is bad like ~0.1 f1 score. Could you please tell me how can I reproduce the result of the test set using the trained checkpoint once the training is complete?

Thanks, sayef

sayef avatar Mar 24 '23 13:03 sayef

@wjn1996 would u check this pls

chywang avatar Mar 28 '23 10:03 chywang

any update on this?

sayef avatar Apr 17 '23 12:04 sayef

Hi Team SpanProto,

As described in the README file of span-proto directory, I trained with few-nerd 5way 5shot inter dataset. The prediction result shows ~0.82 f1 score as presented in the paper. However, when I am trying to use the trained checkpoint for prediction only i.e. adding --resume_from_checkpoint=./outputs/bert-base-uncased or --resume_from_checkpoint=./outputs/bert-base-uncased/checkpoint-7000 etc and remove --do_train argument, the result is bad like ~0.1 f1 score. Could you please tell me how can I reproduce the result of the test set using the trained checkpoint once the training is complete?

Thanks, sayef

What is your recall?always 1?

swaggy66 avatar Nov 19 '23 08:11 swaggy66