-
Notifications
You must be signed in to change notification settings - Fork 256
Add Chinese (zh) Translation of Documentation #744
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
base: main
Are you sure you want to change the base?
Conversation
This is great, tysm! |
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.
Hi @clefourrier - Just reviewed, the translation looks good. There is just one minor issue, feel free to merge once it's corrected.
Thanks for your amazing work @CassiopeiaCode 🤗
- `hf_subset` (str),您想用于评估的特定子集(注意:当数据集没有子集时,请用`"default"`填充此字段,而不是用`None`或`""`) | ||
- `hf_avail_splits` (list),您的数据集可用的所有分割(训练、验证、测试、其他...) | ||
- `evaluation_splits` (list),您想用于评估的分割 | ||
- `few_shots_split` (str,可以为`null`),您想从中选择样本作为少量样本示例的特定分割。它应该与`evaluation_splits`中包含的集合不同 |
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.
您想从中选择样本作为少量样本示例的特定分割
👇
您想从中选择少量示例样本的特定数据划分
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
hi ! it seems like it's not available through the docs, can you follow an architecture like the one in this example ? :) |
Update the description of the few_shots_split field in docs/translations/zh/adding-a-custom-task.mdx from “您想从中选择样本作为少量样本示例的特定分割” to “您想从中选择少量示例样本的特定数据划分”.
…upport Rename docs/source to docs/source/en to explicitly separate English documentation. Move docs/translations/zh to docs/source/zh to follow the standard multilingual documentation structure. Update CI configuration to support both English and Chinese documentation builds.
Thank you so much for your careful review and helpful suggestion, @adeenayakup! |
Thanks for pointing this out, @NathanHB ! |
I’m not sure if any changes are needed for lighteval/.github/workflows/doc-pr-upload.yml and lighteval/.github/workflows/doc-pr-build.yml, since they might be affected by the new documentation structure under lighteval/docs/source. |
mhh we would need to add the languages I think |
Got it! Makes sense, I added the languages to the workflow. :) |
fc0b84d
to
ebce5b9
Compare
This pull request adds a complete Chinese (zh) translation of the Lighteval documentation, addressing #716.