计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
sequence-models【效率与协作】Operate DeepCTR DIN, DIEN, DSIN, and BST sequence/session recommendation workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task involves DeepCTR's sequence/session recommender models: DIN, BST, DIEN, or DSIN. It is specialized for input naming, sequence/session feature construction, attention/GRU caveats, and tiny synthetic smoke checks.
DeepCTR facts to preserve in downstream work: DeepCTR is a TensorFlow/Keras CTR/recommender package imported as deepctr; this skill targets DeepCTR 0.9.4. TensorFlow is a separate dependency. Use public tensorflow.keras APIs in new code.
hist_/sess_ field names, padding, seq_length/sess_length, and embedding sharing examples.hist_ history fields.hist_ history should be processed through Transformer layers before attention; include seq_length.sess_<index>_<feature> fields plus sess_length.SparseFeat, DenseFeat, VarLenSparseFeat, hashing, weighted sequences, or feature validation unrelated to DIN/BST/DIEN/DSIN naming, route to data-and-feature-columns.compile, fit, callbacks, save/load, custom objects, prediction, and TensorFlow environment management, route to keras-model-workflows.history_feature_list must have a matching history field named exactly hist_ + feature name, for example item_id -> hist_item_id.seq_length input; set length_name="seq_length" on history VarLenSparseFeat columns and include x["seq_length"].0..sess_max_count-1 and every behavior feature, include sess_<index>_<feature> and include x["sess_length"].0 only for padding in behavior sequence/session id arrays; encode valid behavior ids from 1 upward and set vocabulary_size >= max_id + 1.embedding_name, for example SparseFeat("hist_item_id", ..., embedding_name="item_id"), and keep shared vocabulary size, embedding dimension, and trainability compatible.att_activation="sigmoid" for DIN/DIEN smoke/debug runs; dice is the DeepCTR default but more version-sensitive.