Official GitHub repository for CAIL2019: https://github.com/china-ai-law-challenge/CAIL2019.
Dataset: https://cail.oss-cn-qingdao.aliyuncs.com/cail2019/CAIL2019-SCM.zip.
Important: Since transformers
does not support Keras 3, one has to use TF_USE_LEGACY_KERAS=1
to run the code.
We have changed the algorithm to siamese BERT network, instead of the naive BERT model in the original paper.
Our current accuracy on the test dataset is 0.6901.