facebook/xnli
Viewer β’ Updated β’ 6.4M β’ 20.7k β’ 72
Core ML conversion of joeddav/xlm-roberta-large-xnli,
a multilingual 3-class Natural Language Inference model
(contradiction / neutral / entailment), built on
FacebookAI/xlm-roberta-large
and fine-tuned on MultiNLI + XNLI.
This repository only re-packages the original model for on-device inference on Apple platforms (Core ML). The weights and all credit belong to the original authors β see Attribution & license below.
| Path | Description |
|---|---|
xlm-roberta-large-xnli.mlpackage/ |
Core ML model bundle (.mlpackage) |
tokenizer/ |
SentencePiece tokenizer: tokenizer.json, sentencepiece.bpe.model, tokenizer_config.json, special_tokens_map.json |
.mlpackage); runs on the Apple Neural Engine / GPU / CPU
through the Core ML runtime.input_ids and
attention_mask of length exactly 512 β pad or truncate accordingly.contradiction (0), neutral (1),
entailment (2) β apply softmax for probabilities. (Same id2label as the
original model.)joeddav/xlm-roberta-large-xnli
by Joe Davison β license MIT.FacebookAI/xlm-roberta-large β MIT.This Core ML conversion is distributed under the same MIT license as the original model. If you use it, please credit the original authors above.
Base model
joeddav/xlm-roberta-large-xnli