xlxwalex / FCGEC

The Corpus & Code for EMNLP 2022 paper "FCGEC: Fine-Grained Corpus for Chinese Grammatical Error Correction" | FCGEC中文语法纠错语料及STG模型
https://aclanthology.org/2022.findings-emnlp.137
Apache License 2.0
104 stars 12 forks source link

在线评测如何获取submission_example.zip文件 #36

Closed zidong-onepiece1 closed 3 months ago

zidong-onepiece1 commented 3 months ago

You can regard "submission_example.zip" in "Starting Kit" as the example for uploading. 请问在线评测页面中的submission_example.zip,在哪里可以下载?

xlxwalex commented 3 months ago

你好,感谢反馈!

之前Starting Kit字段没有设置,我刚刚已经更新了界面,请在Participate的Files界面的Starting Kit获得submission_example.zip,内含一个predict.json文件可以作为上传格式的参考。

如果有其他问题,欢迎回复!

zidong-onepiece1 commented 3 months ago

非常感谢!还有一个小问题,如果对测试集的某条句子,模型认为其没有任何语法错误,那么"error_type"应该赋哪个值,我赋值为空,在提交时遇到了key_error

Traceback (most recent call last): File "/tmp/codalab/tmpPsHl7I/run/program/score.py", line 143, in typ[TYPE_MAP[typkey]] = 1 KeyError: ''

xlxwalex commented 3 months ago

如果没语病错误的话,error_type设为"*"就可以了