Fix canonical model --model_type in examples (#30480)

Fix --model_type in examples
This commit is contained in:
amyeroberts
2024-05-01 15:47:05 +01:00
committed by GitHub
parent 3c69d81eeb
commit bbaa8ceff6
7 changed files with 52 additions and 52 deletions

View File

@@ -89,7 +89,7 @@ Aquí hay un ejemplo del proceso para convertir un modelo OpenAI GPT-2 pre-entre
```bash
export OPENAI_GPT2_CHECKPOINT_PATH=/path/to/openai-community/gpt2/pretrained/weights
transformers-cli convert --model_type openai-community/gpt2 \
transformers-cli convert --model_type gpt2 \
--tf_checkpoint $OPENAI_GPT2_CHECKPOINT_PATH \
--pytorch_dump_output $PYTORCH_DUMP_OUTPUT \
[--config OPENAI_GPT2_CONFIG] \