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

Hyper-parameter for GenKGC on FB15k-237 #44

Closed
David-Li0406 opened this issue Oct 1, 2023 · 2 comments
Closed

Hyper-parameter for GenKGC on FB15k-237 #44

David-Li0406 opened this issue Oct 1, 2023 · 2 comments
Labels
question Further information is requested

Comments

@David-Li0406
Copy link

Hi,

Thanks for building the cool KG-relevant package. I am following your work "From Discrimination to Generation: Knowledge Graph Completion with Generative Transformer". Could you please provide a set of hyper-parameters to reproduce the results on FB15k-237? That would be so helpful to me :)

Thanks

@CheaSim
Copy link
Collaborator

CheaSim commented Oct 4, 2023

You can consider the hyper-parameters below

python main.py --gpus "0" --max_epochs=15  --num_workers=32 \
   --model_name_or_path  facebook/bart-large \
   --accumulate_grad_batches 1 \
   --model_class BartKGC \
   --batch_size 64 \
   --check_val_every_n_epoch 5 \
   --data_dir dataset/FB15k-237 \
   --eval_batch_size 1 \
   --precision 16 \
   --wandb \
   --use_demos 0 \
   --use_label_type 0 \
   --output_full_sentence 0 \
   --prefix_tree_decode 1 \
   --max_seq_length 128 \
   --lr 5e-5

@zxlzr
Copy link
Contributor

zxlzr commented Oct 13, 2023

Have you solved your issue?

@zxlzr zxlzr added the question Further information is requested label Oct 13, 2023
@zxlzr zxlzr closed this as completed Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants