Unverified Commit 734eb254 authored by Ming Xu (徐明)'s avatar Ming Xu (徐明) Committed by GitHub
Browse files

🌐 [i18n-ZH] Translate chat_templating.md into Chinese (#28790)



* [Pix2struct] Simplify generation (#22527)

* Add model to doc tests

* Remove generate and replace by prepare_inputs_for_generation

* More fixes

* Remove print statements

* Update integration tests

* Fix generate

* Remove model from auto mapping

* Use auto processor

* Fix integration tests

* Fix test

* Add inference code snippet

* Remove is_encoder_decoder

* Update docs

* Remove notebook link

* Release: v4.28.0

* Revert (for now) the change on `Deta` in #22437 (#22750)

fix
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>

* Patch release: v4.28.1

* update zh chat template.

* Update docs/source/zh/chat_templating.md
Co-authored-by: default avatarSteven Liu <59462357+stevhliu@users.noreply.github.com>

* Update docs/source/zh/_toctree.yml
Co-authored-by: default avatarMichael <haifeng.yao@daocloud.io>

* Update docs/source/zh/chat_templating.md
Co-authored-by: default avatarMichael <haifeng.yao@daocloud.io>

* Update docs/source/zh/chat_templating.md
Co-authored-by: default avatarMichael <haifeng.yao@daocloud.io>

* Update docs/source/zh/chat_templating.md
Co-authored-by: default avatarMichael <haifeng.yao@daocloud.io>

* Update docs/source/zh/chat_templating.md
Co-authored-by: default avatarMichael <haifeng.yao@daocloud.io>

* Update docs/source/zh/chat_templating.md
Co-authored-by: default avatarMichael <haifeng.yao@daocloud.io>

* Update docs/source/zh/chat_templating.md
Co-authored-by: default avatarMichael <haifeng.yao@daocloud.io>

---------
Co-authored-by: default avatarNielsRogge <48327001+NielsRogge@users.noreply.github.com>
Co-authored-by: default avatarSylvain Gugger <Sylvain.gugger@gmail.com>
Co-authored-by: default avatarYih-Dar <2521628+ydshieh@users.noreply.github.com>
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
Co-authored-by: default avatarSteven Liu <59462357+stevhliu@users.noreply.github.com>
Co-authored-by: default avatarMichael <haifeng.yao@daocloud.io>
parent b4334045
...@@ -74,4 +74,4 @@ The original code can be found [here](https://github.com/google-research/pix2str ...@@ -74,4 +74,4 @@ The original code can be found [here](https://github.com/google-research/pix2str
## Pix2StructForConditionalGeneration ## Pix2StructForConditionalGeneration
[[autodoc]] Pix2StructForConditionalGeneration [[autodoc]] Pix2StructForConditionalGeneration
- forward - forward
\ No newline at end of file
...@@ -37,6 +37,8 @@ ...@@ -37,6 +37,8 @@
title: 使用特定于模型的 API title: 使用特定于模型的 API
- local: custom_models - local: custom_models
title: 共享自定义模型 title: 共享自定义模型
- local: chat_templating
title: 聊天模型的模板
- local: serialization - local: serialization
title: 导出为 ONNX title: 导出为 ONNX
- local: tflite - local: tflite
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment