-
Notifications
You must be signed in to change notification settings - Fork 5
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
jsonnet_evaluate_file #33
Comments
Hello @chuyuanli, thank you for trying Can you share your jsonnet configuration? You can check if your config file is valid for jsonnet by executing
If you share your config, it would be helpful for investigation. |
Hi @himkt, thanks for your prompt response! Sure you'll find below my jsonnet config file:
I tried with jsonnet command, and it shows |
@chuyuanli Hmm... A jsonnet configuration seems to be valid. |
Ah, it may need a Python script for |
Yeah I first used this jsonnet (with the exact value and not Sure, here is my
As for the Python script for |
Ah also I just saw the version of allennlp-optuna. My code is written in allennlp 2.0.1, but |
Ah, I may find the cause. 21c21
< local optimizer = std.parseJson(std.extVar('optimizer'));
---
> local optimizer = std.extVar('optimizer'); |
I'll release the next version of allennlp-optuna, which supports AllenNLP 2.x.x later. |
Hey @himkt, I'll continue with the pruning. Thanks again :) |
@chuyuanli I released the new version of You can upgrade the library by |
Hi!
Apart from that all good! Small question about the |
You're right. This change is derived from AllenNLP.
You have to save a study to some consistent backends such as MySQL, SQLite3, Redis, etc. To save your study to a consistent backend, specify For more information about allennlp-optuna, please refer the allennlp guide. |
Let me close this PR as we identified and solved jsonnet error. |
Hi,
I have encountered a problem when following this tuto.
I used allennlp cli to tune with the command
allennlp tune config/aa.jsonnet config/hparams.json --serialization-dir result/hpo --study-name test --skip-if-exists.
And I got the error:
I don't understand this jsonnet_evaluate_file. And I found it's the same error as issue here, but so far no replies.
Could you help me through?
Thank you.
The text was updated successfully, but these errors were encountered: