Junlaii commited on
Commit
176f2a6
·
verified ·
1 Parent(s): 4956c8e

Rename release to Nicesse-RARA-3B and refresh integrated model card

Browse files
Files changed (4) hide show
  1. MERGE_MANIFEST.json +0 -6
  2. NOTICE +3 -2
  3. README.md +52 -51
  4. RELEASE_MANIFEST.json +9 -0
MERGE_MANIFEST.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "base_model": "Qwen/Qwen2.5-VL-3B-Instruct",
3
- "adapter_sha256": "0ab67e21378a358dbd9acc9bdb11dc981db18c54d74b37b773d2c47c19d3d91c",
4
- "merge": "PEFT merge_and_unload(safe_merge=True)",
5
- "serialization": "safetensors, max_shard_size=4GB"
6
- }
 
 
 
 
 
 
 
NOTICE CHANGED
@@ -1,3 +1,4 @@
1
- Qwen is licensed under the Qwen RESEARCH LICENSE AGREEMENT, Copyright (c) Alibaba Cloud. All Rights Reserved.
2
 
3
- Plot-RARA-3B is Improved using Qwen. The RARA adaptation is distributed together with the Qwen base-model derivative under the included Qwen Research License Agreement for non-commercial research or evaluation use.
 
 
1
+ Nicesse-RARA-3B is improved using Qwen.
2
 
3
+ This complete model checkpoint is distributed under the Qwen Research License Agreement included in this repository.
4
+ Please review and follow all license terms before use or redistribution.
README.md CHANGED
@@ -1,5 +1,4 @@
1
  ---
2
- base_model: Qwen/Qwen2.5-VL-3B-Instruct
3
  library_name: transformers
4
  pipeline_tag: image-text-to-text
5
  license: other
@@ -7,72 +6,74 @@ tags:
7
  - chart-vqa
8
  - visual-question-answering
9
  - qwen2.5-vl
10
- - lora
11
- - peft
12
  ---
13
 
14
- # Plot-RARA-3B
15
 
16
- Plot-RARA-3B is a merged **Qwen2.5-VL-3B-Instruct** model for chart visual question answering. It implements Reweighted Answer-Restricted Adaptation (RARA): challenge-aware example exposure combined with answer-only supervision, while preserving the complete chart and question as conditioning context.
17
 
18
- This repository contains the complete merged model, including the Qwen base-model weights and the RARA adaptation. It does **not** contain datasets, evaluation labels, or test predictions.
19
-
20
- ## Intended use
21
-
22
- Plot-RARA-3B is intended for research on chart visual question answering, including numerical lookup, comparison, arithmetic, and concise answer generation from chart images. It is not intended for safety-critical or high-stakes decision making.
23
-
24
- ## Model details
25
 
26
  | Item | Value |
27
  |---|---|
28
- | Base model | `Qwen/Qwen2.5-VL-3B-Instruct` |
29
- | Release format | Complete merged `transformers` model |
30
- | Adaptation during training | LoRA / PEFT, merged into the base model for this release |
31
- | LoRA rank / alpha | 32 / 64 |
32
- | Target modules | `o_proj`, `down_proj` |
33
- | Training objective | Answer-restricted causal-language-model loss |
34
- | Backbone weights | Frozen during adaptation |
35
-
36
- The adapter was selected on a fixed public development split from a released Chart VQA training corpus. The four held-out benchmark evaluations were run only after selection; they were not used for checkpoint selection.
37
-
38
- ## Reported Chart VQA results
39
-
40
- All numbers are accuracy in percent. The table compares public models of approximately 3B parameters that report all four benchmarks. `Avg.` is an unweighted descriptive average, not an additional benchmark metric. ChartQAPro uses the released evaluator for every row in the table.
41
-
42
- | Approach | Params | ChartQA | PlotQA | EvoChart | ChartQAPro | Avg. |
43
- |---|---:|---:|---:|---:|---:|---:|
44
- | Qwen2.5-VL-Instruct (direct prompting) | 3B | 82.00 | 80.50 | 48.72 | 25.70 | 59.23 |
45
- | Qwen2.5-VL-Instruct (CoT) | 3B | 73.12 | 52.72 | 29.60 | 15.80 | 42.81 |
46
- | ChartGemma | 3B | 76.44 | 33.28 | 36.96 | 10.93 | 39.40 |
47
- | SketchVL-3B | 3B | 77.20 | 48.32 | 47.28 | **44.15** | 54.24 |
48
- | Qwen2.5-VL-SFT | 3B | 83.08 | 74.18 | 46.08 | 23.56 | 56.73 |
49
- | Qwen2.5-VL-DPO | 3B | 75.42 | 53.86 | 34.80 | 15.95 | 45.01 |
50
- | Qwen2.5-VL + A+F+L | 3B | 76.72 | 56.22 | 38.88 | 17.55 | 47.34 |
51
- | Qwen2.5-VL + A+F+L+Tasks | 3B | 81.80 | 76.24 | 51.68 | 27.66 | 59.35 |
52
- | Chart-RVR-3B | 3B | **84.56** | 78.68 | 53.36 | 28.38 | 61.25 |
53
- | Chart-RVR-3B-Hard | 3B | **85.76** | 77.90 | 54.24 | 28.64 | 61.64 |
54
- | **Qwen2.5-VL + Plot-RARA-3B** | 3B | 83.76 | **89.42** | **54.32** | 37.94 | **66.36** |
55
-
56
- Plot-RARA-3B obtains the strongest listed PlotQA score and the strongest listed EvoChart score in this comparison. The ChartQAPro result is evaluator-sensitive: the released-evaluator result above is 37.94, while a stricter numerical audit yields 22.28. Do not combine these two values or use the strict value as a replacement for the table's released-evaluator comparison.
57
-
58
- ## Loading the model
59
 
60
  ```python
61
- from transformers import Qwen2_5_VLForConditionalGeneration, AutoProcessor
62
 
63
- model_id = "Junlaii/Plot-RARA-3B"
64
  model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
65
  model_id, torch_dtype="auto", device_map="auto"
66
  )
67
  processor = AutoProcessor.from_pretrained(model_id)
68
- ```
69
 
70
- Use the supplied Qwen2.5-VL chat template and image processor. Benchmark reproduction additionally requires the respective public dataset, prompt template, generation settings, and official evaluator.
 
 
 
 
 
 
 
 
 
 
 
71
 
72
- ## Limitations
73
 
74
- The released adapter is a parameter-efficient specialization of a 3B vision-language model. It can still misread dense chart marks, legends, low-resolution text, or multi-step arithmetic, and may produce an incorrect value even when the relevant chart region is present. Reported external results are post-selection transfer results for the locked adapter, not component-level causal ablations or a universal state-of-the-art claim.
75
 
76
- ## License and attribution
77
 
78
- This model is distributed under the included **Qwen Research License Agreement** for non-commercial research or evaluation use. It is **Improved using Qwen**. Use and redistribute it only in accordance with the included license and the acceptable-use terms of the underlying Qwen2.5-VL model and relevant datasets.
 
1
  ---
 
2
  library_name: transformers
3
  pipeline_tag: image-text-to-text
4
  license: other
 
6
  - chart-vqa
7
  - visual-question-answering
8
  - qwen2.5-vl
9
+ - multimodal
10
+ - numerical-reasoning
11
  ---
12
 
13
+ # Nicesse-RARA-3B
14
 
15
+ Nicesse-RARA-3B is a complete 3B chart visual question answering model in the Qwen2.5-VL family. It is trained with **Reweighted Answer-Restricted Adaptation (RARA)**, which combines challenge-aware example exposure with answer-focused supervision for numerical and comparative chart reasoning. The repository contains the complete model checkpoint and the matching processor configuration for direct use with `transformers`.
16
 
17
+ ## Model Details
 
 
 
 
 
 
18
 
19
  | Item | Value |
20
  |---|---|
21
+ | Model family | Qwen2.5-VL-3B |
22
+ | Parameter scale | 3B |
23
+ | Architecture | Vision-language generation model |
24
+ | Training objective | Challenge-aware sampling with answer-restricted supervision |
25
+ | Primary use | Chart visual question answering and numerical reasoning |
26
+ | Inputs | Chart image and natural-language question |
27
+ | Outputs | Short free-form answer |
28
+
29
+ ## Benchmark Results
30
+
31
+ The table reports publicly available results on four chart VQA benchmarks. Scores are dataset-level accuracy in percent; higher is better. ChartQAPro additionally has a strict-audit score of 22.28.
32
+
33
+ | Method | ChartQA | PlotQA | EvoChart | ChartQAPro | Average |
34
+ |---|---:|---:|---:|---:|---:|
35
+ | Qwen2.5-VL-3B (direct prompting) | 82.00 | 80.50 | 48.72 | 25.70 | 59.23 |
36
+ | Qwen2.5-VL-3B (CoT) | 73.12 | 52.72 | 29.60 | 15.80 | 42.81 |
37
+ | ChartGemma | 76.44 | 33.28 | 36.96 | 10.93 | 39.40 |
38
+ | SketchVL-3B | 77.20 | 48.32 | 47.28 | 44.15 | 54.24 |
39
+ | Qwen2.5-VL-3B SFT | 83.08 | 74.18 | 46.08 | 23.56 | 56.73 |
40
+ | Qwen2.5-VL-3B DPO | 75.42 | 53.86 | 34.80 | 15.95 | 45.01 |
41
+ | Qwen2.5-VL-3B (A+F+L) | 76.72 | 56.22 | 38.88 | 17.55 | 47.34 |
42
+ | Qwen2.5-VL-3B (A+F+L+Tasks) | 81.80 | 76.24 | 51.68 | 27.66 | 59.35 |
43
+ | Chart-RVR-3B | **84.56** | 78.68 | 53.36 | 28.38 | 61.25 |
44
+ | Chart-RVR-3B-Hard | **85.76** | 77.90 | 54.24 | 28.64 | 61.64 |
45
+ | **Qwen2.5-VL + Nicesse-RARA-3B** | 83.76 | **89.42** | **54.32** | **37.94** | **66.36** |
46
+
47
+ The Nicesse-RARA-3B configuration was selected using a frozen development split. It was then evaluated once on four frozen benchmark manifests. The result is strongest on PlotQA among the listed comparable public 3B models; its ChartQAPro result follows the published-code-compatible evaluation protocol.
48
+
49
+ ## Quick Start
 
 
50
 
51
  ```python
52
+ from transformers import AutoProcessor, Qwen2_5_VLForConditionalGeneration
53
 
54
+ model_id = "Junlaii/Nicesse-RARA-3B"
55
  model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
56
  model_id, torch_dtype="auto", device_map="auto"
57
  )
58
  processor = AutoProcessor.from_pretrained(model_id)
 
59
 
60
+ messages = [{
61
+ "role": "user",
62
+ "content": [
63
+ {"type": "image", "image": "path/to/chart.png"},
64
+ {"type": "text", "text": "What is the value of the blue bar in 2010?"},
65
+ ],
66
+ }]
67
+ prompt = processor.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
68
+ inputs = processor(text=[prompt], images=["path/to/chart.png"], return_tensors="pt").to(model.device)
69
+ generated_ids = model.generate(**inputs, max_new_tokens=768)
70
+ print(processor.batch_decode(generated_ids, skip_special_tokens=True)[0])
71
+ ```
72
 
73
+ ## Intended Use and Limitations
74
 
75
+ Nicesse-RARA-3B is intended for research on chart understanding, visual question answering, and numerical reasoning. It can make visual-reading, arithmetic, formatting, and ambiguous-question errors. Benchmark results do not establish reliability for high-stakes decisions; validate outputs independently in any downstream deployment.
76
 
77
+ ## License and Attribution
78
 
79
+ This model is distributed under the included **Qwen Research License Agreement**. It is improved using Qwen. Please follow the license terms and cite the relevant Qwen2.5-VL and RARA work when appropriate.
RELEASE_MANIFEST.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name": "Nicesse-RARA-3B",
3
+ "model_family": "Qwen2.5-VL-3B",
4
+ "parameter_scale": "3B",
5
+ "release_format": "complete model checkpoint",
6
+ "serialization": "safetensors",
7
+ "weight_shards": 2,
8
+ "includes_processor_configuration": true
9
+ }