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 ·
9b5a983
1
Parent(s): f717c18
Update README.md
Browse files
README.md
CHANGED
|
@@ -50,7 +50,7 @@ predictions = model.predict(
|
|
| 50 |
hypothesis_embeddings,
|
| 51 |
one_to_many = True
|
| 52 |
)
|
| 53 |
-
print(predictions) # -> [
|
| 54 |
```
|
| 55 |
|
| 56 |
## Usage #2 (cloning repo) (will be deleted)
|
|
|
|
| 50 |
hypothesis_embeddings,
|
| 51 |
one_to_many = True
|
| 52 |
)
|
| 53 |
+
print(predictions) # -> [0 0]
|
| 54 |
```
|
| 55 |
|
| 56 |
## Usage #2 (cloning repo) (will be deleted)
|