heycao commited on
Commit
a67b623
·
verified ·
1 Parent(s): 0b8bf5b

Upload ml-100k_sasrec_modpo.yaml with huggingface_hub

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