Commit
·
00043aa
1
Parent(s):
60d03d8
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ To use it in transformers, please refer to https://github.com/OFA-Sys/OFA/tree/f
|
|
| 12 |
```
|
| 13 |
git clone --single-branch --branch feature/add_transformers https://github.com/OFA-Sys/OFA.git
|
| 14 |
pip install OFA/transformers/
|
| 15 |
-
|
| 16 |
```
|
| 17 |
|
| 18 |
After, refer the path to OFA-tiny to `ckpt_dir`, and prepare an image for the testing example below. Also, ensure that you have pillow and torchvision in your environment.
|
|
|
|
| 12 |
```
|
| 13 |
git clone --single-branch --branch feature/add_transformers https://github.com/OFA-Sys/OFA.git
|
| 14 |
pip install OFA/transformers/
|
| 15 |
+
git clone https://huggingface.co/OFA-Sys/OFA-tiny
|
| 16 |
```
|
| 17 |
|
| 18 |
After, refer the path to OFA-tiny to `ckpt_dir`, and prepare an image for the testing example below. Also, ensure that you have pillow and torchvision in your environment.
|