noamaanMulla-03/transformers-issues huggingface dataset:
Fix regression on `Processor.save_pretrained` caused by #31691
Author: leloykun
Pull request: yes

# What does this PR do?

Fix regression on `Processor.save_pretrained` caused by https://github.com/huggingface/transformers/pull/31691

tl;dr: a month ago, we made a change that removed `"chat_template"` from `processor_dict` when saving a processor. This caused `processor_config.json` to not get saved at all. See:

```python
processor_dict = self.to_dict()
chat_template = processor_dict.pop("chat_template", None)
if chat_template is not None:
    chat_template_json_string = json.dumps({"chat_template": chat_template}, indent=2, sort_keys=True) + "\n"
    with open(output_chat_template_file, "w", encoding="utf-8") as writer:
        writer.write(chat_template_json_string)
    logger.info(f"chat template saved in {output_chat_template_file}")

# For now, let's not save to `processor_config.json` if the processor doesn't have extra attributes and
# `auto_map` is not specified.
if set(processor_dict.keys()) != {"processor_class"}:
    self.to_json_file(output_processor_file)
    logger.info(f"processor saved in {output_processor_file}")
```

but we kept these lines as is:

```python
if set(self.to_dict().keys()) == {"processor_class"}:
    return []
return [output_processor_file]
```

So, for a month now, we've not been saving `processor_config.json` but still returning `[processor_config.json]` as the saved files. This has caused a test in my other PR (https://github.com/huggingface/transformers/pull/32906) to fail

## Who can review?

@amyeroberts @zucchini-nlp

Comments:
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_32921). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

I guess that had a tests, but it wasn't triggered when the prev PR was merged. I ran only VLMs when merging the prev PR...

Okay, merging and patching!
🌐 [i18n-KO] Translated `knowledge_distillation_for_image_classification.md to Korean" 
Author: JinukHong
Pull request: yes

<!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.md` to Korean" 으로 부탁드립니다 -->
# What does this PR do?

Translated the `knowledge_distillation_for_image_classification.md` file of the documentation to Korean.
Thank you in advance for your review. 

Part of https://github.com/huggingface/transformers/issues/20179

## Before reviewing
- [x] Check for missing / redundant translations (번역 누락/중복 검사)
- [x] Grammar Check (맞춤법 검사)
- [x] Review or Add new terms to glossary (용어 확인 및 추가)
- [x] Check Inline TOC (e.g. `[[lowercased-header]]`)
- [x] Check live-preview for gotchas (live-preview로 정상작동 확인)

## Who can review? (Initial)

<!-- 1. 위 체크가 모두 완료된 뒤에만 N조 팀원들에게 리뷰 요청하는 아래 주석을 노출해주세요! 차례대로 1 ~ 5조 -->
<!-- May you please review this PR? -->
<!-- @jun048098, @yijun-lee, @mreraser, @shinhyunji36, @heuristicwave -->
<!-- @win2dvp21, @enchantee00, @fabxoe, @1kmmk1, @junejae -->
<!-- @SeungAhSon, @Jwaminju, @thsamajiki, @4N3MONE, @jungnerd -->
@mjk0618, @cjfghk5697, @ahnjj, @JinukHong, @nuatmochoi 
<!-- @010kim, @chhaewxn, @boyunJang, @jeongiin, @harheem -->

## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests),
      Pull Request section?
- [ ] Was this discussed/approved via a Github issue or the [forum](https://discuss.huggingface.co/)? Please add a link
      to it if that's the case.
- [x] Did you make sure to update the documentation with your changes? Here are the
      [documentation guidelines](https://github.com/huggingface/transformers/tree/main/docs), and
      [here are tips on formatting docstrings](https://github.com/huggingface/transformers/tree/main/docs#writing-source-documentation).
- [ ] Did you write any new necessary tests?

## Who can review? (Final)

<!-- 2. N조 팀원들과 리뷰가 끝난 후에 아래 주석을 노출해주세요! -->
@stevhliu May you please review this PR?


Comments:
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_32334). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
Request to remove hard dependencies that require CUDA and OpenAI python packages to be downloaded.
Author: chaudhariatul
Pull request: no
Labels: name: Feature request

### Feature request

Request to remove hard dependencies that require CUDA and OpenAI python packages to be downloaded.

### Motivation

Many python packages default to use CUDA and OpenAI and so when developing with non CUDA devices and using different embedding models there are large number of dependencies downloaded.

A docker image created with these requirements often uses upto 9GB and a local python environment uses 5GB or more.


### A reduce storage footprint will allow the following:

1. Small size docker images 
2. Faster downloads and reduce bandwidth usage when downloading images and packages
3. Enable faster deployments
4. Vulnerabilities and security risks are reduced with not including packages that are not required

### Your contribution

I'll test a combination of packages that can help reduce storage footprint.

Comments:
Hi @chaudhariatul, thanks for opening a feature request! 

Could you provide some more context about the packages being downloaded which you think shouldn't be? If one runs `pip install transformers` I don't think there's any specific CUDA or OpenAI packages that should be installed 

Hi @amyeroberts, thanks for a quick response!

This is noticed when I pin the package versions as in this example when using these packages to create a docker image for x86 systems:

This seems to be related to the dependencies for `sentence-transformers`


```
llama-index-embeddings-huggingface==0.2.2
llama-index-llms-ollama==0.2.2
ollama==0.3.1
pypdf==4.3.1
requests==2.32.3
sentence-transformers==3.0.1
streamlit==1.37.1
transformers==4.44.0
xformers==0.0.27.post2
```

Linking this request here : https://github.com/run-llama/llama_index/issues/15526

---

`$ pip install sentence-transformers`

```
...
output clipped
...
Successfully installed MarkupSafe-2.1.5 Pillow-10.4.0 certifi-2024.7.4 charset-normalizer-3.3.2 filelock-3.15.4 fsspec-2024.6.1 huggingface-hub-0.24.6 idna-3.7 jinja2-3.1.4 joblib-1.4.2 mpmath-1.3.0 networkx-3.3 numpy-2.1.0 nvidia-cublas-cu12-12.1.3.1 nvidia-cuda-cupti-cu12-12.1.105 nvidia-cuda-nvrtc-cu12-12.1.105 nvidia-cuda-runtime-cu12-12.1.105 nvidia-cudnn-cu12-9.1.0.70 nvidia-cufft-cu12-11.0.2.54 nvidia-curand-cu12-10.3.2.106 nvidia-cusolver-cu12-11.4.5.107 nvidia-cusparse-cu12-12.1.0.106 nvidia-nccl-cu12-2.20.5 nvidia-nvjitlink-cu12-12.6.20 nvidia-nvtx-cu12-12.1.105 packaging-24.1 pyyaml-6.0.2 regex-2024.7.24 requests-2.32.3 safetensors-0.4.4 scikit-learn-1.5.1 scipy-1.14.1 sentence-transformers-3.0.1 sympy-1.13.2 threadpoolctl-3.5.0 tokenizers-0.19.1 torch-2.4.0 tqdm-4.66.5 transformers-4.44.2 triton-3.0.0 typing-extensions-4.12.2 urllib3-2.2.2
```



@chaudhariatul I'd suggest opening a feature request in sentence-transformers in this case 

Closing this request. Thanks for quick responses!
Generate: Deprecate returning legacy cache by default; Handle `use_cache=False`
Author: gante
Pull request: yes

# What does this PR do?

Another step towards using `Cache` everywhere 💪 

This PR makes the following [`Cache`+`generate`]-related changes:
1. Don't initialize a cache when `use_cache=False` (fixes #32843 )
2. `generate` tests now explicitly pass `use_cache`, instead of setting it in `model.config` 🤢 We were relying on a LOT of side effects, and missing the incorrect case mentioned in #32843 
3. Add sanity-checks on cache-related parameters, in `generation_config`
4. Add a deprecation cycle on the default cache return type, so we start returning a `Cache` instance by default on `generate`
5. Isolate all cache initialization logic in `generate` into a single function, and reorganize the logic by blocks

Comments:
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_32863). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
[i18n-ar] Add File : `docs/source/ar/main_classes/trainer.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/main_classes/trainer.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_main_classes_trainer.md/docs/source/ar/main_classes/trainer.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/main_classes/tokenizer.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/main_classes/tokenizer.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_main_classes_tokenizer.md/docs/source/ar/main_classes/tokenizer.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/main_classes/text_generation.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/main_classes/text_generation.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_main_classes_text_generation.md/docs/source/ar/main_classes/text_generation.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/main_classes/quantization.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/main_classes/quantization.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_main_classes_quantization.md/docs/source/ar/main_classes/quantization.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/main_classes/processors.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/main_classes/processors.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_main_classes_processors.md/docs/source/ar/main_classes/processors.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/main_classes/pipelines.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/main_classes/pipelines.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_main_classes_pipelines.md/docs/source/ar/main_classes/pipelines.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/main_classes/output.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/main_classes/output.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_main_classes_output.md/docs/source/ar/main_classes/output.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/main_classes/optimizer_schedules.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/main_classes/optimizer_schedules.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_main_classes_optimizer_schedules.md/docs/source/ar/main_classes/optimizer_schedules.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/main_classes/onnx.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/main_classes/onnx.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_main_classes_onnx.md/docs/source/ar/main_classes/onnx.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/main_classes/model.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/main_classes/model.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_main_classes_model.md/docs/source/ar/main_classes/model.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/main_classes/logging.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/main_classes/logging.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_main_classes_logging.md/docs/source/ar/main_classes/logging.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/main_classes/image_processor.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/main_classes/image_processor.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_main_classes_image_processor.md/docs/source/ar/main_classes/image_processor.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/main_classes/feature_extractor.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/main_classes/feature_extractor.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_main_classes_feature_extractor.md/docs/source/ar/main_classes/feature_extractor.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/main_classes/deepspeed.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/main_classes/deepspeed.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_main_classes_deepspeed.md/docs/source/ar/main_classes/deepspeed.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/main_classes/data_collator.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/main_classes/data_collator.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_main_classes_data_collator.md/docs/source/ar/main_classes/data_collator.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/visual_question_answering.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/visual_question_answering.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_visual_question_answering.md/docs/source/ar/tasks/visual_question_answering.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/video_classification.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/video_classification.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_video_classification.md/docs/source/ar/tasks/video_classification.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/translation.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/translation.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_translation.md/docs/source/ar/tasks/translation.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/token_classification.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/token_classification.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_token_classification.md/docs/source/ar/tasks/token_classification.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/summarization.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/summarization.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_summarization.md/docs/source/ar/tasks/summarization.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/sequence_classification.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/sequence_classification.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_sequence_classification.md/docs/source/ar/tasks/sequence_classification.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/semantic_segmentation.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/semantic_segmentation.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_semantic_segmentation.md/docs/source/ar/tasks/semantic_segmentation.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/question_answering.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/question_answering.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_question_answering.md/docs/source/ar/tasks/question_answering.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/prompting.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/prompting.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_prompting.md/docs/source/ar/tasks/prompting.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/object_detection.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/object_detection.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_object_detection.md/docs/source/ar/tasks/object_detection.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/zero_shot_object_detection.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/zero_shot_object_detection.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_zero_shot_object_detection.md/docs/source/ar/tasks/zero_shot_object_detection.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/image_classification.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/image_classification.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_image_classification.md/docs/source/ar/tasks/image_classification.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/image_feature_extraction.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/image_feature_extraction.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_image_feature_extraction.md/docs/source/ar/tasks/image_feature_extraction.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/text-to-speech.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/text-to-speech.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_text-to-speech.md/docs/source/ar/tasks/text-to-speech.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/language_modeling.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/language_modeling.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_language_modeling.md/docs/source/ar/tasks/language_modeling.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/mask_generation.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/mask_generation.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_mask_generation.md/docs/source/ar/tasks/mask_generation.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/multiple_choice.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/multiple_choice.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_multiple_choice.md/docs/source/ar/tasks/multiple_choice.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/monocular_depth_estimation.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/monocular_depth_estimation.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_monocular_depth_estimation.md/docs/source/ar/tasks/monocular_depth_estimation.md) 

Comments:
[i18n-ar] Add File : `docs/source/ar/tasks/masked_language_modeling.md` 
Author: AhmedAlmaghz
Pull request: yes

 # What does this PR do? 
 Translate docs into Arabic issue-number #32435 
 @stevhliu , @MKhalusova , @abodacs 
 This pull request contains changes [**for file : docs/source/ar/tasks/masked_language_modeling.md**](https://github.com/AhmedAlmaghz/transformers/blob/Add_docs_source_ar_tasks_masked_language_modeling.md/docs/source/ar/tasks/masked_language_modeling.md) 

Comments: