Cyrile Delestre
commited on
Commit
·
aef1c1e
1
Parent(s):
1a516d8
Update README.md
Browse files
README.md
CHANGED
|
@@ -24,7 +24,7 @@ Dataset
|
|
| 24 |
-------
|
| 25 |
|
| 26 |
The dataset XNLI from [FLUE](https://huggingface.co/datasets/flue) is composed of 392,702 premises with their hypothesis for the train and 5,010 couples for the test. The goal is to predict textual entailment (does sentence A imply/contradict/neither sentence B?) and is a classification task (given two sentences, predict one of three labels). The sentence A is called *premise* and sentence B is called *hypothesis*, then the goal of modelization is determined as follows:
|
| 27 |
-
$$P(premise\in\{contradiction, entailment, neutral\}\vert hypothesis)$$
|
| 28 |
|
| 29 |
Evaluation results
|
| 30 |
------------------
|
|
@@ -69,8 +69,8 @@ The second one: [mlsum](https://huggingface.co/datasets/mlsum) used to train the
|
|
| 69 |
| [BaptisteDoyen/camembert-base-xnli](https://huggingface.co/BaptisteDoyen/camembert-base-xnli) | 499.45 | | **60.14** |
|
| 70 |
| [MoritzLaurer/mDeBERTa-v3-base-mnli-xnli](https://huggingface.co/MoritzLaurer/mDeBERTa-v3-base-mnli-xnli) | 591.34 | | 56.06 |
|
| 71 |
|
| 72 |
-
How to use DistilCamemBERT-
|
| 73 |
-
|
| 74 |
```python
|
| 75 |
from transformers import pipeline
|
| 76 |
classifier = pipeline(
|
|
|
|
| 24 |
-------
|
| 25 |
|
| 26 |
The dataset XNLI from [FLUE](https://huggingface.co/datasets/flue) is composed of 392,702 premises with their hypothesis for the train and 5,010 couples for the test. The goal is to predict textual entailment (does sentence A imply/contradict/neither sentence B?) and is a classification task (given two sentences, predict one of three labels). The sentence A is called *premise* and sentence B is called *hypothesis*, then the goal of modelization is determined as follows:
|
| 27 |
+
$$P(premise=c\in\{contradiction, entailment, neutral\}\vert hypothesis)$$
|
| 28 |
|
| 29 |
Evaluation results
|
| 30 |
------------------
|
|
|
|
| 69 |
| [BaptisteDoyen/camembert-base-xnli](https://huggingface.co/BaptisteDoyen/camembert-base-xnli) | 499.45 | | **60.14** |
|
| 70 |
| [MoritzLaurer/mDeBERTa-v3-base-mnli-xnli](https://huggingface.co/MoritzLaurer/mDeBERTa-v3-base-mnli-xnli) | 591.34 | | 56.06 |
|
| 71 |
|
| 72 |
+
How to use DistilCamemBERT-NLI
|
| 73 |
+
------------------------------
|
| 74 |
```python
|
| 75 |
from transformers import pipeline
|
| 76 |
classifier = pipeline(
|