Instructions to use Lutech-AI/I-SPIn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Lutech-AI/I-SPIn with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import ISPIn model = ISPIn.from_pretrained("Lutech-AI/I-SPIn", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
64ee658
1
Parent(s): ee827d5
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,8 +5,10 @@ license: apache-2.0
|
|
| 5 |
**I**talian-**S**entence **P**air **In**ference, AKA **I-SPIn**.<br>
|
| 6 |
This is a fine-tuned version of the model [paraphrase-multilingual-mpnet-base-v2](https://huggingface.co/sentence-transformers/paraphrase-multilingual-mpnet-base-v2).<br>
|
| 7 |
Its main task is to perform the [Natural Language Inference (NLI)](https://nlp.stanford.edu/projects/snli/) task in the Italian language.<br>
|
| 8 |
-
The prediction
|
| 9 |
-
|
|
|
|
|
|
|
| 10 |
|
| 11 |
## How it was trained
|
| 12 |
1. Train [paraphrase-multilingual-mpnet-base-v2](https://huggingface.co/sentence-transformers/paraphrase-multilingual-mpnet-base-v2) on the NLI task;
|
|
|
|
| 5 |
**I**talian-**S**entence **P**air **In**ference, AKA **I-SPIn**.<br>
|
| 6 |
This is a fine-tuned version of the model [paraphrase-multilingual-mpnet-base-v2](https://huggingface.co/sentence-transformers/paraphrase-multilingual-mpnet-base-v2).<br>
|
| 7 |
Its main task is to perform the [Natural Language Inference (NLI)](https://nlp.stanford.edu/projects/snli/) task in the Italian language.<br>
|
| 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;
|