Getting a model to work on a system with no internet access
## Environment info
We are trying to use the model from https://huggingface.co/cardiffnlp/twitter-roberta-base-sentiment on a system that has no connection to the internet. Normally one can do:
`pipeline = Pipeline(model='model_name")`
and huggingface will fetch everything it needs from the internet. Unfortunately, some datasets reside within a highly protected environment that does not allow for any internet connection and we can't fetch our models. (Hell, we can't even copy/paste errors).

Uploading files to that environment is really cumbersome and every file needs to go through a review process. Through trial and error, i have gotten the model and tokenizer to load, but it is now missing a "vocabulary". Before I got a submit a request for extra files to be uploaded, could someone just confirm for me what files do I need so that the model could be loaded offline. As far as I understand i have to have every single file from here: https://huggingface.co/cardiffnlp/twitter-roberta-base-sentiment/tree/main
and my script should look like:
`pipeline = Pipeline(model='/path/to/dir")`

### Who can help

Models:
- pipelines: @LysandreJik


## Information
https://huggingface.co/cardiffnlp/twitter-roberta-base-sentiment

The problem arises when using:
Running in a restricted environment


## To reproduce
Use the example script from https://huggingface.co/cardiffnlp/twitter-roberta-base-sentiment and try to manually input the files

## Expected behavior
The model should work just as if it were in a system connected to the internet.

Yes, if you place all files which you find on the model page on the hub in a directory, then it will work.<|||||>You can even just `git clone` the model repo<|||||>This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md) are likely to be ignored.