Instructions to use centaur31/vit-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use centaur31/vit-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="centaur31/vit-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("centaur31/vit-base") model = AutoModel.from_pretrained("centaur31/vit-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "vit-base",
|
| 3 |
"architectures": [
|
| 4 |
"ViTModel"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "Centaur31/vit-base",
|
| 3 |
"architectures": [
|
| 4 |
"ViTModel"
|
| 5 |
],
|