Commit
·
f717c18
1
Parent(s):
ec34cd6
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,7 +8,7 @@ Its main task is to perform the [Natural Language Inference (NLI)](https://nlp.s
|
|
| 8 |
The prediction labels may assume three possible values:
|
| 9 |
1. 1 means the model predicts <em>entailment</em>;
|
| 10 |
2. 0 represents the <em>neutral</em> case;
|
| 11 |
-
3.
|
| 12 |
|
| 13 |
## How it was trained
|
| 14 |
1. Train [paraphrase-multilingual-mpnet-base-v2](https://huggingface.co/sentence-transformers/paraphrase-multilingual-mpnet-base-v2) on the NLI task;
|
|
@@ -17,7 +17,7 @@ The prediction labels may assume three possible values:
|
|
| 17 |
## Usage #1 (HuggingFace Transformers)
|
| 18 |
In the environment on which you want to run the project, type:
|
| 19 |
```markdown
|
| 20 |
-
pip install --extra-index-url https://test.pypi.org/simple/ ispin==0.
|
| 21 |
```
|
| 22 |
|
| 23 |
NOTE: during the first execution, a total of two different models will be downloaded:
|
|
|
|
| 8 |
The prediction labels may assume three possible values:
|
| 9 |
1. 1 means the model predicts <em>entailment</em>;
|
| 10 |
2. 0 represents the <em>neutral</em> case;
|
| 11 |
+
3. -1 corresponds to <em>contradiction</em>.
|
| 12 |
|
| 13 |
## How it was trained
|
| 14 |
1. Train [paraphrase-multilingual-mpnet-base-v2](https://huggingface.co/sentence-transformers/paraphrase-multilingual-mpnet-base-v2) on the NLI task;
|
|
|
|
| 17 |
## Usage #1 (HuggingFace Transformers)
|
| 18 |
In the environment on which you want to run the project, type:
|
| 19 |
```markdown
|
| 20 |
+
pip install --extra-index-url https://test.pypi.org/simple/ ispin==0.2.0
|
| 21 |
```
|
| 22 |
|
| 23 |
NOTE: during the first execution, a total of two different models will be downloaded:
|