Repository navigation
Description
Hi there 👋
Let's translate the course to Persian so that the whole community can benefit from this resource 🌎!
Before you get started please take a minute to read the latest version of our evolving translation guidelines (T). It is important that we maintain a common tone in our collective work, while contributing with our separate creative voices.
We have a glossary page (G) where we store our latest choice of Persian equivalents for words. This page may be subject to change with every PR and its review discussion. If there are changes, we will mention here that the glossary file has been updated. We need to retroactively apply the changes to our sections.
Check here for general instructions on contributing.
Here's the workflow for contributions:
- Please fork the Hugging Face course to your profile.
- Clone your fork to your local machine.
- Use this issue page for general discussion on word choices and whatnot.
- Fetch frequently from upstream to your fork and keep your local working tree updated.
- It is perfectly fine to link to your fork on this page for discussions.
- When you have the first draft of a page(s) done commit back to your fork and open a PR for that page(s) on the Hugging Face course repo.
(Huggingface course/main branch <- Your fork/main or whatever branch you have) - Ask someone to help you review the page(s) there. Commit the changes back to your fork and they will automatically be appended to the PR.
- If you have updates to the glossary try to include the stakeholders in the discussion(check commit history) and when done mention the changes on this page so we can all apply the changes retroactively to our sections.
- When done with the review, ask @lewtun to merge.
Below are the chapters and files that need translating - let us know here if you'd like to translate any and we'll add your name to the list. Once you're finished, open a pull request and tag this issue by including #issue-number in the description, where issue-number is the number of this issue.
🙋 If you'd like others to help you with the translation, you can also post in our forums or tag @_lewtun on Twitter to gain some visibility.
Chapters
0 - Setup
1 - Transformer models
2 - Using 🤗 Transformers
-
1.mdx@jowharshamshiri -
2.mdx@jowharshamshiri -
3.mdx@jowharshamshiri -
4.mdxWIP @jowharshamshiri -
5.mdx -
6.mdx -
7.mdx -
8.mdx
3 - Fine-tuning a pretrained model
4 - Sharing models and tokenizers
5 - The 🤗 Datasets library
6 - The 🤗 Tokenizers library
7 - Main NLP tasks
8 - How to ask for help
Events
Activity
schoobani commentedon Mar 29, 2022
Hey, I would like to help on the project and translate the chapter 1.
I will do my best to finalise it until the end of April.
schoobani commentedon Mar 29, 2022
@jowharshamshiri per, fas and fa can be language codes for persian. I suggest using fa.
jowharshamshiri commentedon Mar 29, 2022
schoobani commentedon Mar 29, 2022
I am also delighted to contribute.
I forked and added the fa directory and the
_toctree.ymlfile. you can track my updates in here:https://github.com/schoobani/course/tree/main/chapters/fa
jowharshamshiri commentedon Mar 29, 2022
lewtun commentedon Mar 30, 2022
Hi @schoobani and @jowharshamshiri thank you so much for this initiative and for offering to help! I've added your name @schoobani to the Chapter 1 list. In case it's easier, you don't have to translate the whole chapter in one go - feel free to just add the sections as you work through them!
jowharshamshiri commentedon Mar 30, 2022
@schoobani I propose we use this Persian style guide to ensure uniform style across all of our work. Looks intimidating but has has a lot of whitespace and is the best I could find. You don't need to read it, just refer to it for common Persian writing guidelines like prefixes and suffixes and spacing and such.
https://apll.ir/wp-content/uploads/2018/10/D-1394.pdf
jowharshamshiri commentedon Mar 30, 2022
@schoobani I propose that in Persian text we replace the use of the Huggingface emoji with the transliteration of the word 'Huggingface' in Persian(هاگینگفیس). What do you think? Emoji's don't lend themselves easily to Persian text. @lewtun I don't know if that is against Huggingface policy, love to hear your thoughts on this.
jowharshamshiri commentedon Mar 31, 2022
@lewtun I added my own name to the Chapter 2 list.
lewtun commentedon Mar 31, 2022
Thanks for raising this interesting point! If emoji's aren't a good fit for Persian then I think it's perfectly fine to transliterate "Hugging Face" or "Huggingface" if the latter is easier :)
lewtun commentedon Apr 1, 2022
Hello @schoobani has a nice PR here: #71
Would a Persian speaker here be willing to have a quick review as I unfortunately don't speak Farsi 🙈 ?
schoobani commentedon Apr 1, 2022
@jowharshamshiri I think using the emoji 🤗 is compatible with the Persian text. Personally for me, seeing the emoji in documents indicates a relation with huggingface features. We can decide about it after finalizing the translations.
jowharshamshiri commentedon Apr 2, 2022
I think we should make these choices as soon as possible, to minimize editing at the end. This one seems like a simple replace, but there will be so many little details like it that when taken together, will make for a quality translation and let us avoid a lot of unnecessary headache. That being said, these are my reasons for transliteration:
Happy to hear your thoughts on this. :)
jowharshamshiri commentedon Apr 2, 2022
I went with 'Huggingface'(one word) to demonstrate our use of a half-space in Persian transliteration to you. The English is ofc Hugging Face(two words) but when transliterated to Persian, this is one semantic unit and a loan word that we are introducing to Persian, which is reflected in the half-space. You don't expect people to use each transliterated word elsewhere in Persian on its own. :)
44 remaining items
hamedonline commentedon Apr 26, 2022
Thank you dear @kambizG for your suggestions.
I think the addition of "موقت" term to cache translation makes total sense and both "انبار موقت" and "ذخیرهسازی موقت" sound good to me. We may consider adding them both to glossary and use either one according to the vibe of translated sentence.
I'd also like to mention addition of a PR for a chapter4/page2 translation (as seen in above link). There are couple of proposals for glossary terms which I'll list again here for your valuable reviews (open to modify per your proposals):
Modification proposals:
New addition proposals:
Footnotes
Please see this link for more info on this: https://reflectoring.io/upstream-downstream ↩
jowharshamshiri commentedon Apr 27, 2022
I defer to you on what we do with label and cache @kambizG jan.
jowharshamshiri commentedon Apr 27, 2022
Other than "نمونهسازی" I vote with you on all these @hamedonline jan. "ساختن نمونه" works why invent a new word.
I especially love your equivalents for "bias" and "downstream library".
If you add "interface" to G, please use "user interface" to avoid duplication with API interfaces.
jowharshamshiri commentedon May 17, 2022
Folks, @schoobani jan and @hamedonline jan, please join the discord.
Easier to coordinate over there as me and @kambizG jan found out. We solved git issues over DM and I can't wait for us to hold a discussion over the equivalent for the word "padding" in main. The conversations there are more immediate and it's easier to clear up ambiguities in a timely manner like who is exactly reviewing my last PR now. Github really lacks DMs. We're waiting for you over there! ❤️❤️❤️
schoobani commentedon May 18, 2022
@jowharshamshiri It's perfect to use Discord but the Invite link is Invalid and I can't access it.
jowharshamshiri commentedon May 18, 2022
maybe try again? @hamedonline jan just joined with the same link. What do you mean invalid? does it take you to discord? if it does you need to react with an emoji to the message in the channel it takes you to, and wait a little for the admins to add you to our special channel.
schoobani commentedon May 18, 2022
jowharshamshiri commentedon May 18, 2022
Weird! Gently pinging @lewtun on this.
hamedonline commentedon May 18, 2022
@jowharshamshiri I got the same invalid invitation message yesterday. Have you already joined huggingface discord channel dear @schoobani?
If so, all you need to do is to go to course section and click on 🤗 earth emoji on #course-translations topic; after clicking that all sub-topics become activated and you can join conversations on #persian-translations.
jowharshamshiri commentedon May 18, 2022
I tap on the link and it takes me to the channel on discord but that might be bc I joined already. Anyways thanks to you for the instructions and I hope this works @schoobani and sorry for the unnecessary ping @lewtun.
jowharshamshiri commentedon May 18, 2022
@schoobani jan here's the Hugging Face Discord link. https://discord.com/invite/JfAtkvEtRb
once there please follow hamed jan's instructions to find our channel.
lewtun commentedon May 18, 2022
Hi folks, sorry the link expired - it seems you've sorted it out and as @jowharshamshiri suggests you can get the latest link via the Hub:
yuzaiakira commentedon Oct 27, 2026
Hi everyone!
I'm working on completing the Persian translation of the Hugging Face Course in my fork.
Currently, 99 of the 104 English MDX course pages have corresponding Persian translations. The remaining five pages are:
chapter1/5.mdxthroughchapter1/8.mdxchapter2/4.mdxI noticed that Chapter 1 sections 5–8 are checked in #773, while Chapter 2 section 4 is marked as WIP for @jowharshamshiri in this issue.
Before translating these pages, I wanted to check whether anyone is still actively working on them or has completed drafts elsewhere.
If they are available for contribution, I would be happy to finish them while respecting the existing Persian glossary and translation guidelines.
I plan to prepare the entire translation in my fork before submitting reviewable PRs to the upstream repository.
Thanks for your guidance!
jowharshamshiri commentedon Oct 27, 2026
yuzaiakira commentedon Oct 28, 2026
@jowharshamshiri
Hi,
I wanted to let you know that I've completed the Persian translation of the Hugging Face Course.
All 104 course pages and 82 video subtitle files now have Persian translations. The documentation build and GitHub Actions checks are also passing.
I've submitted the work in PR #1364:
All existing translations from previous contributors have been preserved without modification. The PR is now open for review.
Thank you for your earlier encouragement and for your contributions to the Persian translation project. I really appreciate your work and support.