heycao commited on
Commit
f802b48
·
verified ·
1 Parent(s): 4343bbe

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +166 -0
README.md ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - viberec
4
+ - recommender-system
5
+ - sasrec
6
+ datasets:
7
+ - ml-100k
8
+ metrics:
9
+ averagepopularity@10: 167.1922
10
+ giniindex@10: 0.7165
11
+ hit@10: 0.147
12
+ itemcoverage@10: 0.7168
13
+ ndcg@10: 0.0679
14
+ shannonentropy@10: 0.0081
15
+ tailpercentage@10: 0.0106
16
+
17
+ ---
18
+
19
+ # SASRec trained on ml-100k
20
+
21
+
22
+ ## Model Description
23
+ - **Model**: SASRec
24
+ - **Dataset**: ml-100k
25
+
26
+ ## Performance
27
+ - **ndcg@10**: 0.0679
28
+ - **hit@10**: 0.147
29
+ - **averagepopularity@10**: 167.1922
30
+ - **giniindex@10**: 0.7165
31
+ - **itemcoverage@10**: 0.7168
32
+ - **shannonentropy@10**: 0.0081
33
+ - **tailpercentage@10**: 0.0106
34
+
35
+ ## Configuration
36
+ ```yaml
37
+ ENTITY_ID_FIELD: entity_id
38
+ HEAD_ENTITY_ID_FIELD: head_id
39
+ ITEM_ID_FIELD: item_id
40
+ ITEM_LIST_LENGTH_FIELD: item_length
41
+ LABEL_FIELD: label
42
+ LIST_SUFFIX: _list
43
+ MAX_ITEM_LIST_LENGTH: 50
44
+ MODEL_INPUT_TYPE: InputType.POINTWISE
45
+ MODEL_TYPE: ModelType.SEQUENTIAL
46
+ NEG_PREFIX: neg_
47
+ POSITION_FIELD: position_id
48
+ RATING_FIELD: rating
49
+ RELATION_ID_FIELD: relation_id
50
+ TAIL_ENTITY_ID_FIELD: tail_id
51
+ TIME_FIELD: timestamp
52
+ USER_ID_FIELD: user_id
53
+ additional_feat_suffix: null
54
+ alias_of_entity_id: null
55
+ alias_of_item_id: null
56
+ alias_of_relation_id: null
57
+ alias_of_user_id: null
58
+ attn_dropout_prob: 0.5
59
+ benchmark_filename: null
60
+ checkpoint_dir: saved
61
+ clip_grad_norm: null
62
+ dataloaders_save_path: null
63
+ dataset: ml-100k
64
+ dataset_save_path: null
65
+ discretization: null
66
+ enable_amp: false
67
+ enable_scaler: false
68
+ entity_kg_num_interval: null
69
+ epochs: 2
70
+ eval_args:
71
+ group_by: user
72
+ mode:
73
+ test: full
74
+ valid: full
75
+ order: TO
76
+ split:
77
+ LS: valid_and_test
78
+ eval_batch_size: 40960
79
+ eval_step: 1
80
+ eval_type: EvaluatorType.RANKING
81
+ field_separator: "\t"
82
+ filter_inter_by_user_or_item: true
83
+ gpu_id: '0'
84
+ hidden_act: gelu
85
+ hidden_dropout_prob: 0.5
86
+ hidden_size: 64
87
+ initializer_range: 0.02
88
+ inner_size: 256
89
+ item_inter_num_interval: '[10,inf)'
90
+ kg_reverse_r: false
91
+ layer_norm_eps: 1.0e-12
92
+ learner: adam
93
+ learning_rate: 1.0e-05
94
+ load_col:
95
+ inter:
96
+ - user_id
97
+ - item_id
98
+ - rating
99
+ - timestamp
100
+ local_rank: 0
101
+ log_wandb: false
102
+ loss_decimal_place: 4
103
+ loss_type: CE
104
+ metric_decimal_place: 4
105
+ metrics:
106
+ - NDCG
107
+ - Hit
108
+ - AveragePopularity
109
+ - GiniIndex
110
+ - ItemCoverage
111
+ - ShannonEntropy
112
+ - TailPercentage
113
+ model: SASRec
114
+ n_heads: 2
115
+ n_layers: 2
116
+ normalize_all: true
117
+ normalize_field: null
118
+ numerical_features: []
119
+ preload_weight: null
120
+ relation_kg_num_interval: null
121
+ repeatable: true
122
+ reproducibility: true
123
+ require_pow: false
124
+ rm_dup_inter: null
125
+ save_dataloaders: false
126
+ save_dataset: false
127
+ seed: 2020
128
+ seq_len: null
129
+ seq_separator: ' '
130
+ show_progress: false
131
+ shuffle: true
132
+ single_spec: true
133
+ state: INFO
134
+ stopping_step: 10
135
+ test_neg_sample_args:
136
+ distribution: uniform
137
+ sample_num: none
138
+ threshold: null
139
+ topk:
140
+ - 10
141
+ train_batch_size: 4096
142
+ train_neg_sample_args:
143
+ alpha: none
144
+ candidate_num: 0
145
+ distribution: none
146
+ dynamic: false
147
+ sample_num: none
148
+ transform: null
149
+ unload_col: null
150
+ unused_col:
151
+ inter:
152
+ - rating
153
+ use_gpu: true
154
+ user_inter_num_interval: '[10,inf)'
155
+ val_interval:
156
+ rating: '[3,inf)'
157
+ valid_metric: NDCG@10
158
+ valid_metric_bigger: true
159
+ valid_neg_sample_args:
160
+ distribution: uniform
161
+ sample_num: none
162
+ wandb_project: recbole
163
+ weight_decay: 0.0
164
+ worker: 0
165
+
166
+ ```