Instructions to use INSAIT-Institute/spear1-franka with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use INSAIT-Institute/spear1-franka with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="INSAIT-Institute/spear1-franka", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("INSAIT-Institute/spear1-franka", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -32,6 +32,11 @@ The current implementation requires the following additional dependencies: `roma
|
|
| 32 |
|
| 33 |
Here is a snippet to set up a working environment for inference via `uv`:
|
| 34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
```
|
| 36 |
uv venv python 3.10.12
|
| 37 |
source .venv/bin/activate
|
|
|
|
| 32 |
|
| 33 |
Here is a snippet to set up a working environment for inference via `uv`:
|
| 34 |
|
| 35 |
+
1. Install `uv`:
|
| 36 |
+
```
|
| 37 |
+
wget -qO- https://github.com/astral-sh/uv/releases/download/0.7.5/uv-installer.sh | sh
|
| 38 |
+
```
|
| 39 |
+
2. Create virtualenv and resolve the dependencies:
|
| 40 |
```
|
| 41 |
uv venv python 3.10.12
|
| 42 |
source .venv/bin/activate
|