Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to replicate NaLP paper results? #1

Open
siddhu001 opened this issue May 16, 2020 · 1 comment
Open

Not able to replicate NaLP paper results? #1

siddhu001 opened this issue May 16, 2020 · 1 comment

Comments

@siddhu001
Copy link

Hi We were trying to replicate the results of NaLP paper-

We ran the following commands-

  1. python JF17K2rv_json.py
  2. python builddata.py --sub_dir JF17K_version1 --dataset_name JF17K_version1
  3. python train_only.py --sub_dir JF17K_version1 --dataset_name JF17K_version1 --wholeset_name JF17K_version1_permutate --model_name JF17K_version1_opt --embedding_dim 100 --n_filters 200 --n_gFCN 1000 --batch_size 128 --learning_rate 0.00005 --n_epochs 5000 --saveStep 100
  4. CUDA_VISIBLE_DEVICE=0,1 python see_eval.py --sub_dir JF17K_version1 --dataset_name JF17K_version1 --wholeset_name JF17K_version1_permutate --model_name JF17K_version1_opt --embedding_dim 100 --n_filters 200 --n_gFCN 1000 --batch_size 512 --n_epochs 5000 --start_epoch 4800 --evalStep 100 --valid_or_test 2 --gpu_ids 0,1

However the results we obtain are -
Value Prediction - MRR: 0.21133465 Hits@10:0.33177453 Hits@3:0.22270729 Hits@1:0.15060749
Role Prediction - MRR: 0.82452982 Hits@10:0.89603836 Hits@3:0.85997366 Hits@1:0.7798825

Can you advise on what could be the cause of this discrepancy?

@gsp2014
Copy link
Owner

gsp2014 commented Jun 25, 2020

It seems that you miss this command: "python builddata.py --sub_dir JF17K_version1 --dataset_name JF17K_version1 --if_permutate True --bin_postfix _permutate". And if you have trained the model until the evaluation result on the validation set drops continuously or reaching the max number of epochs, i.e., 5000?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants