-
Notifications
You must be signed in to change notification settings - Fork 28.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🌐 [i18n-ZH] Translate serialization.md into Chinese #27076
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks for the translation!
docs/source/zh/serialization.md
Outdated
|
||
🤗 Optimum 是 Transformers 的扩展,可以通过其 `exporters` 模块将模型从 PyTorch 或 TensorFlow 导出为 ONNX 及 TFLite 等序列化格式。🤗 Optimum 还提供了一套性能优化工具,可以在目标硬件上以最高效率训练和运行模型。 | ||
|
||
本指南演示了如何使用 🤗 Optimum 将 🤗 Transformers 模型导出为 ONNX。有关将模型导出为 TFLite 的指南,请参考[导出为 TFLite 页面](tflite)。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we maybe link to the English version of Export to TFLite for now since this doc doesn't exist in Chinese?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we maybe link to the English version of Export to TFLite for now since this doc doesn't exist in Chinese?
Hi @stevhliu I think for this document it's fine to keep the Chinese version since I have make the translations for tflite and will commit soon.
For future docs, I'm wondering if there's any helper to identify if the document is referenced in the translated documents? If not, it will be difficult to maintain from the translators' sides to do it manually when the number of zh docs grow. It will definately take efforts when there're dozens of links in one doc like this.
Otherwise, the redirect message seems fine with me.
Best
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we currently have any tools that do this. The example you referenced below is auto-generated so you won't have to touch those. Besides the task pages, I don't think you'll find too many other docs with as many links as that though. 🙂
* docs(zh): translate serialization.md * docs(zh): add space around links
What does this PR do?
Translate serialization.md into Chinese
part of #20095
Who can review?
Documentation: @stevhliu
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.