GAP-ocrbench-v1
收藏资源简介:
该数据集包含由 Gemma 系列模型(如 gemma-4-26b-a4b-it 和 gemma-4-e4b-it)生成的视觉语言模型输出。数据集包含多个配置,每个配置对应不同的模型变体、生成模式(指令生成或思考生成)以及最大 token 长度和视觉 token 数的设置。每个样本包含一个视觉问题、参考答案、图像、模型生成的文本以及详细的 token 处理信息(如输入 token 长度、生成 token 长度、预填充 token 数、视觉 token 总数和最大视觉 token 数)。此外,还记录了生成模型的路径、是否启用思考模式、图像指纹、图像处理器配置等信息。数据集适用于多模态推理、指令跟随、思维链生成等任务的训练或评估。每个配置的训练集样本数从 50 到 1000 不等,以支持不同规模实验。
This dataset contains visual language model outputs generated by the Gemma series models (such as gemma-4-26b-a4b-it and gemma-4-e4b-it). The dataset includes multiple configurations, each corresponding to different model variants, generation modes (instruction generation or thinking generation), and settings for maximum token length and visual token count. Each sample consists of a visual question, a reference answer, an image, the model-generated text, and detailed token processing information (such as input token length, generated token length, prefill token count, total visual tokens, and maximum visual token count). Additionally, it records the generation model path, whether thinking mode is enabled, image fingerprint, image processor configuration, and other information. The dataset is suitable for training or evaluation of tasks such as multimodal reasoning, instruction following, and chain-of-thought generation. The number of training samples per configuration ranges from 50 to 1000 to support experiments of different scales.
数据集概述:GAP-ocrbench-v1
基本信息
- 数据集名称:GAP-ocrbench-v1
- 数据集地址:https://huggingface.co/datasets/elichen-skymizer/GAP-ocrbench-v1
- 数据集用途:该数据集包含多种配置(config),每个配置对应不同的模型生成策略和视觉令牌参数,用于OCR(光学字符识别)基准测试。
数据配置(Configs)
该数据集包含多个配置,每个配置的样本数量和数据集大小均有所不同:
| 配置名称 | 样本数 | 数据集大小 (bytes) | 下载大小 (bytes) |
|---|---|---|---|
| gemma-4-26b-a4b-it-ins-gen-2048-vt280 | 1000 | 91,523,033 | 90,535,295 |
| gemma-4-26b-a4b-it-ins-gen-2048-vt280-subsample-50 | 50 | 5,928,740 | 5,055,620 |
| gemma-4-26b-a4b-it-ins-gen-2048-vt280-subsample-100 | 100 | 9,582,264 | 7,601,049 |
| gemma-4-26b-a4b-it-think-gen-4096-vt280 | 993 | 101,044,267 | 99,518,233 |
| gemma-4-26b-a4b-it-think-gen-4096-vt280-subsample-50 | 50 | 6,185,435 | 4,484,151 |
| gemma-4-26b-a4b-it-think-gen-4096-vt280-subsample-100 | 100 | 11,142,397 | 8,482,300 |
| gemma-4-e4b-it-ins-gen-2048-vt140 | 1000 | 89,622,333 | 88,608,415 |
| gemma-4-e4b-it-ins-gen-2048-vt140-subsample-50 | 50 | 5,825,325 | 5,056,883 |
| gemma-4-e4b-it-ins-gen-2048-vt140-subsample-100 | 100 | 9,386,809 | 7,607,072 |
| gemma-4-e4b-it-ins-gen-2048-vt280 | 1000 | 91,756,999 | 90,746,783 |
| gemma-4-e4b-it-ins-gen-2048-vt280-subsample-50 | 50 | 5,948,978 | 5,061,050 |
| gemma-4-e4b-it-ins-gen-2048-vt280-subsample-100 | 100 | 9,618,072 | 7,611,493 |
| gemma-4-e4b-it-ins-gen-2048-vt560 | 1000 | 96,112,223 | 95,105,165 |
| gemma-4-e4b-it-ins-gen-2048-vt560-subsample-50 | 50 | 6,165,346 | 5,059,196 |
| gemma-4-e4b-it-ins-gen-2048-vt560-subsample-100 | 100 | 10,063,890 | 7,613,662 |
| gemma-4-e4b-it-think-gen-4096-vt140 | 不适用 | 不适用 | 不适用 |
数据特征(Features)
每个配置包含以下字段:
| 字段名 | 数据类型 | 说明 |
|---|---|---|
| source | string | 数据来源 |
| item_id | string | 条目ID |
| origin_id | int64 | 原始ID |
| sample_seed | int64 | 采样种子 |
| question | string | 问题 |
| images | list[image] | 图像列表 |
| num_images | int32 | 图像数量 |
| ref_answer | string | 参考答案 |
| category | string | 类别 |
| input_ids | list[int64] | 输入ID列表 |
| input_tokens_len | int64 | 输入令牌长度 |
| generated_texts | string | 生成的文本 |
| generated_tokens_len | int64 | 生成令牌长度 |
| n_prefill_tokens | int64 | 预填充令牌数 |
| finish_reason | string | 完成原因 |
| seed | int64 | 种子 |
| labels | list[int64] | 标签列表 |
| image_fingerprint | string | 图像指纹 |
| image_processor_config | string | 图像处理器配置 |
| image_processor_config_hash | string | 图像处理器配置哈希 |
| sum_vision_tokens | int64 | 视觉令牌总数 |
| max_vision_tokens | int64 | 最大视觉令牌数 |
| id | string | 唯一ID |
| truncated_by_cap | bool | 是否因上限被截断 |
| generation_model_name_or_path | string | 生成模型名称或路径 |
| enable_thinking | bool | 是否启用思考模式 |
数据分割(Splits)
- 分割类型:所有配置均包含 train 分割
- 分割详情:具体样本数见上文配置表格
配置命名规则说明
配置名称遵循特定格式,例如 gemma-4-26b-a4b-it-ins-gen-2048-vt280:
gemma-4-26b-a4b或gemma-4-e4b:使用的模型名称ins-gen-2048或think-gen-4096:指令生成(ins-gen)或思考生成(think-gen)模式,以及生成令牌数vt140、vt280、vt560:不同视觉令牌(vision tokens)参数subsample-50和subsample-100:代表从完整数据集中抽取的50或100个样本子集




