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") - Notebooks
- Google Colab
- Kaggle
dltjwl commited on
Commit ยท
e5288c0
1
Parent(s): 6f8663f
ADD : Adding image and Modifying Widget
Browse files- README.md +4 -0
- sample.jpg +0 -0
README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
| 2 |
language:
|
| 3 |
- ko
|
| 4 |
pipeline_tag: image-to-text
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
| 6 |
|
| 7 |
# **deplot_kr**
|
|
|
|
| 2 |
language:
|
| 3 |
- ko
|
| 4 |
pipeline_tag: image-to-text
|
| 5 |
+
widget:
|
| 6 |
+
- src: sample.jpg
|
| 7 |
+
output:
|
| 8 |
+
text: "๋์:<\n>์ ๋ชฉ: 2011-2021 ๋ณด๊ฑด๋ณต์ง ๋ถ์ผ ์ผ์๋ฆฌ์ <unk>์ฆ<\n>์ ํ: ๋จ์ผํ ์ผ๋ฐ ์ธ๋ก <unk>๋ํ<\n>| ๋ณด๊ฑด(์ฒ ๋ช
) | ๋ณต์ง(์ฒ ๋ช
)<\n>1๋ถ์ | 29.7 | 178.4<\n>2๋ถ์ | 70.8 | 97.3<\n>3๋ถ์ | 86.4 | 61.3<\n>4๋ถ์ | 28.2 | 16.0<\n>5๋ถ์ | 52.3 | 0.9"
|
| 9 |
---
|
| 10 |
|
| 11 |
# **deplot_kr**
|
sample.jpg
ADDED
|