SmartWhatt commited on
Commit
ec58cd6
·
verified ·
1 Parent(s): 4d2f8cd

Record the token budget: measured visual and text tokens

Browse files
Files changed (3) hide show
  1. README.md +25 -0
  2. TOKENS.md +18 -0
  3. tokens.json +34 -0
README.md CHANGED
@@ -113,3 +113,28 @@ To request removal of an image or to report a rights problem, open an issue in t
113
  project repository or contact the dataset maintainers (smartwhatt/thai_spatial_reasoning). Each
114
  image row carries `source_url`, `image_license`, and `rights_evidence_uri`, which is enough
115
  to identify and remove the exact image in a future revision.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  project repository or contact the dataset maintainers (smartwhatt/thai_spatial_reasoning). Each
114
  image row carries `source_url`, `image_license`, and `rights_evidence_uri`, which is enough
115
  to identify and remove the exact image in a future revision.
116
+
117
+ ## Token budget
118
+
119
+ Measured with the `Qwen/Qwen3-VL-2B-Instruct` image processor over every one of the 34,764 images in this release,
120
+ so these are the tokens a Qwen3-VL model actually sees, not an estimate. Text is counted with the
121
+ processor tokenizer over captions, questions and answers.
122
+
123
+ | split | images | visual tokens | text tokens |
124
+ |---|---|---|---|
125
+ | train | 30,481 | 13,715,675 | 6,628,004 |
126
+ | validation | 2,271 | 3,788,003 | 683,998 |
127
+ | test | 2,012 | 1,467,105 | 481,804 |
128
+ | **total** | **34,764** | **18,970,783** | **7,793,806** |
129
+
130
+ **Total: 26,764,589 tokens** — 18,970,783 visual plus 7,793,806 text, an average of 545 visual and
131
+ 224 text tokens per image.
132
+
133
+ Real images cost far more than renders: 1,778 visual tokens per image on average against
134
+ 300 for a render, because a 1240x1754 photograph is not a 640x480 scene. The training
135
+ splits are render-heavy, so most of the training budget today is the fixed 300-token renders, and the
136
+ real photographs are where the per-image weight sits.
137
+
138
+ The continuous-pretraining index is a separate figure: 243,348 rows carrying 8,175,985 text
139
+ tokens, and about **140,800,645 tokens** if every row trains with its image attached. Quote
140
+ that number when a training recipe asks for a slice size.
TOKENS.md ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Token budget
2
+
3
+ Measured with the `Qwen/Qwen3-VL-2B-Instruct` image processor over every image in this release, and the processor
4
+ tokenizer over all text. The dataset card carries the per-split table.
5
+
6
+ | | |
7
+ |---|---|
8
+ | images | 34,764 |
9
+ | visual tokens | 18,970,783 |
10
+ | text tokens | 7,793,806 |
11
+ | **total tokens** | **26,764,589** |
12
+ | visual tokens per image | 545 |
13
+ | text tokens per image | 224 |
14
+ | CPT index rows | 243,348 |
15
+ | CPT index, text only | 8,175,985 |
16
+ | CPT index, one image per row | ~140,800,645 |
17
+
18
+ A real photograph averages 1,778 visual tokens; a render is a fixed 300 at 640x480.
tokens.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "Qwen/Qwen3-VL-2B-Instruct",
3
+ "images": 34764,
4
+ "visual_tokens": 18970783,
5
+ "text_tokens": 7793806,
6
+ "total_tokens": 26764589,
7
+ "sampled": false,
8
+ "visual_by_split": {
9
+ "test": 1467105,
10
+ "train": 13715675,
11
+ "validation": 3788003
12
+ },
13
+ "text_by_split": {
14
+ "test": {
15
+ "caption": 112139,
16
+ "question": 271265,
17
+ "answer": 98400
18
+ },
19
+ "train": {
20
+ "caption": 1631105,
21
+ "question": 3691802,
22
+ "answer": 1305097
23
+ },
24
+ "validation": {
25
+ "caption": 130054,
26
+ "question": 399738,
27
+ "answer": 154206
28
+ }
29
+ },
30
+ "visual_by_kind_mean": {
31
+ "real": 1778.2940463828315,
32
+ "rendered": 300.0
33
+ }
34
+ }