add zh translation for installation#26084
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. |
stevhliu
left a comment
There was a problem hiding this comment.
Thanks for your translation! 🤗
For some reason, the second-level headings aren't being recognized so we're going to look into that. Once it gets resolved, we'll be free to merge!
Noted with thanks! @stevhliu |
|
The issue should be resolved now, thanks again for your contribution and patience! |
|
|
||
| ## 使用conda安装 | ||
|
|
||
| 从conda`huggingface`频道安装: |
| pip install transformers | ||
| ``` | ||
|
|
||
| 若仅需CPU支持,可以使用单行命令方便地安装 🤗 Transformers 和深度学习库。例如,使用以下命令安装 🤗 Transformers 和PyTorch: |
There was a problem hiding this comment.
Inconsistent spacing between CJK and ASCII characters.
Generally in web typesetting environments, it may be more comfortable to read by inserting spaces between those CJK and ASCII characters. Microsoft Word do it automatically, but web browsers don't.
There are several other instances of this issues in other part of the docs.
There was a problem hiding this comment.
Thanks for your review @wfjsw, would you like to open a PR to fix this issue?
There was a problem hiding this comment.
Inconsistent spacing between CJK and ASCII characters.
Generally in web typesetting environments, it may be more comfortable to read by inserting spaces between those CJK and ASCII characters. Microsoft Word do it automatically, but web browsers don't.
There are several other instances of this issues in other part of the docs.
The justification for the space inconsistency is that 🤗 Transformers seems like a proper noun so I followed the format in 快速上手. On a second review, neither 🤗 Transformers简介 nor 快速上手 section has a consistent translation format. Apart from the inconsistent space problem, they use a mix of Chinese and English punctuations (mostly English punctuations but Chinese punctuations would be more appropriate in my view). If possible, please also take into account these issues while fixing.

What does this PR do?
Who can review?
Documentation: @sgugger @stevhliu and @MKhalusova
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.