Seems some Bart models from facebook are removed
Author: com3dian
Pull request: no

### System Info

No response.

### Who can help?

@ArthurZucker @YouJiacheng @sgugger @stevhliu @MKhalusova 

### Information

- [X] The official example scripts
- [ ] My own modified scripts

### Tasks

- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)

### Reproduction
I found that some Bart models ([facebook/Bart-large](https://huggingface.co/facebook/bart-large), [facebook/Bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn), [facebook/Bart-base](https://huggingface.co/facebook/bart-base), ...) are removed from the hub recently, These models were previously referenced in the Bart documentation. Consequently, I recommend updating the sample scripts to use alternative models.

For example if I run the first [example](https://github.com/huggingface/transformers/blob/66ded238cd04e29ba98485984dd647e7d37d1603/docs/source/en/model_doc/bart.md?plain=1#L88-L101) in the Bart [doc page](https://huggingface.co/docs/transformers/model_doc/bart),
https://github.com/huggingface/transformers/blob/66ded238cd04e29ba98485984dd647e7d37d1603/docs/source/en/model_doc/bart.md?plain=1#L88-L101



it gives me the following error

```shell
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /opt/conda/lib/python3.7/site-packages/huggingface_hub/utils/_errors.py:259 in                   │
│ hf_raise_for_status                                                                              │
│                                                                                                  │
│   256 │   </Tip>                                                                                 │
│   257 │   """                                                                                    │
│   258 │   try:                                                                                   │
│ ❱ 259 │   │   response.raise_for_status()                                                        │
│   260 │   except HTTPError as e:                                                                 │
│   261 │   │   error_code = response.headers.get("X-Error-Code")                                  │
│   262                                                                                            │
│                                                                                                  │
│ /opt/conda/lib/python3.7/site-packages/requests/models.py:1021 in raise_for_status               │
│                                                                                                  │
│   1018 │   │   │   )                                                                             │
│   1019 │   │                                                                                     │
│   1020 │   │   if http_error_msg:                                                                │
│ ❱ 1021 │   │   │   raise HTTPError(http_error_msg, response=self)                                │
│   1022 │                                                                                         │
│   1023 │   def close(self):                                                                      │
│   1024 │   │   """Releases the connection back to the pool. Once this method has been            │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
HTTPError: 401 Client Error: Unauthorized for url: 
https://huggingface.co/facebook/bart-large/resolve/main/config.json

The above exception was the direct cause of the following exception:

╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /opt/conda/lib/python3.7/site-packages/transformers/utils/hub.py:420 in cached_file              │
│                                                                                                  │
│    417 │   │   │   proxies=proxies,                                                              │
│    418 │   │   │   resume_download=resume_download,                                              │
│    419 │   │   │   use_auth_token=use_auth_token,                                                │
│ ❱  420 │   │   │   local_files_only=local_files_only,                                            │
│    421 │   │   )                                                                                 │
│    422 │                                                                                         │
│    423 │   except RepositoryNotFoundError:                                                       │
│                                                                                                  │
│ /opt/conda/lib/python3.7/site-packages/huggingface_hub/utils/_validators.py:120 in _inner_fn     │
│                                                                                                  │
│   117 │   │   if check_use_auth_token:                                                           │
│   118 │   │   │   kwargs = smoothly_deprecate_use_auth_token(fn_name=fn.__name__, has_token=ha   │
│   119 │   │                                                                                      │
│ ❱ 120 │   │   return fn(*args, **kwargs)                                                         │
│   121 │                                                                                          │
│   122 │   return _inner_fn  # type: ignore                                                       │
│   123                                                                                            │
│                                                                                                  │
│ /opt/conda/lib/python3.7/site-packages/huggingface_hub/file_download.py:1170 in hf_hub_download  │
│                                                                                                  │
│   1167 │   │   │   │   │   url=url,                                                              │
│   1168 │   │   │   │   │   token=token,                                                          │
│   1169 │   │   │   │   │   proxies=proxies,                                                      │
│ ❱ 1170 │   │   │   │   │   timeout=etag_timeout,                                                 │
│   1171 │   │   │   │   )                                                                         │
│   1172 │   │   │   except EntryNotFoundError as http_error:                                      │
│   1173 │   │   │   │   # Cache the non-existence of the file and raise                           │
│                                                                                                  │
│ /opt/conda/lib/python3.7/site-packages/huggingface_hub/utils/_validators.py:120 in _inner_fn     │
│                                                                                                  │
│   117 │   │   if check_use_auth_token:                                                           │
│   118 │   │   │   kwargs = smoothly_deprecate_use_auth_token(fn_name=fn.__name__, has_token=ha   │
│   119 │   │                                                                                      │
│ ❱ 120 │   │   return fn(*args, **kwargs)                                                         │
│   121 │                                                                                          │
│   122 │   return _inner_fn  # type: ignore                                                       │
│   123                                                                                            │
│                                                                                                  │
│ /opt/conda/lib/python3.7/site-packages/huggingface_hub/file_download.py:1507 in                  │
│ get_hf_file_metadata                                                                             │
│                                                                                                  │
│   1504 │   │   proxies=proxies,                                                                  │
│   1505 │   │   timeout=timeout,                                                                  │
│   1506 │   )                                                                                     │
│ ❱ 1507 │   hf_raise_for_status(r)                                                                │
│   1508 │                                                                                         │
│   1509 │   # Return                                                                              │
│   1510 │   return HfFileMetadata(                                                                │
│                                                                                                  │
│ /opt/conda/lib/python3.7/site-packages/huggingface_hub/utils/_errors.py:291 in                   │
│ hf_raise_for_status                                                                              │
│                                                                                                  │
│   288 │   │   │   │   " `repo_type`.\nIf you are trying to access a private or gated repo,"      │
│   289 │   │   │   │   " make sure you are authenticated."                                        │
│   290 │   │   │   )                                                                              │
│ ❱ 291 │   │   │   raise RepositoryNotFoundError(message, response) from e                        │
│   292 │   │                                                                                      │
│   293 │   │   elif response.status_code == 400:                                                  │
│   294 │   │   │   message = (                                                                    │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-64a075a2-6fc983a27bdf3f765f2f8757)

Repository Not Found for url: https://huggingface.co/facebook/bart-large/resolve/main/config.json.
Please make sure you specified the correct `repo_id` and `repo_type`.
If you are trying to access a private or gated repo, make sure you are authenticated.
Invalid username or password.

During handling of the above exception, another exception occurred:

╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ in <module>:3                                                                                    │
│                                                                                                  │
│    1 from transformers import BartForConditionalGeneration, BartTokenizer                        │
│    2                                                                                             │
│ ❱  3 model = BartForConditionalGeneration.from_pretrained("facebook/bart-large", forced_bos_t    │
│    4 tok = BartTokenizer.from_pretrained("facebook/bart-large")                                  │
│    5 example_english_phrase = "UN Chief Says There Is No <mask> in Syria"                        │
│    6 batch = tok(example_english_phrase, return_tensors="pt")                                    │
│                                                                                                  │
│ /opt/conda/lib/python3.7/site-packages/transformers/modeling_utils.py:2282 in from_pretrained    │
│                                                                                                  │
│   2279 │   │   │   │   subfolder=subfolder,                                                      │
│   2280 │   │   │   │   _from_auto=from_auto_class,                                               │
│   2281 │   │   │   │   _from_pipeline=from_pipeline,                                             │
│ ❱ 2282 │   │   │   │   **kwargs,                                                                 │
│   2283 │   │   │   )                                                                             │
│   2284 │   │   else:                                                                             │
│   2285 │   │   │   model_kwargs = kwargs                                                         │
│                                                                                                  │
│ /opt/conda/lib/python3.7/site-packages/transformers/configuration_utils.py:547 in                │
│ from_pretrained                                                                                  │
│                                                                                                  │
│   544 │   │   assert config.output_attentions == True                                            │
│   545 │   │   assert unused_kwargs == {"foo": False}                                             │
│   546 │   │   ```"""                                                                             │
│ ❱ 547 │   │   config_dict, kwargs = cls.get_config_dict(pretrained_model_name_or_path, **kwarg   │
│   548 │   │   if "model_type" in config_dict and hasattr(cls, "model_type") and config_dict["m   │
│   549 │   │   │   logger.warning(                                                                │
│   550 │   │   │   │   f"You are using a model of type {config_dict['model_type']} to instantia   │
│                                                                                                  │
│ /opt/conda/lib/python3.7/site-packages/transformers/configuration_utils.py:574 in                │
│ get_config_dict                                                                                  │
│                                                                                                  │
│   571 │   │   """                                                                                │
│   572 │   │   original_kwargs = copy.deepcopy(kwargs)                                            │
│   573 │   │   # Get config dict associated with the base config file                             │
│ ❱ 574 │   │   config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwar   │
│   575 │   │   if "_commit_hash" in config_dict:                                                  │
│   576 │   │   │   original_kwargs["_commit_hash"] = config_dict["_commit_hash"]                  │
│   577                                                                                            │
│                                                                                                  │
│ /opt/conda/lib/python3.7/site-packages/transformers/configuration_utils.py:641 in                │
│ _get_config_dict                                                                                 │
│                                                                                                  │
│   638 │   │   │   │   │   user_agent=user_agent,                                                 │
│   639 │   │   │   │   │   revision=revision,                                                     │
│   640 │   │   │   │   │   subfolder=subfolder,                                                   │
│ ❱ 641 │   │   │   │   │   _commit_hash=commit_hash,                                              │
│   642 │   │   │   │   )                                                                          │
│   643 │   │   │   │   commit_hash = extract_commit_hash(resolved_config_file, commit_hash)       │
│   644 │   │   │   except EnvironmentError:                                                       │
│                                                                                                  │
│ /opt/conda/lib/python3.7/site-packages/transformers/utils/hub.py:425 in cached_file              │
│                                                                                                  │
│    422 │                                                                                         │
│    423 │   except RepositoryNotFoundError:                                                       │
│    424 │   │   raise EnvironmentError(                                                           │
│ ❱  425 │   │   │   f"{path_or_repo_id} is not a local folder and is not a valid model identifie  │
│    426 │   │   │   "listed on 'https://huggingface.co/models'\nIf this is a private repository,  │
│    427 │   │   │   "pass a token having permission to this repo with `use_auth_token` or log in  │
│    428 │   │   │   "`huggingface-cli login` and pass `use_auth_token=True`."                     │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
OSError: facebook/bart-large is not a local folder and is not a valid model identifier listed on 
'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo with `use_auth_token` or 
log in with `huggingface-cli login` and pass `use_auth_token=True`.
```

### Expected behavior

None output should be given.

Comments:
They're back up now! 🤗

Closing as this has been resolved!