Views
No views yet
track_1_test.json.1project_root/
2 prepare_test_prompt_v2.py # Build multi-prompt test inputs
3 convert_to_answer.py # Fuse multi-path prediction results
4 train_track1_stage1_qwen3vl8b_v1.yaml
5 train_track1_stage2_qwen3vl8b_v1.yaml
6 qwen3vl8b_r1stage2_seed_ensemble_fast_20260511_112825/
7 seed20260511_stage2/ # Stage2 adapter 1
8 seed20260512_stage2/ # Stage2 adapter 2
9 datasets/
10 images/ # Test images
11 original_annotations/
12 track_1_test.json # Official test template
13 outputs/
14 predictions/ # Model prediction outputs
15 submissions/answers/ # Final submission fileREPRODUCIBLE_PATHS.md.pip install torch transformers peft acceleratellamafactory-cli is available.Qwen/Qwen3-VL-8B-Instructdatasets/original_annotations/track_1_test.jsondatasets/images/1python prepare_test_prompt_v2.py \
2 --input_json datasets/original_annotations/track_1_test.json \
3 --image_dir datasets/images \
4 --output_json outputs/predictions/track1_test_convert.json \
5 --prompt_variants v1,v2,v3,v4,v6,v7,v81outputs/predictions/track1_test_convert_v1.json
2outputs/predictions/track1_test_convert_v2.json
3outputs/predictions/track1_test_convert_v3.json
4outputs/predictions/track1_test_convert_v4.json
5outputs/predictions/track1_test_convert_v6.json
6outputs/predictions/track1_test_convert_v7.json
7outputs/predictions/track1_test_convert_v8.json1qwen3vl8b_r1stage2_seed_ensemble_fast_20260511_112825/seed20260511_stage2
2qwen3vl8b_r1stage2_seed_ensemble_fast_20260511_112825/seed20260512_stage2dataset_info.json. Example:1{
2 "track1_test_v1": {
3 "file_name": "outputs/predictions/track1_test_convert_v1.json",
4 "formatting": "sharegpt",
5 "columns": {
6 "messages": "messages",
7 "images": "images"
8 }
9 }
10}1model_name_or_path: Qwen/Qwen3-VL-8B-Instruct
2adapter_name_or_path: qwen3vl8b_r1stage2_seed_ensemble_fast_20260511_112825/seed20260511_stage2
3template: qwen3_vl_nothink
4stage: sft
5finetuning_type: lora
6
7dataset_dir: .
8eval_dataset: track1_test_v1
9do_predict: true
10predict_with_generate: true
11cutoff_len: 4096
12image_max_pixels: 786432
13per_device_eval_batch_size: 8
14max_new_tokens: 384
15do_sample: false
16top_p: 1.0
17repetition_penalty: 1.02
18bf16: true
19flash_attn: auto
20
21output_dir: outputs/predictions/seed20260511_v1llamafactory-cli train predict_seed20260511_v1.yamloutputs/predictions/<run_name>/generated_predictions.jsonloutputs/predictions/track_1_test.json1python convert_to_answer.py \
2 --template_json outputs/predictions/track_1_test.json \
3 --predictions_jsonl \
4 outputs/predictions/seed20260511_v1/generated_predictions.jsonl \
5 outputs/predictions/seed20260511_v2/generated_predictions.jsonl \
6 outputs/predictions/seed20260511_v3/generated_predictions.jsonl \
7 outputs/predictions/seed20260511_v4/generated_predictions.jsonl \
8 outputs/predictions/seed20260511_v6/generated_predictions.jsonl \
9 outputs/predictions/seed20260511_v7/generated_predictions.jsonl \
10 outputs/predictions/seed20260511_v8/generated_predictions.jsonl \
11 --weights 1 1 1 1 1 1 1 \
12 --best_index 0 \
13 --total_score_fusion mean \
14 --output_json outputs/submissions/answers/track_1_test.jsongenerated_predictions.jsonl files to --predictions_jsonl and provide the same number of values in --weights.outputs/submissions/answers/track_1_test.jsoncriteria.leveltotal_scoreanswerdatasets/images/<image_name>.jpg.convert_to_answer.py supports multi-path prediction fusion, weighted answer voting, majority voting for levels, and mean fusion for total_score.