Skip to content
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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

neofung
Copy link

@neofung neofung commented Feb 26, 2025

What does this PR do?

Fixes #36411

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?

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.

@Rocketknight1
Copy link
Member

cc @stevhliu!

Copy link
Member

@stevhliu stevhliu left a 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 🙂


这些缓存类可以在生成时通过 `cache_implementation` 参数设置。要了解 `cache_implementation` 标记的可用选项,请参阅 [API 文档](./main_classes/text_generation#transformers.GenerationConfig)。现在,让我们详细探讨每种缓存类型,并看看如何使用它们。请注意,以下示例适用于基于decoder-only的 Transformer 模型。我们还支持为 Mamba 或 Jamba 等模型的特定缓存类,继续阅读以获取更多详细信息。

### 可量化的缓存
Copy link
Member

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)

Copy link
Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[i18n-zh] Translating kv_cache into zh-hans
4 participants