This model is initialized with the base BERT model (uncased, 110M parameters),
bert-base-uncased
, and trained for an additional 1M steps on the MLM and NSP objective.
This facilitates a direct comparison to our BERT-based models for the legal domain, which are also pretrained for 2M total steps.
Please see the
casehold repository
for scripts that support computing pretrain loss and finetuning on BERT (double) for classification and multiple choice tasks described in the paper: Overruling, Terms of Service, CaseHOLD.
See
demo.ipynb
in the casehold repository for details on calculating domain specificity (DS) scores for tasks or task examples by taking the difference in pretrain loss on BERT (double) and Legal-BERT. DS score may be readily extended to estimate domain specificity of tasks in other domains using BERT (double) and existing pretrained models (e.g.,
SciBERT
).
Citation
@inproceedings{zhengguha2021,
title={When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Dataset},
author={Lucia Zheng and Neel Guha and Brandon R. Anderson and Peter Henderson and Daniel E. Ho},
year={2021},
eprint={2104.08671},
archivePrefix={arXiv},
primaryClass={cs.CL},
booktitle={Proceedings of the 18th International Conference on Artificial Intelligence and Law},
publisher={Association for Computing Machinery}
}
Lucia Zheng, Neel Guha, Brandon R. Anderson, Peter Henderson, and Daniel E. Ho. 2021. When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Dataset. In
Proceedings of the 18th International Conference on Artificial Intelligence and Law (ICAIL '21)
, June 21-25, 2021, São Paulo, Brazil. ACM Inc., New York, NY, (in press). arXiv:
2104.08671 [cs.CL]
.
Runs of casehold bert-double on huggingface.co
54
Total runs
7
24-hour runs
7
3-day runs
20
7-day runs
24
30-day runs
More Information About bert-double huggingface.co Model
bert-double huggingface.co
bert-double huggingface.co is an AI model on huggingface.co that provides bert-double's model effect (), which can be used instantly with this casehold bert-double model. huggingface.co supports a free trial of the bert-double model, and also provides paid use of the bert-double. Support call bert-double model through api, including Node.js, Python, http.
bert-double huggingface.co is an online trial and call api platform, which integrates bert-double's modeling effects, including api services, and provides a free online trial of bert-double, you can try bert-double online for free by clicking the link below.
casehold bert-double online free url in huggingface.co:
bert-double is an open source model from GitHub that offers a free installation service, and any user can find bert-double on GitHub to install. At the same time, huggingface.co provides the effect of bert-double install, users can directly use bert-double installed effect in huggingface.co for debugging and trial. It also supports api for free installation.