You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from transformers import TFAutoModel, AutoTokenizer
checkpoint_name = "hf-internal-testing/tiny-random-MobileBertModel"
model = TFAutoModel.from_pretrained(checkpoint_name)
Above is the example code, it works with AutoModel from transformers. I cannot pickle TFAutoModel
Below is the error
Layer 'embeddings' expected 0 variables, but received 3 variables during loading. Expected: []
The text was updated successfully, but these errors were encountered:
Above is the example code, it works with AutoModel from transformers. I cannot pickle TFAutoModel
Below is the error
Layer 'embeddings' expected 0 variables, but received 3 variables during loading. Expected: []
The text was updated successfully, but these errors were encountered: