Error when loading my trained model
Hello, 

I tried to train the question-answering model using `bert-base-uncased` on SQUADv1.1. The training process seems to be successfully completed. However, when I load the trained model, it said that `File "h5py/h5f.pyx", line 88, in h5py.h5f.open
OSError: Unable to open file (file signature not found)`

Here is my configuration for the training process: 
```
model_name_or_path: bert-base-uncased
do_train: True
do_eval: True
overwrite_output_dir: True
num_train_epochs: 10
per_device_train_batch_size: 12
per_device_eval_batch_size: 12
warmup_steps: 100
weight_decay: 0.01
learning_rate: 3e-5
evaluate_during_training: True
save_steps: 5000
```

And here is what I stored in my model directory: 
```
checkpoint-10000  checkpoint-35000  checkpoint-55000  pytorch_model.bin
checkpoint-15000  checkpoint-40000  checkpoint-60000  special_tokens_map.json
checkpoint-20000  checkpoint-45000  checkpoint-65000  tokenizer_config.json
checkpoint-25000  checkpoint-5000   checkpoint-70000  training_args.bin
checkpoint-30000  checkpoint-50000  config.json vocab.txt
```

I tried to load my model by 
```
self._model = BertForQuestionAnswering.from_pretrained(`./model/trained_squad/`, from_tf=True)
```

It would be appreciated if anyone can give me a clue about what happens here. Is there anything wrong with my training process? 

Best,
Yanchao


Does 
```
self._model = BertForQuestionAnswering.from_pretrained(`./model/trained_squad/`)
```
work?<|||||>How silly I am! Thanks a lot. It works for me. <|||||>When I take out `from_tf=True` it then says `[Error no file named ['pytorch_model.bin', 'tf_model.h5', 'model.ckpt.index', 'flax_model.msgpack'] found in directory distilbert-somm or `from_tf` and `from_flax` set to False.]()`<|||||>amazingly the following worked

tokenizer = AutoTokenizer.from_pretrained("...", use_auth_token="<key>", from_tf=True,)
model = AutoModelForSequenceClassification.from_pretrained("...", from_tf=True, use_auth_token=True)

i.e. the first use_auth_token requires the actual key, while the second has to be "True"