Skip to content

Commit

Permalink
🌐 [i18n-KO] Translated convbert.md to Korean (#34599)
Browse files Browse the repository at this point in the history
* docs: ko: convbert.md

* Update _toctree.yml

* feat: nmt draft
  • Loading branch information
ahnjj authored Nov 5, 2024
1 parent e83aaaa commit 7bbc624
Show file tree
Hide file tree
Showing 2 changed files with 137 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/ko/_toctree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,8 @@
title: (λ²ˆμ—­μ€‘) CodeGen
- local: model_doc/cohere
title: Cohere
- local: in_translation
title: (λ²ˆμ—­μ€‘) ConvBERT
- local: model_doc/convbert
title: ConvBERT
- local: in_translation
title: (λ²ˆμ—­μ€‘) CPM
- local: in_translation
Expand Down
135 changes: 135 additions & 0 deletions docs/source/ko/model_doc/convbert.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
<!--Copyright 2020 The HuggingFace Team. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
rendered properly in your Markdown viewer.
-->

# ConvBERT [[convbert]]

<div class="flex flex-wrap space-x-1">
<a href="https://huggingface.co/models?filter=convbert">
<img alt="Models" src="https://img.shields.io/badge/All_model_pages-convbert-blueviolet">
</a>
<a href="https://huggingface.co/spaces/docs-demos/conv-bert-base">
<img alt="Spaces" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue">
</a>
</div>

## κ°œμš” [[overview]]

ConvBERT λͺ¨λΈμ€ Zihang Jiang, Weihao Yu, Daquan Zhou, Yunpeng Chen, Jiashi Feng, Shuicheng Yan에 μ˜ν•΄ μ œμ•ˆλ˜μ—ˆμœΌλ©°, μ œμ•ˆ λ…Όλ¬Έ 제λͺ©μ€ [ConvBERT: Improving BERT with Span-based Dynamic Convolution](https://arxiv.org/abs/2008.02496)μž…λ‹ˆλ‹€.

λ…Όλ¬Έμ˜ μ΄ˆλ‘μ€ λ‹€μŒκ³Ό κ°™μŠ΅λ‹ˆλ‹€:

*BERT와 κ·Έ λ³€ν˜• λͺ¨λΈκ³Ό 같은 사전 ν•™μŠ΅λœ μ–Έμ–΄ λͺ¨λΈλ“€μ€ 졜근 λ‹€μ–‘ν•œ μžμ—°μ–΄ 이해 κ³Όμ œμ—μ„œ λ†€λΌμš΄ μ„±κ³Όλ₯Ό μ΄λ£¨μ—ˆμŠ΅λ‹ˆλ‹€. κ·ΈλŸ¬λ‚˜ BERTλŠ” κΈ€λ‘œλ²Œ μ…€ν”„ μ–΄ν…μ…˜ 블둝에 크게 μ˜μ‘΄ν•˜κΈ° λ•Œλ¬Έμ— λ©”λͺ¨λ¦¬ μ‚¬μš©λŸ‰μ΄ 많고 계산 λΉ„μš©μ΄ ν½λ‹ˆλ‹€. λͺ¨λ“  μ–΄ν…μ…˜ ν—€λ“œκ°€ κΈ€λ‘œλ²Œ κ΄€μ μ—μ„œ μ–΄ν…μ…˜ 맡을 μƒμ„±ν•˜κΈ° μœ„ν•΄ μž…λ ₯ μ‹œν€€μŠ€ 전체λ₯Ό νƒμƒ‰ν•˜μ§€λ§Œ, 일뢀 ν—€λ“œλŠ” 둜컬 μ’…μ†μ„±λ§Œ ν•™μŠ΅ν•  ν•„μš”κ°€ μžˆλ‹€λŠ” 것을 λ°œκ²¬ν–ˆμŠ΅λ‹ˆλ‹€. μ΄λŠ” λΆˆν•„μš”ν•œ 계산이 ν¬ν•¨λ˜μ–΄ μžˆμŒμ„ μ˜λ―Έν•©λ‹ˆλ‹€. λ”°λΌμ„œ μš°λ¦¬λŠ” μ΄λŸ¬ν•œ self-attention ν—€λ“œλ“€μ„ λŒ€μ²΄ν•˜μ—¬ 둜컬 쒅속성을 직접 λͺ¨λΈλ§ν•˜κΈ° μœ„ν•΄ μƒˆλ‘œμš΄ span 기반 동적 μ»¨λ³Όλ£¨μ…˜μ„ μ œμ•ˆν•©λ‹ˆλ‹€. μƒˆλ‘œμš΄ μ»¨λ³Όλ£¨μ…˜ ν—€λ“œμ™€ λ‚˜λ¨Έμ§€ self-attention ν—€λ“œλ“€μ΄ κ²°ν•©ν•˜μ—¬ κΈ€λ‘œλ²Œ 및 둜컬 λ¬Έλ§₯ ν•™μŠ΅μ— 더 효율적인 ν˜Όν•© μ–΄ν…μ…˜ 블둝을 κ΅¬μ„±ν•©λ‹ˆλ‹€. μš°λ¦¬λŠ” BERT에 이 ν˜Όν•© μ–΄ν…μ…˜ 섀계λ₯Ό μ μš©ν•˜μ—¬ ConvBERT λͺ¨λΈμ„ κ΅¬μΆ•ν–ˆμŠ΅λ‹ˆλ‹€. μ‹€ν—˜ κ²°κ³Ό, ConvBERTλŠ” λ‹€μ–‘ν•œ λ‹€μš΄μŠ€νŠΈλ¦Ό κ³Όμ œμ—μ„œ BERT 및 κ·Έ λ³€ν˜• λͺ¨λΈλ³΄λ‹€ 더 μš°μˆ˜ν•œ μ„±λŠ₯을 λ³΄μ˜€μœΌλ©°, ν›ˆλ ¨ λΉ„μš©κ³Ό λͺ¨λΈ νŒŒλΌλ―Έν„° μˆ˜κ°€ 더 μ μ—ˆμŠ΅λ‹ˆλ‹€. 특히 ConvBERTbase λͺ¨λΈμ€ GLUE μŠ€μ½”μ–΄ 86.4λ₯Ό λ‹¬μ„±ν•˜μ—¬ ELECTRAbase보닀 0.7 높은 μ„±κ³Όλ₯Ό 보이며, ν›ˆλ ¨ λΉ„μš©μ€ 1/4 μ΄ν•˜λ‘œ μ€„μ—ˆμŠ΅λ‹ˆλ‹€. μ½”λ“œμ™€ 사전 ν•™μŠ΅λœ λͺ¨λΈμ€ 곡개될 μ˜ˆμ •μž…λ‹ˆλ‹€.*

이 λͺ¨λΈμ€ [abhishek](https://huggingface.co/abhishek)에 μ˜ν•΄ κΈ°μ—¬λ˜μ—ˆμœΌλ©°, 원본 κ΅¬ν˜„μ€ μ—¬κΈ°μ—μ„œ 찾을 수 μžˆμŠ΅λ‹ˆλ‹€ : https://github.com/yitu-opensource/ConvBert



## μ‚¬μš© 팁 [[usage-tips]]
ConvBERT ν›ˆλ ¨ νŒμ€ BERT와 μœ μ‚¬ν•©λ‹ˆλ‹€. μ‚¬μš© νŒμ€ [BERT λ¬Έμ„œ](bert).λ₯Ό μ°Έκ³ ν•˜μ‹­μ‹œμ˜€.


## λ¦¬μ†ŒμŠ€ [[resources]]

- [ν…μŠ€νŠΈ λΆ„λ₯˜ μž‘μ—… κ°€μ΄λ“œ (Text classification task guide)](../tasks/sequence_classification)
- [토큰 λΆ„λ₯˜ μž‘μ—… κ°€μ΄λ“œ (Token classification task guide)](../tasks/token_classification)
- [μ§ˆμ˜μ‘λ‹΅ μž‘μ—… κ°€μ΄λ“œ (Question answering task guide)](../tasks/question_answering)
- [λ§ˆμŠ€ν‚Ήλœ μ–Έμ–΄ λͺ¨λΈλ§ μž‘μ—… κ°€μ΄λ“œ (Masked language modeling task guide)](../tasks/masked_language_modeling)
- [닀쀑 선택 μž‘μ—… κ°€μ΄λ“œ (Multiple choice task guide)](../tasks/multiple_choice)

## ConvBertConfig [[transformers.ConvBertConfig]]

[[autodoc]] ConvBertConfig

## ConvBertTokenizer [[transformers.ConvBertTokenizer]]

[[autodoc]] ConvBertTokenizer
- build_inputs_with_special_tokens
- get_special_tokens_mask
- create_token_type_ids_from_sequences
- save_vocabulary

## ConvBertTokenizerFast [[transformers.ConvBertTokenizerFast]]

[[autodoc]] ConvBertTokenizerFast

<frameworkcontent>
<pt>

## ConvBertModel [[transformers.ConvBertModel]]

[[autodoc]] ConvBertModel
- forward

## ConvBertForMaskedLM [[transformers.ConvBertForMaskedLM]]

[[autodoc]] ConvBertForMaskedLM
- forward

## ConvBertForSequenceClassification [[transformers.ConvBertForSequenceClassification]]

[[autodoc]] ConvBertForSequenceClassification
- forward

## ConvBertForMultipleChoice [[transformers.ConvBertForMultipleChoice]]

[[autodoc]] ConvBertForMultipleChoice
- forward

## ConvBertForTokenClassification [[transformers.ConvBertForTokenClassification]]

[[autodoc]] ConvBertForTokenClassification
- forward

## ConvBertForQuestionAnswering [[transformers.ConvBertForQuestionAnswering]]

[[autodoc]] ConvBertForQuestionAnswering
- forward

</pt>
<tf>

## TFConvBertModel [[transformers.TFConvBertModel]]

[[autodoc]] TFConvBertModel
- call

## TFConvBertForMaskedLM [[transformers.TFConvBertForMaskedLM]]

[[autodoc]] TFConvBertForMaskedLM
- call

## TFConvBertForSequenceClassification [[transformers.TFConvBertForSequenceClassification]]

[[autodoc]] TFConvBertForSequenceClassification
- call

## TFConvBertForMultipleChoice [[transformers.TFConvBertForMultipleChoice]]

[[autodoc]] TFConvBertForMultipleChoice
- call

## TFConvBertForTokenClassification [[transformers.TFConvBertForTokenClassification]]

[[autodoc]] TFConvBertForTokenClassification
- call

## TFConvBertForQuestionAnswering [[transformers.TFConvBertForQuestionAnswering]]

[[autodoc]] TFConvBertForQuestionAnswering
- call

</tf>
</frameworkcontent>

0 comments on commit 7bbc624

Please sign in to comment.