├── LICENSE ├── README.md ├── figs ├── A.png ├── F.png ├── M_ff.png ├── attention.PNG ├── model_1.PNG ├── ranks.png └── results.png ├── install.sh ├── model_description.pdf ├── models ├── din_ffm_v3_r_0.yaml ├── din_ffm_v3_r_1.yaml ├── din_ffm_v3_r_10.yaml ├── din_ffm_v3_r_11.yaml ├── din_ffm_v3_r_12.yaml ├── din_ffm_v3_r_2.yaml ├── din_ffm_v3_r_3.yaml ├── din_ffm_v3_r_4.yaml ├── din_ffm_v3_r_5.yaml ├── din_ffm_v3_r_6.yaml ├── din_ffm_v3_r_7.yaml ├── din_ffm_v3_r_8.yaml ├── din_ffm_v3_r_9.yaml └── din_ffm_v3_r_template.yaml ├── post-processing.sh ├── pre-processing.sh ├── pre-processing_ad.sh ├── pre-processing_his.sh ├── pre-processing_merge.sh ├── pre-processing_user.sh ├── run.sh ├── run_models.sh ├── scripts ├── collect_res.py ├── construct_mapping.py ├── construct_mapping_ad.py ├── count_features.py ├── count_features_ad.py ├── gen_feature_info_r_2.py ├── gen_file_list.py ├── mapping_features.py ├── mapping_features_ad.py ├── merge │ ├── __init__.py │ ├── merge_ads.py │ ├── merge_train.py │ └── merge_users.py ├── score_avg.py └── user_history_4.py └── src ├── __init__.py ├── clib_dev ├── README.md ├── __init__.py ├── _ext │ ├── __init__.py │ └── my_lib │ │ ├── __init__.py │ │ └── _my_lib.so ├── build.py ├── functions │ ├── __init__.py │ ├── add.py │ └── tools.py ├── make.sh ├── modules │ ├── __init__.py │ └── add.py ├── src │ ├── cuda │ │ ├── reduce_kernel.cu │ │ ├── reduce_kernel.cu.o │ │ └── reduce_kernel.h │ ├── my_lib.c │ ├── my_lib.h │ ├── my_lib_cuda.c │ └── my_lib_cuda.h ├── test.py ├── test_reduce.py ├── test_reduce_max.py ├── test_reduce_mean.py └── test_softmax.py ├── data_tool ├── __init__.py ├── feature.py └── managers.py ├── dataset ├── __init__.py ├── dataset_youth_r.py └── samplers.py ├── eval ├── __init__.py └── auc.py ├── lib ├── __init__.py ├── checkpoint.py ├── hash.py ├── logger.py ├── lr_scheduler.py └── tools.py ├── loss ├── __init__.py ├── focal_loss.py └── hinge_loss.py ├── meter ├── __init__.py └── meters.py ├── model ├── DIN_ffm_v3_r.py └── __init__.py ├── module ├── FM.py ├── __init__.py ├── dice.py ├── embedding_atten_v2.py └── tool.py ├── optimizer ├── __init__.py ├── adam.py ├── optimizer.py └── sparse_adam.py └── train_model_din_by_epoch_chunked_r.py /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/README.md -------------------------------------------------------------------------------- /figs/A.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/figs/A.png -------------------------------------------------------------------------------- /figs/F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/figs/F.png -------------------------------------------------------------------------------- /figs/M_ff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/figs/M_ff.png -------------------------------------------------------------------------------- /figs/attention.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/figs/attention.PNG -------------------------------------------------------------------------------- /figs/model_1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/figs/model_1.PNG -------------------------------------------------------------------------------- /figs/ranks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/figs/ranks.png -------------------------------------------------------------------------------- /figs/results.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/figs/results.png -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/install.sh -------------------------------------------------------------------------------- /model_description.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/model_description.pdf -------------------------------------------------------------------------------- /models/din_ffm_v3_r_0.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/models/din_ffm_v3_r_0.yaml -------------------------------------------------------------------------------- /models/din_ffm_v3_r_1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/models/din_ffm_v3_r_1.yaml -------------------------------------------------------------------------------- /models/din_ffm_v3_r_10.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/models/din_ffm_v3_r_10.yaml -------------------------------------------------------------------------------- /models/din_ffm_v3_r_11.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/models/din_ffm_v3_r_11.yaml -------------------------------------------------------------------------------- /models/din_ffm_v3_r_12.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/models/din_ffm_v3_r_12.yaml -------------------------------------------------------------------------------- /models/din_ffm_v3_r_2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/models/din_ffm_v3_r_2.yaml -------------------------------------------------------------------------------- /models/din_ffm_v3_r_3.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/models/din_ffm_v3_r_3.yaml -------------------------------------------------------------------------------- /models/din_ffm_v3_r_4.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/models/din_ffm_v3_r_4.yaml -------------------------------------------------------------------------------- /models/din_ffm_v3_r_5.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/models/din_ffm_v3_r_5.yaml -------------------------------------------------------------------------------- /models/din_ffm_v3_r_6.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/models/din_ffm_v3_r_6.yaml -------------------------------------------------------------------------------- /models/din_ffm_v3_r_7.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/models/din_ffm_v3_r_7.yaml -------------------------------------------------------------------------------- /models/din_ffm_v3_r_8.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/models/din_ffm_v3_r_8.yaml -------------------------------------------------------------------------------- /models/din_ffm_v3_r_9.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/models/din_ffm_v3_r_9.yaml -------------------------------------------------------------------------------- /models/din_ffm_v3_r_template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/models/din_ffm_v3_r_template.yaml -------------------------------------------------------------------------------- /post-processing.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/post-processing.sh -------------------------------------------------------------------------------- /pre-processing.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/pre-processing.sh -------------------------------------------------------------------------------- /pre-processing_ad.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/pre-processing_ad.sh -------------------------------------------------------------------------------- /pre-processing_his.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/pre-processing_his.sh -------------------------------------------------------------------------------- /pre-processing_merge.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/pre-processing_merge.sh -------------------------------------------------------------------------------- /pre-processing_user.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/pre-processing_user.sh -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/run.sh -------------------------------------------------------------------------------- /run_models.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/run_models.sh -------------------------------------------------------------------------------- /scripts/collect_res.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/scripts/collect_res.py -------------------------------------------------------------------------------- /scripts/construct_mapping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/scripts/construct_mapping.py -------------------------------------------------------------------------------- /scripts/construct_mapping_ad.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/scripts/construct_mapping_ad.py -------------------------------------------------------------------------------- /scripts/count_features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/scripts/count_features.py -------------------------------------------------------------------------------- /scripts/count_features_ad.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/scripts/count_features_ad.py -------------------------------------------------------------------------------- /scripts/gen_feature_info_r_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/scripts/gen_feature_info_r_2.py -------------------------------------------------------------------------------- /scripts/gen_file_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/scripts/gen_file_list.py -------------------------------------------------------------------------------- /scripts/mapping_features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/scripts/mapping_features.py -------------------------------------------------------------------------------- /scripts/mapping_features_ad.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/scripts/mapping_features_ad.py -------------------------------------------------------------------------------- /scripts/merge/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/merge/merge_ads.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/scripts/merge/merge_ads.py -------------------------------------------------------------------------------- /scripts/merge/merge_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/scripts/merge/merge_train.py -------------------------------------------------------------------------------- /scripts/merge/merge_users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/scripts/merge/merge_users.py -------------------------------------------------------------------------------- /scripts/score_avg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/scripts/score_avg.py -------------------------------------------------------------------------------- /scripts/user_history_4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/scripts/user_history_4.py -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/clib_dev/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/README.md -------------------------------------------------------------------------------- /src/clib_dev/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/clib_dev/_ext/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/clib_dev/_ext/my_lib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/_ext/my_lib/__init__.py -------------------------------------------------------------------------------- /src/clib_dev/_ext/my_lib/_my_lib.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/_ext/my_lib/_my_lib.so -------------------------------------------------------------------------------- /src/clib_dev/build.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/build.py -------------------------------------------------------------------------------- /src/clib_dev/functions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/clib_dev/functions/add.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/functions/add.py -------------------------------------------------------------------------------- /src/clib_dev/functions/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/functions/tools.py -------------------------------------------------------------------------------- /src/clib_dev/make.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/make.sh -------------------------------------------------------------------------------- /src/clib_dev/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/clib_dev/modules/add.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/modules/add.py -------------------------------------------------------------------------------- /src/clib_dev/src/cuda/reduce_kernel.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/src/cuda/reduce_kernel.cu -------------------------------------------------------------------------------- /src/clib_dev/src/cuda/reduce_kernel.cu.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/src/cuda/reduce_kernel.cu.o -------------------------------------------------------------------------------- /src/clib_dev/src/cuda/reduce_kernel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/src/cuda/reduce_kernel.h -------------------------------------------------------------------------------- /src/clib_dev/src/my_lib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/src/my_lib.c -------------------------------------------------------------------------------- /src/clib_dev/src/my_lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/src/my_lib.h -------------------------------------------------------------------------------- /src/clib_dev/src/my_lib_cuda.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/src/my_lib_cuda.c -------------------------------------------------------------------------------- /src/clib_dev/src/my_lib_cuda.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/src/my_lib_cuda.h -------------------------------------------------------------------------------- /src/clib_dev/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/test.py -------------------------------------------------------------------------------- /src/clib_dev/test_reduce.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/test_reduce.py -------------------------------------------------------------------------------- /src/clib_dev/test_reduce_max.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/test_reduce_max.py -------------------------------------------------------------------------------- /src/clib_dev/test_reduce_mean.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/test_reduce_mean.py -------------------------------------------------------------------------------- /src/clib_dev/test_softmax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/clib_dev/test_softmax.py -------------------------------------------------------------------------------- /src/data_tool/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/data_tool/feature.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/data_tool/feature.py -------------------------------------------------------------------------------- /src/data_tool/managers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/data_tool/managers.py -------------------------------------------------------------------------------- /src/dataset/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dataset/dataset_youth_r.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/dataset/dataset_youth_r.py -------------------------------------------------------------------------------- /src/dataset/samplers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/dataset/samplers.py -------------------------------------------------------------------------------- /src/eval/__init__.py: -------------------------------------------------------------------------------- 1 | from eval.auc import cal_avg_auc -------------------------------------------------------------------------------- /src/eval/auc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/eval/auc.py -------------------------------------------------------------------------------- /src/lib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/lib/checkpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/lib/checkpoint.py -------------------------------------------------------------------------------- /src/lib/hash.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/lib/hash.py -------------------------------------------------------------------------------- /src/lib/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/lib/logger.py -------------------------------------------------------------------------------- /src/lib/lr_scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/lib/lr_scheduler.py -------------------------------------------------------------------------------- /src/lib/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/lib/tools.py -------------------------------------------------------------------------------- /src/loss/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/loss/focal_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/loss/focal_loss.py -------------------------------------------------------------------------------- /src/loss/hinge_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/loss/hinge_loss.py -------------------------------------------------------------------------------- /src/meter/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/meter/__init__.py -------------------------------------------------------------------------------- /src/meter/meters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/meter/meters.py -------------------------------------------------------------------------------- /src/model/DIN_ffm_v3_r.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/model/DIN_ffm_v3_r.py -------------------------------------------------------------------------------- /src/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/model/__init__.py -------------------------------------------------------------------------------- /src/module/FM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/module/FM.py -------------------------------------------------------------------------------- /src/module/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/module/dice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/module/dice.py -------------------------------------------------------------------------------- /src/module/embedding_atten_v2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/module/embedding_atten_v2.py -------------------------------------------------------------------------------- /src/module/tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/module/tool.py -------------------------------------------------------------------------------- /src/optimizer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/optimizer/adam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/optimizer/adam.py -------------------------------------------------------------------------------- /src/optimizer/optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/optimizer/optimizer.py -------------------------------------------------------------------------------- /src/optimizer/sparse_adam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/optimizer/sparse_adam.py -------------------------------------------------------------------------------- /src/train_model_din_by_epoch_chunked_r.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DiligentPanda/Tencent_Ads_Algo_2018/HEAD/src/train_model_din_by_epoch_chunked_r.py --------------------------------------------------------------------------------