Open darraghdog opened 2 years ago
Hi, thank you for your interest in our work! You are right. Sorry for the confusion. (When implementing the code, I copied and pasted the modeling_bert.py of Hugging Face's transformers and modified only a part...) I'd appreciate if you could open the PR!
I've opened a PR for this :)
Hi, Great work on the package. It seems on some of the model classes, eg.
BrosLMHeadModel
, the code misses the bbox inputs. Example below. Correct me if I misunderstood, but I guess bbox should be added here. If you would like I can put in a PR to fix it here and in the other places likeBrosForSequenceClassification
andBrosPreTrainedModel
.MLM Model input https://github.com/clovaai/bros/blob/eb3aa51ad7348444bafb06be64c4604182275edd/bros/modeling_bros.py#L1314-L1318 Bros Model call in MLM Model https://github.com/clovaai/bros/blob/eb3aa51ad7348444bafb06be64c4604182275edd/bros/modeling_bros.py#L1378-L1381