-
Notifications
You must be signed in to change notification settings - Fork 206
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
Help wanted with fresh colab run of bert_sngp on clinc #349
Comments
Hey Jordy, Here's a draft colab that may be helpful: It is using the SNGP implementation from TF model garden, but effectively replicates the performance of BERT_SNGP. |
Hey Jeremiah, Thanks for sharing that resource, exactly what I needed! In that same Colab I see a link to an SNGP tutorial, but the link gives me a 404. Would you mind sharing that one as well? :) I am planning on testing SNGP on different architectures than BERT, so any added intuition would certainly help me. |
Hey Jordy, Sure thing! The link to the basic tutorial is here: https://www.tensorflow.org/tutorials/understanding/sngp Sorry for the broken link...it should be fixed soon. |
For posterity, how about providing these links somewhere in the Uncertainty Baselines documentation? For example, in a |
Hi Jeremiah and Dustin, Today, I finished implementing a wrapper SNGP class for simple Just to share my experience, I could not properly train the SNGP if I did not put this argument: See my colab with running code here: https://colab.research.google.com/drive/1xcVPUEbFPgUoUmtA47N3jbwpJ-wGUncZ?usp=sharing Would any of you mind having a look at the model wrapper and that it performs as expected from an SNGP model? Cheers! |
Hey Jordy, For image recognition type of tasks, I recommend look into the SNGP hyperparameter setting for, say, CIFAR, and the associated WideResNet-SNGP used in that example. Yes, in general it is recommended to set Thanks! |
Hi,
I wanted to try out SNGP with the script as provided in
baselines
.Current command with custom flags:
I first had some issues to get CLINC_OOS data in the right, expected format, but managed to fix that.
Now I am stuck trying to get a BERT checkpoint loaded correctly with the flags provided.
It might help others as well to get a working "collab-fresh" example, so I am sharing my progress so far:
https://colab.research.google.com/drive/1HVMcZm7opre4FRaaoXRAocXMw4WSrhvD?usp=sharing
Can anyone provide short assistance to get a proper BERT checkpoint loaded?
I'm happy to share the final (cleaned) working example, once I can get it to run end-to-end on a fresh environment :)
Cheers,
Jordy
The text was updated successfully, but these errors were encountered: