Downloads · 30 days
5
11% of all-time downloads
ProdD/docnli-bert-finetuned
docnli-bert-finetuned is a machine learning model from ProdD. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
[](https://huggingface.co/ProdD/docnli-bert-finetuned) [](https://opensource.org/licenses/Apache-2.0)
Downloads · 30 days
5
11% of all-time downloads
All-time downloads
47
Public
Parameters
67M
271 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
This model is a BERT-based sequence classification model finetuned on a Document NLI (Natural Language Inference) dataset.
Task:
Given a premise and a hypothesis, the model predicts whether the hypothesis is entailed by the premise or not.
bert-base-uncasedentailment, not_entailment)from transformers import AutoTokenizer, AutoModelForSequenceClassification
model_name = "ProdD/docnli-bert-finetuned" tokenizer = AutoTokenizer.from_pretrained(model_name) model = AutoModelForSequenceClassification.from_pretrained(model_name)