-
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] Translating kv_cache into zh-hans #36412
base: main
Are you sure you want to change the base?
Conversation
cc @stevhliu! |
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.
Very nice one to translate, thanks!
You'll also need someone who can read Chinese to review the content since I can't read it 🙂
docs/source/zh/kv_cache.md
Outdated
|
||
这些缓存类可以在生成时通过 `cache_implementation` 参数设置。要了解 `cache_implementation` 标记的可用选项,请参阅 [API 文档](./main_classes/text_generation#transformers.GenerationConfig)。现在,让我们详细探讨每种缓存类型,并看看如何使用它们。请注意,以下示例适用于基于decoder-only的 Transformer 模型。我们还支持为 Mamba 或 Jamba 等模型的特定缓存类,继续阅读以获取更多详细信息。 | ||
|
||
### 可量化的缓存 |
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.
Since the official name is QuantizedCache
, I think you can leave it untranslated (same comment for the other sections)
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.
Since the official name is
QuantizedCache
, I think you can leave it untranslated (same comment for the other sections)
✅
What does this PR do?
Fixes #36411
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
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.