Translation for Traditional Chinese (zh-tw) chapter0 #251
Conversation
|
The documentation is not available anymore as the PR was closed or merged. |
lewtun
left a comment
There was a problem hiding this comment.
Thank you for kick-starting the traditional chinese translation @davidpeng86 🥳 !!
For the translations, we only need to include the sections that have been translated, so all the parts that are currently in English can be removed.
Also, could you please add zh-TW to the languages field in build_pr_documentation.yml and build_documentation.yml please:
languages: ar bn de en es fa fr gj he hi it ja ko pt ru th tr zh-CN zh-TW
Thanks!
| - local: chapter0/1 | ||
| title: 簡介 | ||
|
|
||
| - title: 1. Transformer models |
There was a problem hiding this comment.
If I understand correctly, only chapter0/1 is translated in this pull request. This means we should just keep that section of the table of contents and remove everything from this line downwards.
You'll also need to remove all the untranslated folders chapter{1-8} so we can build the content.
There was a problem hiding this comment.
I have removed the untranslated parts and updated the yml files.
Cheers.
There was a problem hiding this comment.
Thank you! I've just resolved the merge conflicts and am checking we can build the content :)
Will merge if all is good!
There was a problem hiding this comment.
Build looks good - just FYI that we need chapter1/1.mdx translated to finally render this on hf.co
* Chapter 2 Section 1 Bengali Translation (#72) (#168) * [TH] Chapter 6 Section 1 and 2 (#171) Co-authored-by: Suteera <[email protected]> * [FA] CH1 / P1-2 (#142) * Spanish Chapter 3: sections 1 & 2 (#162) * fix typos in bpe, wordpiece, unigram (#166) * [FR] French Review (#186) * Part 7: Training a causal... fixes (#179) * typo & error mitigation * consistency * Trainer.predict() returns 3 fields * ran make style * [TR] Translated Chapter 1.6 🤗 (#185) * added chapter 1/6 to _toctree.yml * [TR] Translated Chapter 1.6 🤗 * [PT][Chapter 01 - 2.mdx] - issue #51 (#170) * Fix Gradio ToC (#193) * Add Gradio authors and Blocks event (#189) * Update 6.mdx (#188) Correct link to Transformer XL doc * Add translating notes and glossary to Spanish (#192) * Add translating notes and glosary to Spanish * Adding glossary to the toc * add pt 4.3 (#191) * [FR] Visual corrections (#190) * [PT] add chapter 4.4 and 4.5 (#196) * fix invite discord link (#197) * [FA] Second draft of CH2/P1-2 (#139) * added chapter3 in hindi (#198) * [TR] Chapter 3/1 (#165) * [RU] Ch3-1/2/3 (#200) * [PT] add 5.1 and 5.2 (#204) * [FA] - Ch3 - P1 and P2 (#199) * [PT] add `end-of-chapter quiz` for chapter 4 (4.6) (#201) Co-authored-by: lewtun <[email protected]> * Chapter1: 2.mdx Translated. (#206) * Remove comments from Persian ToC (#210) * Fix CI URL for PRs (#211) * code fragment & english syntax and meaning (#203) * Updated Ch1/1 with Emoji (#214) * Add missing numpy import (#217) * [ES] translate sections 8.1 and 8.2 (#215) * Fix path to datasets (#216) * [PT] add 5.3 (#218) * fix 4.3 (#223) * Fix notebook generation (#227) * Add Gradio nb links * add 5.4 (#226) * add pt wip (#225) * Added Gujarati List. (#221) * Add Gradio nbs links to fr (#228) * Chinese - Chapter 3finished (#219) * add ch7 at _toctree and translate 7.1 (#222) * add 5.5 (#235) * [FR] Review of chapter 7 (#233) * Italian translation - chapter 4 (#230) * Added Thai translation of chapters 3 (#231) * [Ru] Add part 2, chapter 2 (#234) * Update 8.mdx (#237) - Remove Gradio Blocks Party - Add, Where to next? section * Created HI/Chapter1/5.mdx (#232) * Add Spanish chaper3/section4, update toc and glossary (#238) * [RU] Chapter 3 finished (#239) * [PT] add 5.6 and 5.7 (#240) * [EN] Visual corrections (#245) * Translation for 1/4, 1/5 and 1/6. (#247) * add event in PT (#250) * Pin version of black (#252) * Translate ja event (#241) * [PT] add quiz chapter 5 (#243) * Update 5.mdx (#253) inconsistent naming with line 327 * Translation for Traditional Chinese (zh-tw) chapter0 (#251) Co-authored-by: Lewis Tunstall <[email protected]> * Translated the whole Chapter 3 to Thai (#255) * Japanese chapter 4 (#244) * Translation of 1/7, 1/8, and 1/9. (#263) * [PT] add chapter 8.1 and 8.2 (#265) * [RU] Chapter 4 (#269) * Add Thai translation for chapter 6.3b to 6.10 (#268) * add 8.3 (#266) * 3.mdx of chapter 01 (#260) Co-authored-by: Lewis Tunstall <[email protected]> * Fix typo (#271) * [PT] add chapter 6.1 (#273) * add Japanese chapter7 (#267) * replace `load_metric` with `evaluate.load` (#285) * update `load_metric` refs to `evaluate.load` Co-authored-by: lewtun <[email protected]> * [GJ] Translation to Gujarati - Ch0 Setup (#287) * [PT] add chapter 6.2 and 6.3 (#279) * zh-CN - Chapter 4,5finished (#281) Co-authored-by: Lewis Tunstall <[email protected]> * Chapter 01 - Done [PT] #51 (#280) Co-authored-by: Lewis Tunstall <[email protected]> Co-authored-by: Avishek Das <[email protected]> Co-authored-by: Suteera Seeha <[email protected]> Co-authored-by: Suteera <[email protected]> Co-authored-by: Saeed Choobani <[email protected]> Co-authored-by: Fermin Ordaz <[email protected]> Co-authored-by: Kerem Turgutlu <[email protected]> Co-authored-by: lbourdois <[email protected]> Co-authored-by: Sebastian Sosa <[email protected]> Co-authored-by: tanersekmen <[email protected]> Co-authored-by: Victor Costa <[email protected]> Co-authored-by: Camille Couturier <[email protected]> Co-authored-by: João Gustavo A. Amorim <[email protected]> Co-authored-by: Bahram Shamshiri <[email protected]> Co-authored-by: Kavya <[email protected]> Co-authored-by: Batuhan Ayhan <[email protected]> Co-authored-by: Pavel <[email protected]> Co-authored-by: Kambiz Ghoorchian <[email protected]> Co-authored-by: Vedant Pandya <[email protected]> Co-authored-by: Diego Vargas <[email protected]> Co-authored-by: Thomas O'Brien <[email protected]> Co-authored-by: Lincoln V Schreiber <[email protected]> Co-authored-by: 1375626371 <[email protected]> Co-authored-by: Giorgio Severi <[email protected]> Co-authored-by: svv73 <[email protected]> Co-authored-by: Ömer Faruk Özdemir <[email protected]> Co-authored-by: Caterina Bonan <[email protected]> Co-authored-by: Hiromu Hota <[email protected]> Co-authored-by: trtd56 <[email protected]> Co-authored-by: Mehrdad Nezamdoost <[email protected]> Co-authored-by: Wolvz <[email protected]> Co-authored-by: a-krirk <[email protected]> Co-authored-by: atgctg <[email protected]> Co-authored-by: Thiago Medeiros <[email protected]> Co-authored-by: webbigdata-jp <[email protected]> Co-authored-by: Leandro von Werra <[email protected]> Co-authored-by: Bhadresh Savani <[email protected]>
* Chinese - Chapter 1 finished * Add zh to the languages field Add zh to the languages field in the build_documentation.yml and build_pr_documentation.yml files * Remove untranslated chapters in _toctree.yml Remove all these sections that haven't been translated yet Remove Chapter 0 from the table of contents since it hasn't been translated yet * Fixed an error in the translation format Fixed an error in the translation format of Chapter 1, Section 3 * Added a small part of the missing content * Fix style * Complete the translation of Chapters 0 and 2 * Fixed some bugs ·Fixed some formatting errors ·Moved Chapters 0 and 2 to Simplified Chinese * Add files via upload Formatting revisions and some translation corrections * run make style to format chapter1 session3 * run make style to format code * run make style to format code * Fix style * Chapter 2 Section 1 Bengali Translation (#72) (#168) * [TH] Chapter 6 Section 1 and 2 (#171) Co-authored-by: Suteera <[email protected]> * [FA] CH1 / P1-2 (#142) * Spanish Chapter 3: sections 1 & 2 (#162) * fix typos in bpe, wordpiece, unigram (#166) * [FR] French Review (#186) * Part 7: Training a causal... fixes (#179) * typo & error mitigation * consistency * Trainer.predict() returns 3 fields * ran make style * [TR] Translated Chapter 1.6 🤗 (#185) * added chapter 1/6 to _toctree.yml * [TR] Translated Chapter 1.6 🤗 * [PT][Chapter 01 - 2.mdx] - issue #51 (#170) * Fix Gradio ToC (#193) * Add Gradio authors and Blocks event (#189) * Update 6.mdx (#188) Correct link to Transformer XL doc * Add translating notes and glossary to Spanish (#192) * Add translating notes and glosary to Spanish * Adding glossary to the toc * add pt 4.3 (#191) * [FR] Visual corrections (#190) * [PT] add chapter 4.4 and 4.5 (#196) * fix invite discord link (#197) * [FA] Second draft of CH2/P1-2 (#139) * added chapter3 in hindi (#198) * [TR] Chapter 3/1 (#165) * [RU] Ch3-1/2/3 (#200) * [PT] add 5.1 and 5.2 (#204) * Add placeholders for audio chapters (#208) * [FA] - Ch3 - P1 and P2 (#199) * [PT] add `end-of-chapter quiz` for chapter 4 (4.6) (#201) Co-authored-by: lewtun <[email protected]> * Chapter1: 2.mdx Translated. (#206) * Remove comments from Persian ToC (#210) * Fix CI URL for PRs (#211) * code fragment & english syntax and meaning (#203) * Updated Ch1/1 with Emoji (#214) * Add missing numpy import (#217) * Updata chapter3 * Code format for chapter3 * Updata yml file of chapter3 * Uptata yml file of chapter3 * Fix yml file bug * [ES] translate sections 8.1 and 8.2 (#215) * Fix path to datasets (#216) * [PT] add 5.3 (#218) * fix 4.3 (#223) * Run make style * Fix notebook generation (#227) * Add Gradio nb links * add 5.4 (#226) * add pt wip (#225) * Added Gujarati List. (#221) * Fix quality * Add Gradio nbs links to fr (#228) * Fix ToC tree * Remove audio templates * Fix fr section * Fix fr chapter * Chinese - Chapter 3finished (#219) * add ch7 at _toctree and translate 7.1 (#222) * add 5.5 (#235) * [FR] Review of chapter 7 (#233) * Italian translation - chapter 4 (#230) * Added Thai translation of chapters 3 (#231) * [Ru] Add part 2, chapter 2 (#234) * Update 8.mdx (#237) - Remove Gradio Blocks Party - Add, Where to next? section * Created HI/Chapter1/5.mdx (#232) * Add Spanish chaper3/section4, update toc and glossary (#238) * [RU] Chapter 3 finished (#239) * [PT] add 5.6 and 5.7 (#240) * [EN] Visual corrections (#245) * Translation for 1/4, 1/5 and 1/6. (#247) * add event in PT (#250) * Pin version of black (#252) * Translate ja event (#241) * [PT] add quiz chapter 5 (#243) * Update 5.mdx (#253) inconsistent naming with line 327 * Translation for Traditional Chinese (zh-tw) chapter0 (#251) Co-authored-by: Lewis Tunstall <[email protected]> * Translated the whole Chapter 3 to Thai (#255) * Japanese chapter 4 (#244) * Translation of 1/7, 1/8, and 1/9. (#263) * [PT] add chapter 8.1 and 8.2 (#265) * [RU] Chapter 4 (#269) * Add Thai translation for chapter 6.3b to 6.10 (#268) * add 8.3 (#266) * 3.mdx of chapter 01 (#260) Co-authored-by: Lewis Tunstall <[email protected]> * Fix typo (#271) * [PT] add chapter 6.1 (#273) * add Japanese chapter7 (#267) * zh-CN - Chapter 4,5finished * replace `load_metric` with `evaluate.load` (#285) * update `load_metric` refs to `evaluate.load` Co-authored-by: lewtun <[email protected]> * [GJ] Translation to Gujarati - Ch0 Setup (#287) * [PT] add chapter 6.2 and 6.3 (#279) * Fix formatting * Debug formatting * Debug FR formatting * zh-CN - Chapter 4,5finished (#281) Co-authored-by: Lewis Tunstall <[email protected]> * Chapter 01 - Done [PT] #51 (#280) Co-authored-by: Lewis Tunstall <[email protected]> * tf_default_data_collator seems to have moved * zh-CN - Chapter 6finished * Revert "Merge branch 'huggingface:main' into main" This reverts commit aebb46e, reversing changes made to 69187a3. * Revert "zh-CN - Chapter 6finished" This reverts commit e69fce2. * zh-CN - Chapter 6finished * fix style * undo bad commit * Chapter5it (#278) * added the italian translation for unit 1 chapter5 Co-authored-by: Leandro von Werra <[email protected]> * Vietnamese translation (#293) * Update .github/workflows/build_pr_documentation.yml Co-authored-by: lewtun <[email protected]> * Translate JP chapter 8 (#249) * Italian translation - Chapter 8 (#272) * Translation to Vietnamese - chapter 5 (#297) * Add course contributors (#298) * Add CourseFloatingBanner component * DocNotebookDropdown -> CourseFloatingBanner * Italian translation Ch 2/1, 2/2 (#300) * Add contributors (#304) * Add forum button (#306) Co-authored-by: 1375626371 <[email protected]> Co-authored-by: 1375626371 <[email protected]> Co-authored-by: Avishek Das <[email protected]> Co-authored-by: Suteera Seeha <[email protected]> Co-authored-by: Suteera <[email protected]> Co-authored-by: Saeed Choobani <[email protected]> Co-authored-by: Fermin Ordaz <[email protected]> Co-authored-by: Kerem Turgutlu <[email protected]> Co-authored-by: lbourdois <[email protected]> Co-authored-by: Sebastian Sosa <[email protected]> Co-authored-by: tanersekmen <[email protected]> Co-authored-by: Victor Costa <[email protected]> Co-authored-by: Camille Couturier <[email protected]> Co-authored-by: João Gustavo A. Amorim <[email protected]> Co-authored-by: Bahram Shamshiri <[email protected]> Co-authored-by: Kavya <[email protected]> Co-authored-by: Batuhan Ayhan <[email protected]> Co-authored-by: Pavel <[email protected]> Co-authored-by: Kambiz Ghoorchian <[email protected]> Co-authored-by: Vedant Pandya <[email protected]> Co-authored-by: Diego Vargas <[email protected]> Co-authored-by: Thomas O'Brien <[email protected]> Co-authored-by: Lincoln V Schreiber <[email protected]> Co-authored-by: Giorgio Severi <[email protected]> Co-authored-by: svv73 <[email protected]> Co-authored-by: Ömer Faruk Özdemir <[email protected]> Co-authored-by: Caterina Bonan <[email protected]> Co-authored-by: Hiromu Hota <[email protected]> Co-authored-by: trtd56 <[email protected]> Co-authored-by: Mehrdad Nezamdoost <[email protected]> Co-authored-by: Wolvz <[email protected]> Co-authored-by: a-krirk <[email protected]> Co-authored-by: atgctg <[email protected]> Co-authored-by: Thiago Medeiros <[email protected]> Co-authored-by: webbigdata-jp <[email protected]> Co-authored-by: Leandro von Werra <[email protected]> Co-authored-by: Bhadresh Savani <[email protected]> Co-authored-by: Andreas Ehrencrona <[email protected]> Co-authored-by: leandro <[email protected]> Co-authored-by: Matt <[email protected]> Co-authored-by: Nolanogenn <[email protected]> Co-authored-by: Hồng Hạnh <[email protected]> Co-authored-by: Younes Belkada <[email protected]> Co-authored-by: Edoardo Abati <[email protected]> Co-authored-by: Mishig Davaadorj <[email protected]> Co-authored-by: Acciaro Gennaro Daniele <[email protected]>
related issue: #55
cc: @lewtun