CoolFace
Modelpublic

Lidor-Mashiach/deberta-large-anli

sourceHugging Facecc-by-nc-4.0updated 2mo agoView on Hugging Face
2likes8downloads
Model Card

DeBERTa Large fine tuned on ANLI

Model

This checkpoint is based on microsoft/deberta-large.

It was fine tuned only on the combined ANLI training rounds. The training set contained 162,865 premise and hypothesis pairs.

The model predicts one of three labels:

LabelMeaning
0entailment
1neutral
2contradiction

The input order is premise first and hypothesis second.

Evaluation

Accuracy was measured on the combined ANLI held out rounds.

SplitAccuracyExamples
Development62.22%3,200
Test61.78%3,200

These values are plain classification accuracy.

The checkpoint was trained on ANLI alone. Comparisons should use the same combined ANLI splits and the same label mapping. The results are not presented here as a universal leaderboard claim.

The machine readable results are stored in baseline_eval.json.

Training

SettingValue
Base modelmicrosoft/deberta-large
Epochs3
Batch size16
Gradient accumulation steps2
Learning rate0.000016958369168519958
Weight decay0.1
Warmup ratio0.1828387398995507
Label smoothing0.1
Maximum sequence length128
Seed1299843651
Numerical precisionFP32

The hyperparameters were selected for this model and dataset combination.

The full training record is stored in model_card.json.

Use

Load the repository with AutoTokenizer and AutoModelForSequenceClassification from the Transformers library.

Pass the premise and hypothesis as a text pair.

Use a maximum sequence length of 128 to match training.

Files

FilePurpose
model.safetensorsModel weights
config.jsonArchitecture and label mapping
tokenizer.jsonTokenizer data
tokenizer_config.jsonTokenizer settings
baseline_eval.jsonEvaluation results
model_card.jsonTraining record and provenance
README.mdModel card

Limitations

The model was trained and evaluated on English ANLI data.

ANLI is adversarial and difficult. Performance on other NLI datasets may differ.

The training accuracy was 98.57%, while held out accuracy was lower. This gap should be considered when using the checkpoint.

The model can inherit errors and biases from the base model and the training data.

The checkpoint has not been evaluated for high risk or safety critical use.

License

The base model microsoft/deberta-large is licensed under MIT.

The ANLI training data is licensed under CC BY-NC 4.0.

This checkpoint is released under CC BY-NC 4.0 as a conservative noncommercial choice. Users must follow the terms of the base model and the ANLI dataset.

Use of this checkpoint is limited to noncommercial purposes.

Associated research

This model was trained as part of the following research manuscript:

“Opening the Black Box: Localizing semantic inconsistency in NLI models with Deep k -Nearest Neighbors”

The manuscript is in preparation. It has not been submitted or published.

This section will be updated when a public preprint or an accepted version becomes available.

Citation

Until the paper is public, please cite this model repository:

bibtex
@misc{mashiach2026debertaanli,
  author = {Lidor Mashiach},
  title = {DeBERTa Large fine tuned on ANLI},
  year = {2026},
  publisher = {Hugging Face},
  url = {https://huggingface.co/Lidor-Mashiach/deberta-large-anli}
}

Please also cite the DeBERTa and ANLI papers.

Contact

Questions, corrections, and reproducibility reports can be posted in the Community tab of this repository.