Instructions to use brainventures/deplot_kr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use brainventures/deplot_kr 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="brainventures/deplot_kr")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("brainventures/deplot_kr") model = AutoModelForMultimodalLM.from_pretrained("brainventures/deplot_kr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,8 +14,6 @@ deplot_kr은 google의 pix2struct 구조를 기반으로 한 한국어 image-to-
|
|
| 14 |
|
| 15 |
## How to use
|
| 16 |
|
| 17 |
-
'''python
|
| 18 |
-
>>> from transformers import Pix2StructImageProcessor()
|
| 19 |
|
| 20 |
|
| 21 |
### Training data
|
|
|
|
| 14 |
|
| 15 |
## How to use
|
| 16 |
|
|
|
|
|
|
|
| 17 |
|
| 18 |
|
| 19 |
### Training data
|