| { |
| "sample_size": { |
| "total": 493306303, |
| "train": 394647318, |
| "valid": 50079027, |
| "test": 48579958 |
| }, |
| "oov_filter": { |
| "min_feat_count": 2, |
| "applied_to": [ |
| "video_category", |
| "watching_times", |
| "gender", |
| "age" |
| ], |
| "rule": "特征值出现次数 < min_feat_count 的统一映射为 0 (unknown/padding)" |
| }, |
| "blocked_layout": { |
| "n_user_parts": 32, |
| "train_blocks": 32, |
| "valid_blocks": 8, |
| "test_blocks": 8, |
| "train": { |
| "data_dir": "train/data", |
| "user_info_dir": "train/user_info", |
| "item_info_dir": "train/item_info" |
| }, |
| "valid": { |
| "data_dir": "valid/data", |
| "user_info_dir": "valid/user_info", |
| "item_info_dir": "valid/item_info" |
| }, |
| "test": { |
| "data_dir": "test/data", |
| "user_info_dir": "test/user_info", |
| "item_info_dir": "test/item_info" |
| }, |
| "block_pair_rule": "同一 split 下, data/user_info/item_info 使用相同的 part-xxxxx 编号配对读取。", |
| "local_index_rule": { |
| "user_index": "block-local dense index, starts from 0", |
| "item_index": "block-local dense index, 0 reserved for padding", |
| "user_id": "global feature id, consistent across blocks", |
| "item_id": "global feature id, consistent across blocks" |
| } |
| }, |
| "vocab_size": { |
| "user_index": 4996176, |
| "item_index": 3753437, |
| "user_id": 4996177, |
| "item_id": 3753437, |
| "video_category": 5, |
| "watching_times": 419, |
| "gender": 5, |
| "age": 10, |
| "action": 17 |
| }, |
| "label": [ |
| "click", |
| "follow", |
| "like", |
| "share" |
| ], |
| "action_vocab": { |
| "click": 1, |
| "exposure": 2, |
| "click|like": 3, |
| "follow|like": 4, |
| "like": 5, |
| "click|follow|like": 6, |
| "click|follow": 7, |
| "like|share": 8, |
| "click|share": 9, |
| "share": 10, |
| "follow|share": 11, |
| "click|like|share": 12, |
| "follow": 13, |
| "click|follow|like|share": 14, |
| "click|follow|share": 15, |
| "follow|like|share": 16 |
| }, |
| "action_vocab_desc": "编码后的 action 词表,用于 dataloader 基于 full_action_seq 构造 task-specific token masks。", |
| "user_info_schema": { |
| "fields": [ |
| "user_index", |
| "full_item_seq", |
| "full_action_seq" |
| ], |
| "desc": "这里的 user_index / full_item_seq 中的 item index 都是 block-local index;full_action_seq 为全局时间顺序序列。" |
| }, |
| "item_info_schema": { |
| "fields": [ |
| "item_index", |
| "item_id", |
| "video_category" |
| ], |
| "desc": "item_index 为 block-local index;item_id 为全局 item feature id,用于 embedding 一致性。" |
| }, |
| "max_len": { |
| "full_item_seq": 6013, |
| "full_action_seq": 6013 |
| } |
| } |