Replies: 1 comment 7 replies
-
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello FLAML team,
I was trying to compare the performance between FLAML and Optuna in deep learning params tuning.
Starting with a basic CNN.
This is my Optuna code, which works. Params need to tune can be put in the objective function:

Then I was trying to figure out how to use FLAML to tune the same CNN model. I have checked the notebook here: https://github.com/microsoft/FLAML/blob/main/notebook/flaml_finetune_transformer.ipynb
And mainly defined

train_cnn()
that's similar to yourtrain_distilbert()
in the notebook:I guess the

**config
is the search space? And here's the code tried to tune the model:But this doesn't work.
If FLAML also works for self-built neural networks, is that possible for you guys to add a simple notebook example for that, so that users can follow? (If you are able to tell what's wrong in my code here, that's even better :) )
I feel pre-trained model from transformer is harder to understand since I'm not familiar with transformer and guess many other users can be similar :)
Thanks a bunch!!
Beta Was this translation helpful? Give feedback.
All reactions