heycao commited on
Commit
4894d19
·
verified ·
1 Parent(s): 148d029

Upload README.md with huggingface_hub

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