heycao commited on
Commit
02ae944
·
verified ·
1 Parent(s): 65d4328

Upload config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.yaml +124 -0
config.yaml ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ attn_dropout_prob: 0.5
23
+ benchmark_filename: null
24
+ checkpoint_dir: saved
25
+ clip_grad_norm: null
26
+ dataloaders_save_path: null
27
+ dataset: ml-100k
28
+ dataset_save_path: saved/ml-100k.pth
29
+ discretization: null
30
+ enable_amp: false
31
+ enable_scaler: false
32
+ entity_kg_num_interval: null
33
+ epochs: 500
34
+ eval_args:
35
+ group_by: user
36
+ mode:
37
+ test: full
38
+ valid: full
39
+ order: TO
40
+ split:
41
+ LS: valid_and_test
42
+ eval_batch_size: 256
43
+ eval_step: 1
44
+ eval_type: EvaluatorType.RANKING
45
+ field_separator: "\t"
46
+ filter_inter_by_user_or_item: true
47
+ gpu_id: '0'
48
+ hidden_act: gelu
49
+ hidden_dropout_prob: 0.5
50
+ hidden_size: 16
51
+ initializer_range: 0.02
52
+ inner_size: 256
53
+ item_inter_num_interval: '[10,inf)'
54
+ kg_reverse_r: false
55
+ layer_norm_eps: 1.0e-12
56
+ learner: adamw
57
+ learning_rate: 0.001
58
+ load_col:
59
+ inter:
60
+ - user_id
61
+ - item_id
62
+ - rating
63
+ - timestamp
64
+ local_rank: 0
65
+ log_wandb: false
66
+ loss_decimal_place: 4
67
+ loss_type: CE
68
+ metric_decimal_place: 4
69
+ metrics:
70
+ - NDCG
71
+ - Hit
72
+ - AveragePopularity
73
+ model: SASRec
74
+ n_heads: 2
75
+ n_layers: 2
76
+ normalize_all: true
77
+ normalize_field: null
78
+ numerical_features: []
79
+ preload_weight: null
80
+ relation_kg_num_interval: null
81
+ repeatable: true
82
+ reproducibility: true
83
+ require_pow: false
84
+ rm_dup_inter: null
85
+ save_dataloaders: false
86
+ save_dataset: true
87
+ seed: 2020
88
+ seq_len: null
89
+ seq_separator: ' '
90
+ show_progress: false
91
+ shuffle: true
92
+ single_spec: true
93
+ state: INFO
94
+ stopping_step: 10
95
+ test_neg_sample_args:
96
+ distribution: uniform
97
+ sample_num: none
98
+ threshold: null
99
+ topk:
100
+ - 10
101
+ train_batch_size: 256
102
+ train_neg_sample_args:
103
+ alpha: none
104
+ candidate_num: 0
105
+ distribution: none
106
+ dynamic: false
107
+ sample_num: none
108
+ transform: null
109
+ unload_col: null
110
+ unused_col:
111
+ inter:
112
+ - rating
113
+ use_gpu: true
114
+ user_inter_num_interval: '[10,inf)'
115
+ val_interval:
116
+ rating: '[3,inf)'
117
+ valid_metric: NDCG@10
118
+ valid_metric_bigger: true
119
+ valid_neg_sample_args:
120
+ distribution: uniform
121
+ sample_num: none
122
+ wandb_project: recbole
123
+ weight_decay: 0.01
124
+ worker: 0