Skip to content

Translation chapter 9 #943

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

Merged
merged 53 commits into from
Jun 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
6b5a6f9
Changed romanian folder name from rum to ro
Angroys Dec 28, 2024
d13ac2d
added chapter 3 first 3 sections
Angroys Jan 1, 2025
ade28a8
Finished translating chapter 3
Angroys Jan 2, 2025
2a10e3b
Finished chapter 4
Angroys Jan 2, 2025
1c9d20a
Finished chapter 5 for the ro language
Angroys Jan 4, 2025
bfe0baf
Done chapter 6
Angroys Jan 8, 2025
abd846c
Add chapter 3
Jan 8, 2025
3b79756
Done the first three sections of the 7th chapter
Angroys Jan 8, 2025
5681ee4
done until section 6
Angroys Jan 16, 2025
a759450
finished chapter 7
Angroys Jan 23, 2025
1bd8547
fix: add toctree content
eduard-balamatiuc May 26, 2025
9026c66
fix: update toctree to only include the current chapter
eduard-balamatiuc May 27, 2025
8d7fd41
Merge branch 'main' into translation-chapter-3
eduard-balamatiuc May 27, 2025
444d4f4
Merge branch 'main' into translation-chapter-4
eduard-balamatiuc May 27, 2025
ea4af07
Merge branch 'main' into translation-chapter-5
eduard-balamatiuc May 27, 2025
9724363
Merge branch 'main' into translation-chapter-6
eduard-balamatiuc May 27, 2025
8d66477
Merge branch 'main' into translation-chapter-7
eduard-balamatiuc May 27, 2025
e61e11e
fix: remove unnecessary files
eduard-balamatiuc May 27, 2025
2550453
fix: remove unecessary files from wrong folder
eduard-balamatiuc May 27, 2025
0904819
feat: add chapter 4 content
eduard-balamatiuc May 27, 2025
6f98827
fix: solve formatting
eduard-balamatiuc May 27, 2025
e5722ca
fix: revert deletion of chapter 0
eduard-balamatiuc May 27, 2025
1b93f33
fix: solve gitignore diff
eduard-balamatiuc May 27, 2025
0cea075
fix: solve bad folder structure
eduard-balamatiuc May 27, 2025
7e95b1f
feat: add content for chapter 5
eduard-balamatiuc May 27, 2025
16a2692
fix: revert missing line
eduard-balamatiuc May 27, 2025
9ebc1a0
fix: add missing link
eduard-balamatiuc May 27, 2025
c312f44
fix: solve typos in files 3 4 6
eduard-balamatiuc May 27, 2025
219c04d
fix: internal server error request to file 3 chapter4
eduard-balamatiuc May 27, 2025
092e1cc
fix: solve make style issue
eduard-balamatiuc May 27, 2025
827ac06
fix: remove unnecessary changes
eduard-balamatiuc May 27, 2025
c117018
feat: add translated content for chapter 6
eduard-balamatiuc May 27, 2025
d483391
fix: remove unnecessary content
eduard-balamatiuc May 27, 2025
c4efd99
feat: add content for chapter7
eduard-balamatiuc May 27, 2025
70c2d7d
feat: add translated content for chapter8
eduard-balamatiuc May 29, 2025
6a2e1f5
feat: add chapter 9 transalted content for rum folder
eduard-balamatiuc May 29, 2025
d44c2fd
fix: solve all PR threads recommendations
eduard-balamatiuc Jun 3, 2025
6da5dde
fix: solve chapter3 romanian translation file 6 formatting issues
eduard-balamatiuc Jun 3, 2025
dc3c3d2
fix: resolve all thread suggestions from chapter 4 romanian translation
eduard-balamatiuc Jun 3, 2025
4be802f
fix: solve typo in romanian spelling chapter 4 file 4
eduard-balamatiuc Jun 3, 2025
6f50a71
feat: add Angroys as one of the contributors to this chapters transla…
eduard-balamatiuc Jun 3, 2025
39e6d0a
fix: resolve all threads and solve all mistakes found in romanian tra…
eduard-balamatiuc Jun 3, 2025
a836cf0
fix: address all threads and grammatical errors in the romanian trans…
eduard-balamatiuc Jun 3, 2025
0829b0d
Merge branch 'main' into translation-chapter-3
eduard-balamatiuc Jun 3, 2025
baa99ea
Merge branch 'translation-chapter-3' into translation-chapter-4
eduard-balamatiuc Jun 3, 2025
e82e833
Merge branch 'translation-chapter-4' into translation-chapter-5
eduard-balamatiuc Jun 3, 2025
bb0aeac
Merge branch 'translation-chapter-5' into translation-chapter-6
eduard-balamatiuc Jun 3, 2025
3f8f37d
fix: resolve all conflicts from threads and solve grammatical issues …
eduard-balamatiuc Jun 3, 2025
3a3bb89
Merge branch 'translation-chapter-6' into translation-chapter-7
eduard-balamatiuc Jun 3, 2025
23dfc67
fix: solve all translation issues and threads on chapter8 romanian tr…
eduard-balamatiuc Jun 4, 2025
7f85e2b
feat: Merge branch 'translation-chapter-7' into translation-chapter-8
eduard-balamatiuc Jun 4, 2025
b1f958d
fix: solve all threads and grmmatical issues on romanian translation …
eduard-balamatiuc Jun 4, 2025
2b808ce
fix: Merge branch 'translation-chapter-8' into translation-chapter-9
eduard-balamatiuc Jun 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This repo contains the content that's used to create the **[Hugging Face course]
| [Vietnamese](https://huggingface.co/course/vi/chapter1/1) | [`chapters/vi`](https://github.com/huggingface/course/tree/main/chapters/vi) | [@honghanhh](https://github.com/honghanhh) |
| [Chinese (simplified)](https://huggingface.co/course/zh-CN/chapter1/1) | [`chapters/zh-CN`](https://github.com/huggingface/course/tree/main/chapters/zh-CN) | [@zhlhyx](https://github.com/zhlhyx), [petrichor1122](https://github.com/petrichor1122), [@1375626371](https://github.com/1375626371) |
| [Chinese (traditional)](https://huggingface.co/course/zh-TW/chapter1/1) (WIP) | [`chapters/zh-TW`](https://github.com/huggingface/course/tree/main/chapters/zh-TW) | [@davidpeng86](https://github.com/davidpeng86) |
| [Romanian](https://huggingface.co/course/rum/chapter1/1) (WIP) | [`chapters/rum`](https://github.com/huggingface/course/tree/main/chapters/rum) | [@Sigmoid](https://github.com/SigmoidAI), [@eduard-balamatiuc](https://github.com/eduard-balamatiuc), [@FriptuLudmila](https://github.com/FriptuLudmila), [@tokyo-s](https://github.com/tokyo-s), [@hbkdesign](https://github.com/hbkdesign), [@grumpycatyo-collab](https://github.com/grumpycatyo-collab) |
| [Romanian](https://huggingface.co/course/rum/chapter1/1) (WIP) | [`chapters/rum`](https://github.com/huggingface/course/tree/main/chapters/rum) | [@Sigmoid](https://github.com/SigmoidAI), [@eduard-balamatiuc](https://github.com/eduard-balamatiuc), [@FriptuLudmila](https://github.com/FriptuLudmila), [@tokyo-s](https://github.com/tokyo-s), [@hbkdesign](https://github.com/hbkdesign), [@grumpycatyo-collab](https://github.com/grumpycatyo-collab), [@Angroys](https://github.com/Angroys) |

### Translating the course into your language

Expand Down
144 changes: 144 additions & 0 deletions chapters/rum/_toctree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,147 @@
- local: chapter2/9
title: Quiz la final de capitol
quiz: 2

- title: 3. Fine-tuning unui model preantrenat
sections:
- local: chapter3/1
title: Introducere
- local: chapter3/2
title: Procesarea datelor
- local: chapter3/3
title: Fine-tuningul unui model cu Trainer API sau Keras
local_fw: { pt: chapter3/3, tf: chapter3/3_tf }
- local: chapter3/4
title: Un antrenament complet
- local: chapter3/5
title: Fine-tuning, verificare!
- local: chapter3/6
title: Quiz la final de capitol
quiz: 3

- title: 4. Partajarea modelelor și a tokenizatoarelor
sections:
- local: chapter4/1
title: Platforma Hugging Face Hub
- local: chapter4/2
title: Utilizarea modelelor preantrenate
- local: chapter4/3
title: Partajarea modelelor preantrenate
- local: chapter4/4
title: Crearea unui card de model
- local: chapter4/5
title: Partea 1 este completă
- local: chapter4/6
title: Quiz la final de capitol
quiz: 4

- title: 5. Biblioteca 🤗 Datasets
sections:
- local: chapter5/1
title: Introducere
- local: chapter5/2
title: Ce fac dacă dataset-ul meu nu este pe Hub?
- local: chapter5/3
title: E timpul să tăiem și să analizăm datele
- local: chapter5/4
title: Big data? 🤗 Datasets vine în ajutor!
- local: chapter5/5
title: Creează propriul tău dataset
- local: chapter5/6
title: Căutare semantică cu FAISS
- local: chapter5/7
title: 🤗 Datasets, verificare!
- local: chapter5/8
title: Quiz de final de capitol
quiz: 5

- title: 6. Biblioteca 🤗 Tokenizers
sections:
- local: chapter6/1
title: Introducere
- local: chapter6/2
title: Antrenarea unui nou tokenizer dintr-unul vechi
- local: chapter6/3
title: Superputerile tokenizerilor rapizi
- local: chapter6/3b
title: Tokenizerii rapizi în pipeline-ul de QA
- local: chapter6/4
title: Normalizare și pre-tokenizare
- local: chapter6/5
title: Tokenizare Byte-Pair Encoding
- local: chapter6/6
title: Tokenizare WordPiece
- local: chapter6/7
title: Tokenizare Unigram
- local: chapter6/8
title: Construirea unui tokenizer, bloc cu bloc
- local: chapter6/9
title: Tokenizeri, verificare!
- local: chapter6/10
title: Quiz de sfârșit de capitol
quiz: 6

- title: 7. Sarcini clasice NLP
sections:
- local: chapter7/1
title: Introducere
- local: chapter7/2
title: Clasificarea tokenilor
- local: chapter7/3
title: Fine-tuningul unui model de limbaj mascat
- local: chapter7/4
title: Traducere
- local: chapter7/5
title: Sumarizare
- local: chapter7/6
title: Antrenarea de la zero a unui model de limbaj cauzal
- local: chapter7/7
title: Răspuns la întrebări
- local: chapter7/8
title: Înțelegerea LLM-urilor
- local: chapter7/9
title: Quiz de sfârșit de capitol
quiz: 7

- title: 8. Cum să ceri ajutor
sections:
- local: chapter8/1
title: Introducere
- local: chapter8/2
title: Ce să faci când primești o eroare
- local: chapter8/3
title: Cum să ceri ajutor pe forumuri
- local: chapter8/4
title: Debugging-ul pipeline-ului de antrenament
local_fw: { pt: chapter8/4, tf: chapter8/4_tf }
- local: chapter8/5
title: Cum să scrii un issue bun
- local: chapter8/6
title: Partea 2 completă!
- local: chapter8/7
title: Quiz de sfârșit de capitol
quiz: 8

- title: 9. Construirea și partajarea demo-urilor
subtitle: Am antrenat un model, dar cum îl pot prezenta?
sections:
- local: chapter9/1
title: Introducere în Gradio
- local: chapter9/2
title: Construirea primului tău demo
- local: chapter9/3
title: Înțelegerea clasei Interface
- local: chapter9/4
title: Partajarea demo-urilor cu alții
- local: chapter9/5
title: Integrări cu Hugging Face Hub
- local: chapter9/6
title: Caracteristici avansate ale Interface
- local: chapter9/7
title: Introducere în Gradio Blocks
- local: chapter9/8
title: Gradio, verificat!
- local: chapter9/9
title: Quiz de final de capitol
quiz: 9

26 changes: 26 additions & 0 deletions chapters/rum/chapter3/1.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<FrameworkSwitchCourse {fw} />

# Introducere[[introducere]]

<CourseFloatingBanner
chapter={3}
classNames="absolute z-10 right-0 top-0"
/>

În [Capitolul 2](/course/chapter2) am explorat modul de utilizare a tokenizerelor și a modelelor preantrenate pentru a efectua predicții. Dar ce se întâmplă dacă doriți să ajustați un model preantrenat pentru propriul dvs. set de date? Iată subiectul acestui capitol! Veți învăța:

{#if fw === 'pt'}
* Cum să configurați un set mare de date din Hub
* Cum să utilizați API-ul `Trainer` pentru a ajusta un model
* Cum să utilizați o buclă de instruire personalizată
* Cum să profitați de biblioteca Accelerate 🤗 pentru a rula cu ușurință bucla de instruire personalizată pe orice configurație distribuită

{:else}
* Cum să configurați un set mare de date din Hub
* Cum să utilizați Keras pentru a ajusta un model
* Cum să utilizați Keras pentru a obține predicții
* Cum să utilizați o măsură personalizată

{/if}

Pentru a încărca checkpoint-urile antrenate în Hugging Face Hub, veți avea nevoie de un cont huggingface.co: [creați un cont](https://huggingface.co/join)
Loading