khuangaf
commited on
Commit
•
a2c7451
1
Parent(s):
128d177
update readme
Browse files
README.md
CHANGED
@@ -24,9 +24,6 @@ processor = DonutProcessor.from_pretrained(model_name)
|
|
24 |
|
25 |
image_path = "PATH_TO_IMAGE"
|
26 |
|
27 |
-
def format_query(sentence):
|
28 |
-
return f"Does the image entails this statement: \"{sentence}\"?"
|
29 |
-
|
30 |
# Format text inputs
|
31 |
|
32 |
input_prompt = "<data_table_generation> <s_answer>"
|
|
|
24 |
|
25 |
image_path = "PATH_TO_IMAGE"
|
26 |
|
|
|
|
|
|
|
27 |
# Format text inputs
|
28 |
|
29 |
input_prompt = "<data_table_generation> <s_answer>"
|