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

Warnings when running code #4

Open
angoodkind opened this issue Dec 14, 2021 · 3 comments
Open

Warnings when running code #4

angoodkind opened this issue Dec 14, 2021 · 3 comments

Comments

@angoodkind
Copy link

I received these warnings after my initial run of the program. I received the warnings below. Just wanted to make sure these are fine.

2021-12-14 11:52:56.170307: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-12-14 11:52:56.217918: W tensorflow/python/util/util.cc:368] Sets are not currently considered sequences, but this may change in the future, so consider avoiding using them.
Some layers from the model checkpoint at /Users/adamg/.dialog-tag/models/distilbert-base-uncased were not used when initializing TFDistilBertForSequenceClassification: ['dropout_59']
- This IS expected if you are initializing TFDistilBertForSequenceClassification from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing TFDistilBertForSequenceClassification from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
Some layers of TFDistilBertForSequenceClassification were not initialized from the model checkpoint at /Users/adamg/.dialog-tag/models/distilbert-base-uncased and are newly initialized: ['dropout_19']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.

@argideritzalpea
Copy link

Are you using a GPU? Are you able to verify how much memory is being consumed with nvidia-smi? I get the same error and am wondering if the model was trained correctly.

@bhavimalik
Copy link

@angoodkind, you can ignore those warnings while loading the model!

@angoodkind
Copy link
Author

Thanks @bhavimalik. How can I suppress them?

@argideritzalpea, I am not using a GPU.

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

3 participants