Update all references to canonical models (#29001)

* Script & Manual edition

* Update
This commit is contained in:
Lysandre Debut
2024-02-16 08:16:58 +01:00
committed by GitHub
parent 1e402b957d
commit f497f564bb
561 changed files with 2682 additions and 2687 deletions

View File

@@ -32,10 +32,10 @@ pip install optimum[exporters-tf]
optimum-cli export tflite --help
```
运行以下命令,以从 🤗 Hub 导出模型的检查点checkpoint`bert-base-uncased` 为例:
运行以下命令,以从 🤗 Hub 导出模型的检查点checkpoint`google-bert/bert-base-uncased` 为例:
```bash
optimum-cli export tflite --model bert-base-uncased --sequence_length 128 bert_tflite/
optimum-cli export tflite --model google-bert/bert-base-uncased --sequence_length 128 bert_tflite/
```
你应该能在日志中看到导出进度以及生成的 `model.tflite` 文件的保存位置,如下所示: