Skip to content

Adding Kannada translation files chapter 1#1253

Merged
stevhliu merged 9 commits into
huggingface:mainfrom
Manollas:main
May 13, 2026
Merged

Adding Kannada translation files chapter 1#1253
stevhliu merged 9 commits into
huggingface:mainfrom
Manollas:main

Conversation

@Manollas
Copy link
Copy Markdown
Contributor

This PR adds Kannada(kn) translation for Chapter 0,1,2 of the Hugging Face course.

Translated all sections in chapter0, chapter1, chapter2.
Preserved code blocks and structure
Followed Hugging Face documentation style
Preview tested locally using doc-builder.

cc @lewtun @stevhliu

Open to feedback and improvements. Happy to revise based on review.

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

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.

Copy link
Copy Markdown
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.

thanks!

Comment thread chapters/kn/chapter1/8.mdx Outdated
@@ -0,0 +1,263 @@
# Deep dive into Text Generation Inference with LLMs[[inference-with-llms]]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file needs to be translated still

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have removed this file as of now, i will be adding 8,6 files of chapter 1 in the next PR

Comment thread chapters/kn/_toctree.yml Outdated
- local: chapter1/7
title: ಶ್ರೇಣೀಕರಿಸದ ರಸಪ್ರಶ್ನೆ
- local: chapter1/8
title: Inference with LLMs
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

title is still in english

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have removed this file as of now, i will be adding 8,6 files of chapter 1 in the next PR

Comment thread chapters/kn/chapter1/3.mdx Outdated
```python
from transformers import pipeline

ner = pipeline("ner", grouped_entities=True)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should change grouped_entites to aggregation_strategy="simple"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated to aggregation_strategy="simple"

Comment thread chapters/kn/chapter1/3.mdx Outdated

ಇಲ್ಲಿ ಮಾದರಿಯು ಸಿಲ್ವೈನ್ ಒಬ್ಬ ವ್ಯಕ್ತಿ (PER), ಹಗ್ಗಿಂಗ್ ಫೇಸ್ ಒಂದು ಸಂಸ್ಥೆ (ORG), ಮತ್ತು ಬ್ರೂಕ್ಲಿನ್ ಒಂದು ಸ್ಥಳ (LOC) ಎಂದು ಸರಿಯಾಗಿ ಗುರುತಿಸಿದೆ.

ಪೈಪ್‌ಲೈನ್ ಸೃಷ್ಟಿ ಕಾರ್ಯದಲ್ಲಿ ನಾವು `grouped_entities=True` ಆಯ್ಕೆಯನ್ನು ರವಾನಿಸುತ್ತೇವೆ, ಇದು ಪೈಪ್‌ಲೈನ್‌ಗೆ ಒಂದೇ ಘಟಕಕ್ಕೆ ಅನುಗುಣವಾದ ವಾಕ್ಯದ ಭಾಗಗಳನ್ನು ಮರುಸಂಗ್ರಹಿಸಲು ಹೇಳುತ್ತದೆ: ಇಲ್ಲಿ ಮಾದರಿಯು "ಹಗ್ಗಿಂಗ್" ಮತ್ತು "ಫೇಸ್" ಅನ್ನು ಒಂದೇ ಸಂಘಟನೆಯಾಗಿ ಸರಿಯಾಗಿ ಗುಂಪು ಮಾಡಿದೆ, ಆದರೂ ಹೆಸರು ಬಹು ಪದಗಳನ್ನು ಒಳಗೊಂಡಿದೆ. ವಾಸ್ತವವಾಗಿ, ಮುಂದಿನ ಅಧ್ಯಾಯದಲ್ಲಿ ನಾವು ನೋಡಲಿರುವಂತೆ, ಪೂರ್ವ-ಸಂಸ್ಕರಣೆಯು ಕೆಲವು ಪದಗಳನ್ನು ಸಣ್ಣ ಭಾಗಗಳಾಗಿ ವಿಭಜಿಸುತ್ತದೆ. ಉದಾಹರಣೆಗೆ, `ಸಿಲ್ವೈನ್` ಅನ್ನು ನಾಲ್ಕು ತುಣುಕುಗಳಾಗಿ ವಿಂಗಡಿಸಲಾಗಿದೆ: `S`, `##yl`, `##va`, ಮತ್ತು `##in`. ನಂತರದ ಸಂಸ್ಕರಣಾ ಹಂತದಲ್ಲಿ, ಪೈಪ್‌ಲೈನ್ ಆ ತುಣುಕುಗಳನ್ನು ಯಶಸ್ವಿಯಾಗಿ ಮರುಸಂಘಟಿಸಿತು.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

text about grouped_entites=True should also be updated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated to aggregation_strategy="simple"

Comment thread chapters/kn/chapter1/7.mdx Outdated
```py
from transformers import pipeline

ner = pipeline("ner", grouped_entities=True)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update deprecated param

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated to aggregation_strategy="simple"

Comment thread chapters/kn/chapter1/4.mdx Outdated

## ವಾಸ್ತುಶಿಲ್ಪಗಳು vs. ಚೆಕ್‌ಪಾಯಿಂಟ್‌ಗಳು[[ವಾಸ್ತುಶಿಲ್ಪಗಳು vs. ಚೆಕ್‌ಪಾಯಿಂಟ್‌ಗಳು]]

As we dive into Transformer models in this course, you'll see mentions of *architectures* and *checkpoints* as well as *models*. These terms all have slightly different meanings:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this sentence is untranslated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment thread chapters/kn/chapter1/1.mdx Outdated
- **ಈ ಕೋರ್ಸ್ ತೆಗೆದುಕೊಳ್ಳುವುದರಿಂದ ಪ್ರಮಾಣೀಕರಣ ಸಿಗುತ್ತದೆಯೇ?**
ಪ್ರಸ್ತುತ ಈ ಕೋರ್ಸ್‌ಗೆ ನಮ್ಮಲ್ಲಿ ಯಾವುದೇ ಪ್ರಮಾಣೀಕರಣವಿಲ್ಲ. ಆದಾಗ್ಯೂ, ನಾವು ಹಗ್ಗಿಂಗ್ ಫೇಸ್ ಪರಿಸರ ವ್ಯವಸ್ಥೆಗಾಗಿ ಪ್ರಮಾಣೀಕರಣ ಕಾರ್ಯಕ್ರಮದಲ್ಲಿ ಕೆಲಸ ಮಾಡುತ್ತಿದ್ದೇವೆ -- ನಮ್ಮೊಂದಿಗೆ ಇರಿ!

ಈ ಕೋರ್ಸ್‌ನಲ್ಲಿ ನಾನು ಎಷ್ಟು ಸಮಯವನ್ನು ಕಳೆಯಬೇಕು?**
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ಈ ಕೋರ್ಸ್‌ನಲ್ಲಿ ನಾನು ಎಷ್ಟು ಸಮಯವನ್ನು ಕಳೆಯಬೇಕು?**
- **ಈ ಕೋರ್ಸ್‌ನಲ್ಲಿ ನಾನು ಎಷ್ಟು ಸಮಯವನ್ನು ಕಳೆಯಬೇಕು?**

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commited the change @stevhliu

Copy link
Copy Markdown
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.

lgtm!

@stevhliu stevhliu merged commit 80133b2 into huggingface:main May 13, 2026
2 checks passed
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.

3 participants