-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π [i18n-KO] Translated
convbert.md
to Korean (#34599)
* docs: ko: convbert.md * Update _toctree.yml * feat: nmt draft
- Loading branch information
Showing
2 changed files
with
137 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |