Instructions to use swaroopajit/git-base-next-refined with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use swaroopajit/git-base-next-refined with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("image-to-text", model="swaroopajit/git-base-next-refined")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("swaroopajit/git-base-next-refined") model = AutoModelForMultimodalLM.from_pretrained("swaroopajit/git-base-next-refined", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
c91dbeb
1
Parent(s): 6ddeba5
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,6 +6,7 @@ tags:
|
|
| 6 |
model-index:
|
| 7 |
- name: git-base-next-refined
|
| 8 |
results: []
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -51,4 +52,4 @@ The following hyperparameters were used during training:
|
|
| 51 |
- Transformers 4.33.1
|
| 52 |
- Pytorch 2.0.1+cu117
|
| 53 |
- Datasets 2.14.5
|
| 54 |
-
- Tokenizers 0.13.3
|
|
|
|
| 6 |
model-index:
|
| 7 |
- name: git-base-next-refined
|
| 8 |
results: []
|
| 9 |
+
pipeline_tag: image-to-text
|
| 10 |
---
|
| 11 |
|
| 12 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 52 |
- Transformers 4.33.1
|
| 53 |
- Pytorch 2.0.1+cu117
|
| 54 |
- Datasets 2.14.5
|
| 55 |
+
- Tokenizers 0.13.3
|