Skip to content

Commit

Permalink
[docs] add document for distribute evaluate (#156)
Browse files Browse the repository at this point in the history
* add document for distribute eval
* add document for sequence feature
  • Loading branch information
lgqfhwy authored Apr 18, 2022
1 parent cb93ac4 commit be2bf4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ pai -name easy_rec_ext -project algo_public
-Dcmd=evaluate
-Dconfig=oss://easyrec/config/MultiTower/dwd_avazu_ctr_deepmodel_ext.config
-Dtables=odps://pai_online_project/tables/dwd_avazu_ctr_deepmodel_test
-Dcluster='{"worker" : {"count":1, "cpu":1000, "gpu":100, "memory":40000}}'
-Dcluster='{"ps":{"count":1, "cpu":1000}, "worker" : {"count":3, "cpu":1000, "gpu":100, "memory":40000}}'
-Dmodel_dir=oss://easyrec/ckpt/MultiTower
-Dextra_params=" --distribute_eval True"
-Darn=acs:ram::xxx:role/xxx
Expand Down
2 changes: 2 additions & 0 deletions docs/source/feature/feature.rst
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,15 @@ Sequense类特征格式一般为“XX\|XX\|XX”,如用户行为序列特征
features {
input_names: "play_sequence"
feature_type: SequenceFeature
sub_feature_type: IdFeature
embedding_dim: 32
hash_bucket_size: 100000
}
}
- embedding\_dim: embedding的dimension
- hash\_bucket\_size: 同离散值特征
- sub_feature_type: 用于描述序列特征里子特征的类型,目前支持 IdFeature 和 RawFeature 两种形式,默认为 IdFeature
- NOTE:SequenceFeature一般用在DIN算法或者BST算法里面。

在模型中可支持对序列特征使用Target Attention(DIN),方法如下:
Expand Down

0 comments on commit be2bf4e

Please sign in to comment.