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 ·
71b8671
1
Parent(s): f419245
Update README.md
Browse files
README.md
CHANGED
|
@@ -66,7 +66,7 @@ model = ISPIn.from_pretrained('[your/path]/I-SPIn')
|
|
| 66 |
## Full model architecture
|
| 67 |
```markdown
|
| 68 |
ISPIn(
|
| 69 |
-
(encoder): XLMRobertaModel(...) #
|
| 70 |
(layers): ModuleList(
|
| 71 |
(0): Linear(in_features=1536, out_features=1024, bias=True)
|
| 72 |
(1): Linear(in_features=1024, out_features=512, bias=True)
|
|
|
|
| 66 |
## Full model architecture
|
| 67 |
```markdown
|
| 68 |
ISPIn(
|
| 69 |
+
(encoder): XLMRobertaModel(...) # transformers internal implementation of paraphrase-multilingual-mpnet-base-v2
|
| 70 |
(layers): ModuleList(
|
| 71 |
(0): Linear(in_features=1536, out_features=1024, bias=True)
|
| 72 |
(1): Linear(in_features=1024, out_features=512, bias=True)
|