Huge variance in F1 results using the same spaCy config, data, and fixed seed=0 #12340
bitopsy
started this conversation in
Help: Best practices
Replies: 1 comment 9 replies
-
This isn't what you're asking, but be aware that for I'm not as familiar with the sources of non-determinism in transformer models. Maybe this thread would help? https://discuss.huggingface.co/t/initializing-the-weights-of-the-final-layer-of-e-g-bertfortokenclassification-with-a-manual-seed/1377/3 |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, after running a spaCy NER with BERT using the same training/testing data, the same config, and a fixed seed = 0, I still got a huge variance in the F1, P and R scores. Is that normal? Can the experiment be controlled to have the same outcome?
Here are the F-1 results:
F-1: 0.9379195792
F-1: 0.9606539208
F-1: 0.9432156972
F-1: 0.9200165769
F-1: 0.9342884695
Variance s2 = 0.00021754027
Standard Deviation s = 0.014749247
Count n = 5
Mean = 0.93921885
Sum of Squares SS = 0.0008701611
Thank you,
Al
Beta Was this translation helpful? Give feedback.
All reactions