Update README.md
Browse files
README.md
CHANGED
@@ -48,7 +48,7 @@ across four domains: documents, illustrations, user interfaces, and natural imag
|
|
48 |
|
49 |
## Converting from T5x to huggingface
|
50 |
|
51 |
-
You can use the [`convert_pix2struct_checkpoint_to_pytorch.py`](https://github.com/huggingface/transformers/blob/main/src/transformers/models/pix2struct/
|
52 |
```bash
|
53 |
python convert_pix2struct_checkpoint_to_pytorch.py --t5x_checkpoint_path PATH_TO_T5X_CHECKPOINTS --pytorch_dump_path PATH_TO_SAVE
|
54 |
```
|
|
|
48 |
|
49 |
## Converting from T5x to huggingface
|
50 |
|
51 |
+
You can use the [`convert_pix2struct_checkpoint_to_pytorch.py`](https://github.com/huggingface/transformers/blob/main/src/transformers/models/pix2struct/convert_pix2struct_original_pytorch_to_hf.py) script as follows:
|
52 |
```bash
|
53 |
python convert_pix2struct_checkpoint_to_pytorch.py --t5x_checkpoint_path PATH_TO_T5X_CHECKPOINTS --pytorch_dump_path PATH_TO_SAVE
|
54 |
```
|