How to use gpt-2-xl with run_generation.py
## ❓ Questions & Help

<!-- A clear and concise description of the question. -->
I am currently running the run_generation.py and putting the model as gpt-2, however I am not satisfied with the results frm the small model.

How can I insert the big model instead?
You're probably using the command:
```
python run_generation.py --model_type=gpt2 --model_name_or_path=gpt2
```

to use GPT2-XL for generation you would change the last argument to `gpt2-xl`:
```
python run_generation.py --model_type=gpt2 --model_name_or_path=gpt2-xl
```<|||||>ah. its because the latest version isnt available on pypi yet. and i pip installed it. 2.1.1 is the version I've got installed.

Is there any way to force pip to install the latest version that was commited 21 hours ago.<|||||>Ah yes we're yet to release a pypi version with GPT2-XL. To install from source you would have to do:

```
pip install git+https://github.com/huggingface/transformers
```<|||||>This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
<|||||> pip install transformers==3.4.0
this version of transforrmers solved my problem: OSError: Model name 'ckiplab/gpt2-base-chinese' was not found in model name list (gpt2, gpt2-medium, gpt2-large, gpt2-xl, distilgpt2). We assumed 'ckiplab/gpt2-base-chinese' was a path or url to a configuration file named config.json or a directory containing such a file but couldn't find any such file at this path or url.
