Update pip example to be consistent with repo

This commit is contained in:
Sean Owen 2023-04-25 00:50:54 +00:00 committed by huggingface-web
parent 0fe9f6451d
commit 72e3a47186

@ -38,7 +38,7 @@ To use the model with the `transformers` library on a machine with GPUs, first m
In a Databricks notebook you could run:
```python
%pip install accelerate>=0.12.0 transformers[torch]==4.25.1
%pip install "accelerate>=0.16.0,<1" "transformers[torch]>=4.28.1,<5" "torch>=1.13.1,<2"
```
The instruction following pipeline can be loaded using the `pipeline` function as shown below. This loads a custom `InstructionTextGenerationPipeline`