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

Training of Genie-Toolkit #867

Open
vinith-reddy25 opened this issue Jan 17, 2022 · 1 comment
Open

Training of Genie-Toolkit #867

vinith-reddy25 opened this issue Jan 17, 2022 · 1 comment

Comments

@vinith-reddy25
Copy link

vinith-reddy25 commented Jan 17, 2022

I ran the following command:

"$genie train --datadir data_dir --outputdir output_dir --workdir work_dir --config-file data/bert-lstm-single-sentence.json"

Folder structure of genie-toolkit is:
"/genie-toolkit/data_dir" contains eval.tsv, and train.tsv
"/genie-toolki/work_dir" -> empty
"/genie-toolkit/output_dir" -> empty

It is giving following error

"0% [..............................] - ETA: 0s/home/shishirkumar/genie-toolkit/dist/tool/genie.js:41
throw up;
^
Error: Command exited with code 2
at ChildProcess. (/home/shishirkumar/genie-toolkit/dist/lib/utils/process-utils.js:91:28)
at ChildProcess.emit (events.js:315:20)
at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)"

After adding "--debug", getting following error:

"

usage: genienlp [-h]
{train,export,predict,server,cache-embeddings,train-paraphrase,run-paraphrase,calibrate,transform-dataset,clean-paraphrasing-dataset,dialog-to-tsv,split-dataset,sts-calculate-scores,sts-filter,bootleg-dump-features,analyze-bootleg-results,oracle-vs-bootleg,kfserver,write-kf-metrics}
...
genienlp: error: unrecognized arguments: --seq2seq_encoder Identity --dimension 768 --transformer_hidden 768 --transformer_layers 0 --context_embeddings bert-base-uncased@0 --question_embeddings bert-base-uncased@1 --decoder_embeddings --trainable_encoder_embeddings 0 --transformer_lr_multiply 0.5 --train_context_embeddings --train_context_embeddings_after 80000
/home/shishirkumar/genie-toolkit/dist/tool/genie.js:41
throw up;
^

Error: Command exited with code 2
at ChildProcess. (/home/shishirkumar/genie-toolkit/dist/lib/utils/process-utils.js:91:28)
at ChildProcess.emit (events.js:315:20)
at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
"

@sileix
Copy link
Member

sileix commented Feb 2, 2022

This tutorial needs some updates. We will keep you posted once we have a newer version.

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