Skip to content

Commit

Permalink
Translate en/tasks folder docs to Japanese 🇯🇵 (#27098)
Browse files Browse the repository at this point in the history
* Create asr.md

* Create audio_classification.md

* Create document_question_answering.md

* Update document_question_answering.md

* add

* add

* ggg

* gg

* add masked_language_modeling.md

* add monocular_depth estimation

* new

* dd

* add

* add

* cl

* add

* Add Traslation.md

* hgf

* Added docs to Toctree file

* Update docs/source/ja/tasks/asr.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/asr.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/image_classification.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/idefics.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/image_captioning.md

Co-authored-by: Steven Liu <[email protected]>

* Fix docs and revert changes

* Update docs/source/en/tasks/idefics.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/language_modeling.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/language_modeling.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/language_modeling.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/prompting.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/masked_language_modeling.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/masked_language_modeling.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/prompting.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/object_detection.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/semantic_segmentation.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/semantic_segmentation.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/token_classification.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/translation.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/visual_question_answering.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/summarization.md

Co-authored-by: Steven Liu <[email protected]>

* changes in review 1 and 2

* add

* Update docs/source/ja/tasks/asr.md

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/tasks/translation.md

Co-authored-by: Steven Liu <[email protected]>

* changes

* Update docs/source/ja/_toctree.yml

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/_toctree.yml

Co-authored-by: Steven Liu <[email protected]>

* Update docs/source/ja/_toctree.yml

Co-authored-by: Steven Liu <[email protected]>

* Update _toctree.yml

---------

Co-authored-by: Steven Liu <[email protected]>
  • Loading branch information
rajveer43 and stevhliu authored Dec 4, 2023
1 parent a502b0d commit 235e5d4
Show file tree
Hide file tree
Showing 29 changed files with 10,488 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docs/source/en/tasks/idefics.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ on the fly while loading.
Now that you have the model loaded in one of the suggested ways, let's move on to exploring tasks that you can use IDEFICS for.

## Image captioning

Image captioning is the task of predicting a caption for a given image. A common application is to aid visually impaired
people navigate through different situations, for instance, explore image content online.

Expand Down Expand Up @@ -229,7 +228,7 @@ Let's get a new image for this task:
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/idefics-vqa.jpg" alt="Image of a couple having a picnic"/>
</div>

Photo by [Jarritos Mexican Soda](https://unsplash.com/@jarritos).
Photo by [Jarritos Mexican Soda](https://unsplash.com/@jarritos).

You can steer the model from image captioning to visual question answering by prompting it with appropriate instructions:

Expand Down
2 changes: 2 additions & 0 deletions docs/source/en/tasks/summarization.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,15 @@ Now create a batch of examples using [`DataCollatorForSeq2Seq`]. It's more effic

<frameworkcontent>
<pt>

```py
>>> from transformers import DataCollatorForSeq2Seq

>>> data_collator = DataCollatorForSeq2Seq(tokenizer=tokenizer, model=checkpoint)
```
</pt>
<tf>

```py
>>> from transformers import DataCollatorForSeq2Seq

Expand Down
2 changes: 1 addition & 1 deletion docs/source/en/tasks/translation.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ At this point, only three steps remain:
... )

>>> trainer.train()
````
```

Once training is completed, share your model to the Hub with the [`~transformers.Trainer.push_to_hub`] method so everyone can use your model:

Expand Down
67 changes: 66 additions & 1 deletion docs/source/ja/_toctree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,76 @@
title: LLM を使用した生成
title: Tutorials
- sections:
- isExpanded: false
sections:
- local: tasks/sequence_classification
title: テキストの分類
- local: tasks/token_classification
title: トークンの分類
- local: tasks/question_answering
title: 質疑応答
- local: tasks/language_modeling
title: 因果言語モデリング
- local: tasks/masked_language_modeling
title: マスクされた言語モデリング
- local: tasks/translation
title: 翻訳
- local: tasks/summarization
title: 要約
- local: tasks/multiple_choice
title: 複数の選択肢
title: 自然言語処理
- isExpanded: false
sections:
- local: tasks/audio_classification
title: 音声の分類
- local: tasks/asr
title: 自動音声認識
title: オーディオ
- isExpanded: false
sections:
- local: tasks/image_classification
title: 画像分類
- local: tasks/semantic_segmentation
title: セマンティックセグメンテーション
- local: tasks/video_classification
title: ビデオの分類
- local: tasks/object_detection
title: 物体検出
- local: tasks/zero_shot_object_detection
title: ゼロショット物体検出
- local: tasks/zero_shot_image_classification
title: ゼロショット画像分類
- local: tasks/monocular_depth_estimation
title: 深さの推定
- local: tasks/image_to_image
title: 画像から画像へ
- local: tasks/knowledge_distillation_for_image_classification
title: コンピュータビジョンのための知識の蒸留
title: コンピュータビジョン
- isExpanded: false
sections:
- local: tasks/image_captioning
title: 画像のキャプション
- local: tasks/document_question_answering
title: 文書の質問への回答
- local: tasks/visual_question_answering
title: 視覚的な質問への回答
- local: tasks/text-to-speech
title: テキスト読み上げ
title: マルチモーダル
- isExpanded: false
sections:
- local: generation_strategies
title: 生成戦略をカスタマイズする
title: Generation
title: 世代
- isExpanded: false
sections:
- local: tasks/idefics
title: IDEFICS を使用したイメージ タスク
- local: tasks/prompting
title: LLM プロンプト ガイド
title: プロンプト
title: Task Guides
- sections:
- local: fast_tokenizers
Expand Down
Loading

0 comments on commit 235e5d4

Please sign in to comment.