Update README.md
Browse files
README.md
CHANGED
@@ -14,16 +14,9 @@ licence: license
|
|
14 |
This model is a fine-tuned version of [Qwen/Qwen2-VL-2B-Instruct](https://huggingface.co/Qwen/Qwen2-VL-2B-Instruct).
|
15 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
16 |
|
17 |
-
##
|
18 |
|
19 |
-
|
20 |
-
from transformers import pipeline
|
21 |
-
|
22 |
-
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
23 |
-
generator = pipeline("text-generation", model="nnpy/qwen2-7b-instruct-trl-sft-ChartQA", device="cuda")
|
24 |
-
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
25 |
-
print(output["generated_text"])
|
26 |
-
```
|
27 |
|
28 |
## Training procedure
|
29 |
|
|
|
14 |
This model is a fine-tuned version of [Qwen/Qwen2-VL-2B-Instruct](https://huggingface.co/Qwen/Qwen2-VL-2B-Instruct).
|
15 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
16 |
|
17 |
+
## Task
|
18 |
|
19 |
+
This model is fine-tuned for extracting tables from images with better accuracy. This model will extract tables as html table content, so it is easy to convert into any kinda table format such as csv, excel, etc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
## Training procedure
|
22 |
|