Professional Documents
Culture Documents
实验测试2
实验测试2
加了一层 lstm:
无 randomseed:
调参:
先确定模型内部有哪些参数可以调整:
1. probattention 处
head 多头 2.
2. Drop out
python train_last.py --data=xing --mode=transformer --user_ --adj=adj_all --dataset=all_data --batchSize=100 --buffer_size=200000 --encoder_attention=probattention --gate_ --
0.05:
0.1:
0.2:
0.3:
0.4:
3. Learn Rate
目前 0.001
0.002:
0.003:
lr 0.005
lr 0.0005
Lr 0.0001
4. Gelu 和 Relu
Relu:
Gelu:
必须解决种子问题,先挂种子
Recall@5:13.2771 Recall@10:15.3722 Recall@20:17.5828 MRR@5:9.9691 MRR10@10:10.2496 MMR@20:10.4020
调整了种子在别的文件加了 random
不行啊
随机初始化加了 seed: