Update README.md

This commit is contained in:
Gustavo de Rosa 2024-01-24 13:34:13 +00:00 committed by system
parent 83b9c52637
commit 349cf8b5e8
No known key found for this signature in database
GPG Key ID: 6A528E38E0733467

@ -20,12 +20,10 @@ Phi-1.5 can write poems, draft emails, create stories, summarize texts, write Py
## How to Use
Phi-1.5 has been integrated in the development version (4.37.0.dev) of `transformers`. Until the official version is released through `pip`, ensure that you are doing one of the following:
Phi-1.5 has been integrated in the `transformers` version 4.37.0. If you are using a lower version, ensure that you are doing the following:
* When loading the model, ensure that `trust_remote_code=True` is passed as an argument of the `from_pretrained()` function.
* Update your local `transformers` to the development version: `pip uninstall -y transformers && pip install git+https://github.com/huggingface/transformers`. The previous command is an alternative to cloning and installing from the source.
The current `transformers` version can be verified with: `pip list | grep transformers`.
## Intended Uses