Downloads · 30 days
17
3% of all-time downloads
nikotang/span-nli-bert-base
span-nli-bert-base is a text classification model from nikotang. Use it when you need a label for a piece of text. It is set up for transformers.
This is a BERT-base model ([bert-base-uncased][2]) fine-tuned on the [ContractNLI][3] dataset (non-disclosure agreements) with the Span NLI BERT model architecture, from [ContractNLI: A Dataset for Document-level Natu…
Downloads · 30 days
17
3% of all-time downloads
All-time downloads
492
Public
Repo size
885 MB
Likes
0
Public
Click a slice to open those files.
.bin438 MB · 97%
From the Hugging Face model README
This is a BERT-base model (bert-base-uncased) fine-tuned on the ContractNLI dataset (non-disclosure agreements) with the Span NLI BERT model architecture,
from ContractNLI: A Dataset for Document-level Natural Language Inference for Contracts (Koreeda and Manning, 2021).
For a hypothesis, the Span NLI BERT model predicts NLI labels and identifies evidence for documents as premises. Spans of documents should be pre-annotated; evidence is always full sentences or items in an enumerated list in the document.
For details of the architecture and usage of the relevant training/testing scripts, check out the paper and their Github repo.
This model is fine-tuned according to the hyperparameters in data/conf_base.yml in their repo,
which differs from their hyperparameters that produced the best dev scores as noted in the Appendix of the paper.