pitrack / incremental-coref

Code for "Moving on from OntoNotes: Coreference Resolution Model Transfer" and "Incremental Neural Coreference Resolution in Constant Memory"
Apache License 2.0
17 stars 4 forks source link

What is "torch_scorer_vars.bin"? #1

Closed jo-kyeongbin closed 3 years ago

jo-kyeongbin commented 3 years ago

torch_scores.py (line : 197)

I found "torch_scorer_vars.bin". It is different with bert_base model's keys. thus, genre_embedder, span_scorer and scoring_module raise key errors.

help this problem. thanks!

pitrack commented 3 years ago

Where are you getting "torch_scorer_vars.bin" from? Is it from the output of this script https://github.com/pitrack/incremental-coref/blob/emnlp2020/conversion_scripts/convert_tf_to_pt.sh?

This script takes in a tf bert checkpoint that's download from this repo: https://github.com/mandarjoshi90/coref

jo-kyeongbin commented 3 years ago

Thank you for quick response. It was really helpful, thank you.