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

CONFIG JSON File Error #5

Open
PhenomenalOnee opened this issue Feb 23, 2021 · 3 comments
Open

CONFIG JSON File Error #5

PhenomenalOnee opened this issue Feb 23, 2021 · 3 comments

Comments

@PhenomenalOnee
Copy link

I tried to train your model using configs/draft.json but it has lots of missing "KEYS" that are required like

  1. total_formula_path
  2. beam_search_k
  3. milestones etc
    Can you provide correct json file
@hmthanh
Copy link

hmthanh commented Mar 25, 2022

I have same issues

@SachinthaPrabash
Copy link

I have the same issues,

@YongWookHa
Copy link
Owner

Sorry for the super late answer... I won't excuse for this mistake.
I will explain the question first.

  1. total_formula_path : This is a dataset which is sum of train_dataset and test_dataset. This is required for building a tokenizer with total vocab. Because the code in this repository doesn't save tokenizer object.
  2. beam_search_k : This is the depth of beam search algorithm. It is required when inference stage.
  3. milestones : This is milestone argument in torch.optim.lr_scheduler.MultiStepLR.

Hope this answer helps. thanks.

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

4 participants