Cannot load BART-base model
## Environment info
- `transformers` version: 4.12.3
- Platform: Linux-5.4.0-1059-aws-x86_64-with-debian-buster-sid
- Python version: 3.7.10
- PyTorch version (GPU?): 1.7.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: No

### Who can help
<!-- Your issue will be replied to more quickly if you can figure out the right person to tag with @
 If you know how to use git blame, that is the easiest way, otherwise, here is a rough guide of **who to tag**.
 Please tag fewer than 3 people.

Models:

- ALBERT, BERT, XLM, DeBERTa, DeBERTa-v2, ELECTRA, MobileBert, SqueezeBert: @LysandreJik
- T5, BART, Marian, Pegasus, EncoderDecoder: @patrickvonplaten
- Blenderbot, MBART: @patil-suraj
- Longformer, Reformer, TransfoXL, XLNet, FNet, BigBird: @patrickvonplaten
- FSMT: @stas00
- Funnel: @sgugger
- GPT-2, GPT: @patrickvonplaten, @LysandreJik
- RAG, DPR: @patrickvonplaten, @lhoestq
- TensorFlow: @Rocketknight1
- JAX/Flax: @patil-suraj
- TAPAS, LayoutLM, LayoutLMv2, LUKE, ViT, BEiT, DEiT, DETR, CANINE: @NielsRogge
- GPT-Neo, GPT-J, CLIP: @patil-suraj
- Wav2Vec2, HuBERT, SpeechEncoderDecoder, UniSpeech, UniSpeechSAT, SEW, SEW-D, Speech2Text: @patrickvonplaten, @anton-l

If the model isn't in the list, ping @LysandreJik who will redirect you to the correct contributor.

Library:

- Benchmarks: @patrickvonplaten
- Deepspeed: @stas00
- Ray/raytune: @richardliaw, @amogkam
- Text generation: @patrickvonplaten @narsil
- Tokenizers: @SaulLu
- Trainer: @sgugger
- Pipelines: @Narsil
- Speech: @patrickvonplaten, @anton-l
- Vision: @NielsRogge, @sgugger

Documentation: @sgugger

Model hub:

- for issues with a model, report at https://discuss.huggingface.co/ and tag the model's creator.

HF projects:

- datasets: [different repo](https://github.com/huggingface/datasets)
- rust tokenizers: [different repo](https://github.com/huggingface/tokenizers)

Examples:

- maintained examples (not research project or legacy): @sgugger, @patil-suraj

For research projetcs, please ping the contributor directly. For example, on the following projects:

- research_projects/bert-loses-patience: @JetRunner
- research_projects/distillation: @VictorSanh

 -->
BART model @patrickvonplaten

## Information

Model I am using (Bert, XLNet ...): BART

The problem arises when using:
* [ ] the official example scripts: I'm using the example code for loading BART model with `from_pretrained`

The tasks I am working on is:
* [ ] an official GLUE/SQUaD task: XSUM

## To reproduce

Steps to reproduce the behavior:

```
from transformers import AutoModel
model = AutoModel.from_pretrained("facebook/bart-base")
```
The log is as follows:
file facebook/bart-base/config.json not found                                                                                                                                            
Traceback (most recent call last):                                                                                                                                                       
  File "/home/ubuntu/anaconda3/envs/pytorch_p37/lib/python3.7/site-packages/transformers/configuration_utils.py", line 558, in get_config_dict                                           
    user_agent=user_agent,                                                                                                                                                               
  File "/home/ubuntu/anaconda3/envs/pytorch_p37/lib/python3.7/site-packages/transformers/file_utils.py", line 1506, in cached_path                                                       
    raise EnvironmentError(f"file {url_or_filename} not found")                                                                                                                          
OSError: file facebook/bart-base/config.json not found                                                                                                                                   
                                                                                                                                                                                         
During handling of the above exception, another exception occurred:                                                                                                                      
                                                                                                                                                                                         
Traceback (most recent call last):                                                                                                                                                       
  File "<stdin>", line 1, in <module>                                                                                                                                                    
  File "/home/ubuntu/anaconda3/envs/pytorch_p37/lib/python3.7/site-packages/transformers/models/auto/auto_factory.py", line 397, in from_pretrained                                      
    pretrained_model_name_or_path, return_unused_kwargs=True, **kwargs                                                                                                                   
  File "/home/ubuntu/anaconda3/envs/pytorch_p37/lib/python3.7/site-packages/transformers/models/auto/configuration_auto.py", line 558, in from_pretrained                                
    config_dict, _ = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)                                                                                           
  File "/home/ubuntu/anaconda3/envs/pytorch_p37/lib/python3.7/site-packages/transformers/configuration_utils.py", line 575, in get_config_dict                                           
    raise EnvironmentError(msg)                                                                                                                                                          
OSError: Can't load config for 'facebook/bart-base'. Make sure that:                                                                                                                     
                                                                                                                                                                                         
- 'facebook/bart-base' is a correct model identifier listed on 'https://huggingface.co/models'                                                                                           
  (make sure 'facebook/bart-base' is not a path to a local directory with something else, in that case)                                                                                  
                                                                                                                                                                                         
- or 'facebook/bart-base' is the correct path to a directory containing a config.json file   
- 
<!-- If you have code snippets, error messages, stack traces please provide them here as well.
     Important! Use code tags to correctly format your code. See https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting
     Do not use screenshots, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code.-->

## Expected behavior
Could you please give me some idea about why this situation happens?
<!-- A clear and concise description of what you would expect to happen. -->

Hey! Do you have a local folder with the same name as `facebook/bart-base`?<|||||>Hi, thank you for your quick reply! 

Oh yes, I made this folder, but I was not aware of it before you mention! Thank you very much!