Instructions to use mlx-vision/vit_base_patch16_224-mlxim with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- mlx-image
How to use mlx-vision/vit_base_patch16_224-mlxim with mlx-image:
from mlxim.model import create_model model = create_model(mlx-vision/vit_base_patch16_224-mlxim)
- MLX
How to use mlx-vision/vit_base_patch16_224-mlxim with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir vit_base_patch16_224-mlxim mlx-vision/vit_base_patch16_224-mlxim
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
Update README.md
Browse files
README.md
CHANGED
|
@@ -38,7 +38,7 @@ model.eval()
|
|
| 38 |
logits = model(x)
|
| 39 |
```
|
| 40 |
|
| 41 |
-
You can also use the embeds from
|
| 42 |
```python
|
| 43 |
from mlxim.model import create_model
|
| 44 |
from mlxim.io import read_rgb
|
|
|
|
| 38 |
logits = model(x)
|
| 39 |
```
|
| 40 |
|
| 41 |
+
You can also use the embeds from layer before head:
|
| 42 |
```python
|
| 43 |
from mlxim.model import create_model
|
| 44 |
from mlxim.io import read_rgb
|