Visual Question Answering
Transformers
PyTorch
Safetensors
Korean
English
pix2struct
image-text-to-text
text2text-generation
Instructions to use nuua/ko-deplot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nuua/ko-deplot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="nuua/ko-deplot")# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("nuua/ko-deplot") model = AutoModelForImageTextToText.from_pretrained("nuua/ko-deplot") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -24,7 +24,6 @@ You can run a prediction by querying an input image together with a question as
|
|
| 24 |
|
| 25 |
```python
|
| 26 |
from transformers import Pix2StructProcessor, Pix2StructForConditionalGeneration
|
| 27 |
-
import requests
|
| 28 |
from PIL import Image
|
| 29 |
|
| 30 |
processor = Pix2StructProcessor.from_pretrained('nuua/Ko-Deplot')
|
|
|
|
| 24 |
|
| 25 |
```python
|
| 26 |
from transformers import Pix2StructProcessor, Pix2StructForConditionalGeneration
|
|
|
|
| 27 |
from PIL import Image
|
| 28 |
|
| 29 |
processor = Pix2StructProcessor.from_pretrained('nuua/Ko-Deplot')
|