lovodkin93
commited on
Commit
•
ab08cd3
1
Parent(s):
c447751
Upload config.yaml with huggingface_hub
Browse files- config.yaml +52 -0
config.yaml
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
BASE_REPO_ID: google/paligemma-3b-pt-448
|
2 |
+
FINETUNED_MODEL_ID: lovodkin93/paligemma-3b-pt-448_lora_mmnt_TV_concat_vertical-tgt-bottom-black_balanced
|
3 |
+
OUTPUT_DIR_PATH: /home/slobodkin/reference_vnli/train_ref_vnli_autorater/models/paligemma-3b-pt-448/lora_mmnt_TV_concat_vertical-tgt-bottom-black_balanced
|
4 |
+
INSTRUCTIONS: "You are presented with two images and a caption. The caption containes\
|
5 |
+
\ markups (<u> and </u>) around a mention of some {{ENTITY}}, whose image is the\
|
6 |
+
\ BOTTOM one. Your goal is to determine if the TOP image aligns with the caption,\
|
7 |
+
\ and also if it matches the {{ENTITY}} in the BOTTOM image within the caption's\
|
8 |
+
\ context. Your output should be '3' if the TOP image aligns with both the caption\
|
9 |
+
\ and the BOTTOM image, '2' if it only aligns with the caption, '1' if it only aligns\
|
10 |
+
\ with the BOTTOM image, and '0' if it aligns with neither.\n Caption: "
|
11 |
+
ENTITY_INSTRUCTION_PLACEHOLDER: '{{ENTITY}}'
|
12 |
+
DEBUG: false
|
13 |
+
RESUME_FROM_CHECKPOINT: false
|
14 |
+
MAX_LENGTH: 300
|
15 |
+
CONCAT_REF_TGT_IMAGES: true
|
16 |
+
CONCAT_IMAGES_TYPE: vertical-tgt-bottom-black
|
17 |
+
TRAIN_PARAMS:
|
18 |
+
BALANCE_TRAIN_DATASETS: true
|
19 |
+
BATCH_SIZE: 4
|
20 |
+
FULL_FINETUNE: false
|
21 |
+
FINETUNE_LLM: true
|
22 |
+
FINETUNE_MM_PROJECTOR: false
|
23 |
+
FINETUNE_VISION_MODEL: false
|
24 |
+
GRADIENT_ACCUMULATION_STEPS: 2
|
25 |
+
EVAL_INTERVAL: 200
|
26 |
+
SAVE_INTERVAL: 200
|
27 |
+
SAVE_TOTAL_LIMIT: 20
|
28 |
+
METRIC_FOR_BEST_MODEL: Eval/accuracy
|
29 |
+
DATA:
|
30 |
+
MEMENTOS:
|
31 |
+
IMG_DIR: /home/slobodkin/reference_vnli/datasets/mementos/images
|
32 |
+
DATASETS_CSV_BASE_DIR: /home/slobodkin/reference_vnli/train_ref_vnli_autorater/data/mementos/multiclass
|
33 |
+
VERSION: 03Nov2024
|
34 |
+
TRAIN:
|
35 |
+
DATASETS:
|
36 |
+
- name: train_min_balanced_multi_classification
|
37 |
+
task: mementos
|
38 |
+
EVAL:
|
39 |
+
DATASETS:
|
40 |
+
- name: dev_2000_instances
|
41 |
+
task: mementos
|
42 |
+
TVQA:
|
43 |
+
DATASETS_CSV_BASE_DIR: /home/slobodkin/reference_vnli/train_ref_vnli_autorater/data/TVQA_plus
|
44 |
+
VERSION: 15Dec2024
|
45 |
+
TRAIN:
|
46 |
+
DATASETS:
|
47 |
+
- name: train_balanced_full_200000_instances
|
48 |
+
task: TVQA
|
49 |
+
EVAL:
|
50 |
+
DATASETS:
|
51 |
+
- name: val_balanced_full_2000_instances
|
52 |
+
task: TVQA
|