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 ·
dd1bdd7
1
Parent(s): 6b4355c
Update README.md
Browse files
README.md
CHANGED
|
@@ -17,9 +17,11 @@ Some additional code is needed in order for the model to work, since it provides
|
|
| 17 |
|
| 18 |
You need to include a folder, preferably called **ISPIn**, in your project, structured like the folder **ISPIn** in this repo.
|
| 19 |
Files needed:
|
|
|
|
| 20 |
1. \_\_init\_\_.py (empty file);
|
| 21 |
2. ISPInConfig.py;
|
| 22 |
3. ISPIn.py
|
|
|
|
| 23 |
|
| 24 |
Python code for ISPInConfig.py
|
| 25 |
```python
|
|
|
|
| 17 |
|
| 18 |
You need to include a folder, preferably called **ISPIn**, in your project, structured like the folder **ISPIn** in this repo.
|
| 19 |
Files needed:
|
| 20 |
+
```markdown
|
| 21 |
1. \_\_init\_\_.py (empty file);
|
| 22 |
2. ISPInConfig.py;
|
| 23 |
3. ISPIn.py
|
| 24 |
+
```
|
| 25 |
|
| 26 |
Python code for ISPInConfig.py
|
| 27 |
```python
|