Spaces:
Paused
Paused
<!--- | |
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. | |
--> | |
<!--- | |
A useful guide for English-Traditional Japanese translation of Hugging Face documentation | |
- Use square quotes, e.g.,ใๅผ็จใ | |
Dictionary | |
API: API(็ฟป่จณใใชใ) | |
add: ่ฟฝๅ | |
checkpoint: ใใงใใฏใใคใณใ | |
code: ใณใผใ | |
community: ใณใใฅใใใฃ | |
confidence: ไฟก้ ผๅบฆ | |
dataset: ใใผใฟใปใใ | |
documentation: ใใญใฅใกใณใ | |
example: ไพ | |
finetune: ๅพฎ่ชฟๆด | |
Hugging Face: Hugging Face(็ฟป่จณใใชใ) | |
implementation: ๅฎ่ฃ | |
inference: ๆจ่ซ | |
library: ใฉใคใใฉใช | |
module: ใขใธใฅใผใซ | |
NLP/Natural Language Processing: NLPใจ่กจ็คบใใใๅ ดๅใฏ็ฟป่จณใใใใNatural Language Processingใจ่กจ็คบใใใๅ ดๅใฏ็ฟป่จณใใใ | |
online demos: ใชใณใฉใคใณใใข | |
pipeline: pipeline(็ฟป่จณใใชใ) | |
pretrained/pretrain: ๅญฆ็ฟๆธใฟ | |
Python data structures (e.g., list, set, dict): ใชในใใใปใใใใใฃใฏใทใงใใชใจ่จณใใใๆฌๅผงๅ ใฏๅๆ่ฑ่ช | |
repository: repository(็ฟป่จณใใชใ) | |
summary: ๆฆ่ฆ | |
token-: token-(็ฟป่จณใใชใ) | |
Trainer: Trainer(็ฟป่จณใใชใ) | |
transformer: transformer(็ฟป่จณใใชใ) | |
tutorial: ใใฅใผใใชใขใซ | |
user: ใฆใผใถ | |
--> | |
<p align="center"> | |
<br> | |
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers_logo_name.png" width="400"/> | |
<br> | |
<p> | |
<p align="center"> | |
<a href="https://circleci.com/gh/huggingface/transformers"> | |
<img alt="Build" src="https://img.shields.io/circleci/build/github/huggingface/transformers/main"> | |
</a> | |
<a href="https://github.com/huggingface/transformers/blob/main/LICENSE"> | |
<img alt="GitHub" src="https://img.shields.io/github/license/huggingface/transformers.svg?color=blue"> | |
</a> | |
<a href="https://huggingface.co/docs/transformers/index"> | |
<img alt="Documentation" src="https://img.shields.io/website/http/huggingface.co/docs/transformers/index.svg?down_color=red&down_message=offline&up_message=online"> | |
</a> | |
<a href="https://github.com/huggingface/transformers/releases"> | |
<img alt="GitHub release" src="https://img.shields.io/github/release/huggingface/transformers.svg"> | |
</a> | |
<a href="https://github.com/huggingface/transformers/blob/main/CODE_OF_CONDUCT.md"> | |
<img alt="Contributor Covenant" src="https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg"> | |
</a> | |
<a href="https://zenodo.org/badge/latestdoi/155220641"><img src="https://zenodo.org/badge/155220641.svg" alt="DOI"></a> | |
</p> | |
<h4 align="center"> | |
<p> | |
<a href="https://github.com/huggingface/transformers/">English</a> | | |
<a href="https://github.com/huggingface/transformers/blob/main/README_zh-hans.md">็ฎไฝไธญๆ</a> | | |
<a href="https://github.com/huggingface/transformers/blob/main/README_zh-hant.md">็น้ซไธญๆ</a> | | |
<a href="https://github.com/huggingface/transformers/blob/main/README_ko.md">ํ๊ตญ์ด</a> | | |
<a href="https://github.com/huggingface/transformers/blob/main/README_es.md">Espaรฑol</a> | | |
<b>ๆฅๆฌ่ช</b> | | |
<a href="https://github.com/huggingface/transformers/blob/main/README_hd.md">เคนเคฟเคจเฅเคฆเฅ</a> | |
<p> | |
</h4> | |
<h3 align="center"> | |
<p>JAXใPyTorchใTensorFlowใฎใใใฎๆๅ ็ซฏๆฉๆขฐๅญฆ็ฟ</p> | |
</h3> | |
<h3 align="center"> | |
<a href="https://hf.co/course"><img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/course_banner.png"></a> | |
</h3> | |
๐คTransformersใฏใใใญในใใ่ฆ่ฆใ้ณๅฃฐใชใฉใฎ็ฐใชใใขใใชใใฃใซๅฏพใใฆใฟในใฏใๅฎ่กใใใใใซใไบๅใซๅญฆ็ฟใใใๆฐๅใฎใขใใซใๆไพใใพใใ | |
ใใใใฎใขใใซใฏๆฌกใฎใใใชๅ ดๅใซ้ฉ็จใงใใพใ: | |
* ๐ ใใญในใใฏใใใญในใใฎๅ้กใๆ ๅ ฑๆฝๅบใ่ณชๅๅฟ็ญใ่ฆ็ดใ็ฟป่จณใใใญในใ็ๆใชใฉใฎใฟในใฏใฎใใใซใ100ไปฅไธใฎ่จ่ชใซๅฏพๅฟใใฆใใพใใ | |
* ๐ผ๏ธ ็ปๅๅ้กใ็ฉไฝๆคๅบใใปใฐใกใณใใผใทใงใณใชใฉใฎใฟในใฏใฎใใใฎ็ปๅใ | |
* ๐ฃ๏ธ ้ณๅฃฐใฏใ้ณๅฃฐ่ช่ญใ้ณๅฃฐๅ้กใชใฉใฎใฟในใฏใซไฝฟ็จใใพใใ | |
ใใฉใณในใใฉใผใใผใขใใซใฏใใใผใใซ่ณชๅๅฟ็ญใๅ ๅญฆๆๅญ่ช่ญใในใญใฃใณๆๆธใใใฎๆ ๅ ฑๆฝๅบใใใใชๅ้กใ่ฆ่ฆ็่ณชๅๅฟ็ญใชใฉใ**่คๆฐใฎใขใใชใใฃใ็ตใฟๅใใใ**ใฟในใฏใๅฎ่กๅฏ่ฝใงใใ | |
๐คTransformersใฏใไธใใใใใใญในใใซๅฏพใใฆใใใใฎไบๅๅญฆ็ฟใใใใขใใซใ็ด ๆฉใใใฆใณใญใผใใใฆไฝฟ็จใใใใชใ่ช่บซใฎใใผใฟใปใใใงใใใใๅพฎ่ชฟๆดใใ็งใใกใฎ[model hub](https://huggingface.co/models)ใงใณใใฅใใใฃใจๅ ฑๆใใใใใฎAPIใๆไพใใพใใๅๆใซใใขใผใญใใฏใใฃใๅฎ็พฉใใๅPythonใขใธใฅใผใซใฏๅฎๅ จใซในใฟใณใใขใญใณใงใใใ่ฟ ้ใช็ ็ฉถๅฎ้จใๅฏ่ฝใซใใใใใซๅคๆดใใใใจใใงใใพใใ | |
๐คTransformersใฏ[Jax](https://jax.readthedocs.io/en/latest/)ใ[PyTorch](https://pytorch.org/)ใ[TensorFlow](https://www.tensorflow.org/)ใจใใ3ๅคงใใฃใผใใฉใผใใณใฐใฉใคใใฉใชใผใซๆฏใใใใใใใใใฎใฉใคใใฉใชใใทใผใ ใฌในใซ็ตฑๅใใฆใใพใใ็ๆนใงใขใใซใๅญฆ็ฟใใฆใใใใใ็ๆนใงๆจ่ซ็จใซใญใผใใใใฎใฏ็ฐกๅใชใใจใงใใ | |
## ใชใณใฉใคใณใใข | |
[model hub](https://huggingface.co/models)ใใใใปใจใใฉใฎใขใใซใฎใใผใธใง็ดๆฅใในใใใใใจใใงใใพใใใพใใใใใชใใฏใขใใซใใใฉใคใใผใใขใใซใซๅฏพใใฆใ[ใใฉใคใใผใใขใใซใฎใในใใฃใณใฐใใใผใธใงใใณใฐใๆจ่ซAPI](https://huggingface.co/pricing)ใๆไพใใฆใใพใใ | |
ไปฅไธใฏใใฎไธไพใงใ: | |
่ช็ถ่จ่ชๅฆ็ใซใฆ: | |
- [BERTใซใใใในใฏใใฏใผใ่ฃๅฎ](https://huggingface.co/bert-base-uncased?text=Paris+is+the+%5BMASK%5D+of+France) | |
- [Electraใซใใๅๅๅฎไฝ่ช่ญ](https://huggingface.co/dbmdz/electra-large-discriminator-finetuned-conll03-english?text=My+name+is+Sarah+and+I+live+in+London+city) | |
- [GPT-2ใซใใใใญในใ็ๆ](https://huggingface.co/gpt2?text=A+long+time+ago%2C+) | |
- [RoBERTaใซใใ่ช็ถ่จ่ชๆจ่ซ](https://huggingface.co/roberta-large-mnli?text=The+dog+was+lost.+Nobody+lost+any+animal) | |
- [BARTใซใใ่ฆ็ด](https://huggingface.co/facebook/bart-large-cnn?text=The+tower+is+324+metres+%281%2C063+ft%29+tall%2C+about+the+same+height+as+an+81-storey+building%2C+and+the+tallest+structure+in+Paris.+Its+base+is+square%2C+measuring+125+metres+%28410+ft%29+on+each+side.+During+its+construction%2C+the+Eiffel+Tower+surpassed+the+Washington+Monument+to+become+the+tallest+man-made+structure+in+the+world%2C+a+title+it+held+for+41+years+until+the+Chrysler+Building+in+New+York+City+was+finished+in+1930.+It+was+the+first+structure+to+reach+a+height+of+300+metres.+Due+to+the+addition+of+a+broadcasting+aerial+at+the+top+of+the+tower+in+1957%2C+it+is+now+taller+than+the+Chrysler+Building+by+5.2+metres+%2817+ft%29.+Excluding+transmitters%2C+the+Eiffel+Tower+is+the+second+tallest+free-standing+structure+in+France+after+the+Millau+Viaduct) | |
- [DistilBERTใซใใ่ณชๅๅฟ็ญ](https://huggingface.co/distilbert-base-uncased-distilled-squad?text=Which+name+is+also+used+to+describe+the+Amazon+rainforest+in+English%3F&context=The+Amazon+rainforest+%28Portuguese%3A+Floresta+Amaz%C3%B4nica+or+Amaz%C3%B4nia%3B+Spanish%3A+Selva+Amaz%C3%B3nica%2C+Amazon%C3%ADa+or+usually+Amazonia%3B+French%3A+For%C3%AAt+amazonienne%3B+Dutch%3A+Amazoneregenwoud%29%2C+also+known+in+English+as+Amazonia+or+the+Amazon+Jungle%2C+is+a+moist+broadleaf+forest+that+covers+most+of+the+Amazon+basin+of+South+America.+This+basin+encompasses+7%2C000%2C000+square+kilometres+%282%2C700%2C000+sq+mi%29%2C+of+which+5%2C500%2C000+square+kilometres+%282%2C100%2C000+sq+mi%29+are+covered+by+the+rainforest.+This+region+includes+territory+belonging+to+nine+nations.+The+majority+of+the+forest+is+contained+within+Brazil%2C+with+60%25+of+the+rainforest%2C+followed+by+Peru+with+13%25%2C+Colombia+with+10%25%2C+and+with+minor+amounts+in+Venezuela%2C+Ecuador%2C+Bolivia%2C+Guyana%2C+Suriname+and+French+Guiana.+States+or+departments+in+four+nations+contain+%22Amazonas%22+in+their+names.+The+Amazon+represents+over+half+of+the+planet%27s+remaining+rainforests%2C+and+comprises+the+largest+and+most+biodiverse+tract+of+tropical+rainforest+in+the+world%2C+with+an+estimated+390+billion+individual+trees+divided+into+16%2C000+species) | |
- [T5ใซใใ็ฟป่จณ](https://huggingface.co/t5-base?text=My+name+is+Wolfgang+and+I+live+in+Berlin) | |
ใณใณใใฅใผใฟใใธใงใณใซใฆ: | |
- [ViTใซใใ็ปๅๅ้ก](https://huggingface.co/google/vit-base-patch16-224) | |
- [DETRใซใใ็ฉไฝๆคๅบ](https://huggingface.co/facebook/detr-resnet-50) | |
- [SegFormerใซใใใปใใณใใฃใใฏใปใฐใกใณใใผใทใงใณ](https://huggingface.co/nvidia/segformer-b0-finetuned-ade-512-512) | |
- [DETRใซใใใใใใใฃใใฏใปใฐใกใณใใผใทใงใณ](https://huggingface.co/facebook/detr-resnet-50-panoptic) | |
ใชใผใใฃใชใซใฆ: | |
- [Wav2Vec2ใซใใ่ชๅ้ณๅฃฐ่ช่ญ](https://huggingface.co/facebook/wav2vec2-base-960h) | |
- [Wav2Vec2ใซใใใญใผใฏใผใๆค็ดข](https://huggingface.co/superb/wav2vec2-base-superb-ks) | |
ใใซใใขใผใใซใชใฟในใฏใซใฆ: | |
- [ViLTใซใใ่ฆ่ฆ็่ณชๅๅฟ็ญ](https://huggingface.co/dandelin/vilt-b32-finetuned-vqa) | |
Hugging Faceใใผใ ใซใใฃใฆไฝใใใ **[ใใฉใณในใใฉใผใใผใไฝฟใฃใๆธใ่พผใฟ](https://transformer.huggingface.co)** ใฏใใใฎใชใใธใใชใฎใใญในใ็ๆๆฉ่ฝใฎๅ ฌๅผใใขใงใใใ | |
## Hugging Faceใใผใ ใซใใใซในใฟใ ใปใตใใผใใใๅธๆใฎๅ ดๅ | |
<a target="_blank" href="https://huggingface.co/support"> | |
<img alt="HuggingFace Expert Acceleration Program" src="https://cdn-media.huggingface.co/marketing/transformers/new-support-improved.png" style="max-width: 600px; border: 1px solid #eee; border-radius: 4px; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);"> | |
</a><br> | |
## ใฏใคใใฏใใขใผ | |
ไธใใใใๅ ฅๅ๏ผใใญในใใ็ปๅใ้ณๅฃฐใ...๏ผใซๅฏพใใฆใใใซใขใใซใไฝฟใใใใซใๆใ ใฏ`pipeline`ใจใใAPIใๆไพใใฆใใใพใใpipelineใฏใๅญฆ็ฟๆธใฟใฎใขใใซใจใใใฎใขใใซใฎๅญฆ็ฟๆใซไฝฟ็จใใใๅๅฆ็ใใฐใซใผใๅใใใใฎใงใใไปฅไธใฏใ่ฏๅฎ็ใชใใญในใใจๅฆๅฎ็ใชใใญในใใๅ้กใใใใใซpipelineใไฝฟ็จใใๆนๆณใงใ: | |
```python | |
>>> from transformers import pipeline | |
# Allocate a pipeline for sentiment-analysis | |
>>> classifier = pipeline('sentiment-analysis') | |
>>> classifier('We are very happy to introduce pipeline to the transformers repository.') | |
[{'label': 'POSITIVE', 'score': 0.9996980428695679}] | |
``` | |
2่ก็ฎใฎใณใผใใงใฏใpipelineใงไฝฟ็จใใใไบๅๅญฆ็ฟๆธใฟใขใใซใใใฆใณใญใผใใใฆใญใฃใใทใฅใใ3่ก็ฎใงใฏไธใใใใใใญในใใซๅฏพใใฆใใฎใขใใซใ่ฉไพกใใพใใใใใงใฏใ็ญใใฏ99.97%ใฎไฟก้ ผๅบฆใงใใใธใใฃใใใงใใ | |
่ช็ถ่จ่ชๅฆ็ใ ใใงใชใใใณใณใใฅใผใฟใใธใงใณใ้ณๅฃฐๅฆ็ใซใใใฆใใๅคใใฎใฟในใฏใซใฏใใใใใ่จ็ทดใใใ`pipeline`ใ็จๆใใใฆใใใไพใใฐใ็ปๅใใๆคๅบใใใ็ฉไฝใ็ฐกๅใซๆฝๅบใใใใจใใงใใ: | |
``` python | |
>>> import requests | |
>>> from PIL import Image | |
>>> from transformers import pipeline | |
# Download an image with cute cats | |
>>> url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/coco_sample.png" | |
>>> image_data = requests.get(url, stream=True).raw | |
>>> image = Image.open(image_data) | |
# Allocate a pipeline for object detection | |
>>> object_detector = pipeline('object-detection') | |
>>> object_detector(image) | |
[{'score': 0.9982201457023621, | |
'label': 'remote', | |
'box': {'xmin': 40, 'ymin': 70, 'xmax': 175, 'ymax': 117}}, | |
{'score': 0.9960021376609802, | |
'label': 'remote', | |
'box': {'xmin': 333, 'ymin': 72, 'xmax': 368, 'ymax': 187}}, | |
{'score': 0.9954745173454285, | |
'label': 'couch', | |
'box': {'xmin': 0, 'ymin': 1, 'xmax': 639, 'ymax': 473}}, | |
{'score': 0.9988006353378296, | |
'label': 'cat', | |
'box': {'xmin': 13, 'ymin': 52, 'xmax': 314, 'ymax': 470}}, | |
{'score': 0.9986783862113953, | |
'label': 'cat', | |
'box': {'xmin': 345, 'ymin': 23, 'xmax': 640, 'ymax': 368}}] | |
``` | |
ใใใงใฏใ็ปๅใใๆคๅบใใใใชใใธใงใฏใใฎใชในใใๅพใใใใชใใธใงใฏใใๅฒใใใใฏในใจไฟก้ ผๅบฆในใณใขใ่กจ็คบใใใพใใๅทฆๅดใๅ ็ปๅใๅณๅดใไบๆธฌ็ตๆใ่กจ็คบใใใใฎใงใ: | |
<h3 align="center"> | |
<a><img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/coco_sample.png" width="400"></a> | |
<a><img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/coco_sample_post_processed.png" width="400"></a> | |
</h3> | |
[ใใฎใใฅใผใใชใขใซ](https://huggingface.co/docs/transformers/task_summary)ใงใฏใ`pipeline`APIใงใตใใผใใใใฆใใใฟในใฏใซใคใใฆ่ฉณใใ่ชฌๆใใฆใใพใใ | |
`pipeline`ใซๅ ใใฆใไธใใใใใฟในใฏใซๅญฆ็ฟๆธใฟใฎใขใใซใใใฆใณใญใผใใใฆไฝฟ็จใใใใใซๅฟ ่ฆใชใฎใฏใ3่กใฎใณใผใใ ใใงใใไปฅไธใฏPyTorchใฎใใผใธใงใณใงใ: | |
```python | |
>>> from transformers import AutoTokenizer, AutoModel | |
>>> tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased") | |
>>> model = AutoModel.from_pretrained("bert-base-uncased") | |
>>> inputs = tokenizer("Hello world!", return_tensors="pt") | |
>>> outputs = model(**inputs) | |
``` | |
And here is the equivalent code for TensorFlow: | |
```python | |
>>> from transformers import AutoTokenizer, TFAutoModel | |
>>> tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased") | |
>>> model = TFAutoModel.from_pretrained("bert-base-uncased") | |
>>> inputs = tokenizer("Hello world!", return_tensors="tf") | |
>>> outputs = model(**inputs) | |
``` | |
ใใผใฏใใคใถใฏๅญฆ็ฟๆธใฟใขใใซใๆๅพ ใใใในใฆใฎๅๅฆ็ใๆ ๅฝใใๅไธใฎๆๅญๅ (ไธ่จใฎไพใฎใใใซ) ใพใใฏใชในใใซๅฏพใใฆ็ดๆฅๅผใณๅบใใใจใใงใใพใใใใใฏไธๆตใฎใณใผใใงไฝฟ็จใงใใ่พๆธใๅบๅใใพใใใพใใๅ็ดใซ ** ๅผๆฐๅฑ้ๆผ็ฎๅญใไฝฟ็จใใฆใขใใซใซ็ดๆฅๆธกใใใจใใงใใพใใ | |
ใขใใซ่ชไฝใฏ้ๅธธใฎ[Pytorch `nn.Module`](https://pytorch.org/docs/stable/nn.html#torch.nn.Module) ใพใใฏ [TensorFlow `tf.keras.Model`](https://www.tensorflow.org/api_docs/python/tf/keras/Model) (ใใใฏใจใณใใซใใฃใฆ็ฐใชใ)ใงใ้ๅธธ้ใไฝฟ็จใใใใจใๅฏ่ฝใงใใ[ใใฎใใฅใผใใชใขใซ](https://huggingface.co/docs/transformers/training)ใงใฏใใใฎใใใชใขใใซใๅพๆฅใฎPyTorchใTensorFlowใฎๅญฆ็ฟใซใผใใซ็ตฑๅใใๆนๆณใใ็งใใกใฎ`Trainer`APIใไฝฟใฃใฆๆฐใใใใผใฟใปใใใง็ด ๆฉใๅพฎ่ชฟๆดใ่กใๆนๆณใซใคใใฆ่ชฌๆใใพใใ | |
## ใชใtransformersใไฝฟใๅฟ ่ฆใใใใฎใงใใใใ๏ผ | |
1. ไฝฟใใใใๆๆฐใขใใซ: | |
- ่ช็ถ่จ่ช็่งฃใป็ๆใใณใณใใฅใผใฟใใธใงใณใใชใผใใฃใชใฎๅใฟในใฏใง้ซใใใใฉใผใใณในใ็บๆฎใใพใใ | |
- ๆ่ฒ่ ใๅฎๅ่ ใซใจใฃใฆใฎไฝใๅๅ ฅ้ๅฃใ | |
- ๅญฆ็ฟใใใฏใฉในใฏ3ใคใ ใใงใใฆใผใถใ็ด้ขใใๆฝ่ฑกๅใฏใปใจใใฉใใใพใใใ | |
- ๅญฆ็ฟๆธใฟใขใใซใๅฉ็จใใใใใฎ็ตฑไธใใใAPIใ | |
1. ไฝใ่จ็ฎใณในใใๅฐใชใใซใผใใณใใใใใชใณใ: | |
- ็ ็ฉถ่ ใฏใๅธธใซๅใใฌใผใใณใฐใ่กใใฎใงใฏใชใใใใฌใผใใณใฐใใใใขใใซใๅ ฑๆใใใใจใใงใใพใใ | |
- ๅฎๅๅฎถใฏใ่จ็ฎๆ้ใ็็ฃใณในใใๅๆธใใใใจใใงใใพใใ | |
- ใในใฆใฎใขใใชใใฃใซใใใฆใ60,000ไปฅไธใฎไบๅๅญฆ็ฟๆธใฟใขใใซใๆใคๆฐๅคใใฎใขใผใญใใฏใใฃใๆไพใใพใใ | |
1. ใขใใซใฎใฉใคใใฟใคใ ใฎใใใใ้จๅใง้ฉๅใชใใฌใผใ ใฏใผใฏใ้ธๆๅฏ่ฝ: | |
- 3่กใฎใณใผใใงๆๅ ็ซฏใฎใขใใซใใใฌใผใใณใฐใ | |
- TF2.0/PyTorch/JAXใใฌใผใ ใฏใผใฏ้ใง1ใคใฎใขใใซใ่ชๅจใซ็งปๅใใใใ | |
- ๅญฆ็ฟใ่ฉไพกใ็็ฃใซ้ฉใใใใฌใผใ ใฏใผใฏใใทใผใ ใฌในใซ้ธๆใงใใพใใ | |
1. ใขใใซใใตใณใใซใใใผใบใซๅใใใฆ็ฐกๅใซใซในใฟใใคใบๅฏ่ฝ: | |
- ๅ่่ ใ็บ่กจใใ็ตๆใๅ็พใใใใใซใๅใขใผใญใใฏใใฃใฎไพใๆไพใใฆใใพใใ | |
- ใขใใซๅ ้จใฏๅฏ่ฝใช้ใไธ่ฒซใใฆๅ ฌ้ใใใฆใใพใใ | |
- ใขใใซใใกใคใซใฏใฉใคใใฉใชใจใฏ็ฌ็ซใใฆๅฉ็จใใใใจใใงใใ่ฟ ้ใชๅฎ้จใๅฏ่ฝใงใใ | |
## ใชใtransformersใไฝฟใฃใฆใฏใใใชใใฎใงใใใใ๏ผ | |
- ใใฎใฉใคใใฉใชใฏใใใฅใผใฉใซใใใใฎใใใฎใใซใใฃใณใฐใใญใใฏใฎใขใธใฅใผใซๅผใใผใซใใใฏในใงใฏใใใพใใใใขใใซใใกใคใซใฎใณใผใใฏใ็ ็ฉถ่ ใ่ฟฝๅ ใฎๆฝ่ฑกๅ/ใใกใคใซใซ้ฃใณ่พผใใใจใชใใๅใขใใซใ็ด ๆฉใๅๅพฉใงใใใใใซใๆๅณ็ใซ่ฟฝๅ ใฎๆฝ่ฑกๅใงใชใใกใฏใฟใชใณใฐใใใฆใใพใใใ | |
- ๅญฆ็ฟAPIใฏใฉใฎใใใชใขใใซใงใๅไฝใใใใใงใฏใชใใใฉใคใใฉใชใๆไพใใใขใใซใงๅไฝใใใใใซๆ้ฉๅใใใฆใใพใใไธ่ฌ็ใชๆฉๆขฐๅญฆ็ฟใฎใซใผใใซใฏใๅฅใฎใฉใคใใฉใช(ใใใใ[Accelerate](https://huggingface.co/docs/accelerate))ใไฝฟ็จใใๅฟ ่ฆใใใใพใใ | |
- ็งใใกใฏใงใใใ ใๅคใใฎไฝฟ็จไพใ็ดนไปใใใใๅชๅใใฆใใพใใใ[examples ใใฉใซใ](https://github.com/huggingface/transformers/tree/main/examples) ใซใใในใฏใชใใใฏใใใพใงไพใงใใใใชใใฎ็นๅฎใฎๅ้กใซๅฏพใใฆใใใซๅไฝใใใใใงใฏใชใใใใชใใฎใใผใบใซๅใใใใใใซๆฐ่กใฎใณใผใใๅคๆดใใๅฟ ่ฆใใใใใจใไบๆณใใใพใใ | |
## ใคใณในใใผใซ | |
### pipใซใฆ | |
ใใฎใชใใธใใชใฏใPython 3.8+, Flax 0.4.1+, PyTorch 1.10+, TensorFlow 2.6+ ใงใในใใใใฆใใพใใ | |
๐คTransformersใฏ[ไปฎๆณ็ฐๅข](https://docs.python.org/3/library/venv.html)ใซใคใณในใใผใซใใๅฟ ่ฆใใใใพใใPythonใฎไปฎๆณ็ฐๅขใซๆ ฃใใฆใใชใๅ ดๅใฏใ[ใฆใผใถใผใฌใคใ](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/)ใ็ขบ่ชใใฆใใ ใใใ | |
ใพใใไฝฟ็จใใใใผใธใงใณใฎPythonใงไปฎๆณ็ฐๅขใไฝๆใใใขใฏใใฃใใผใใใพใใ | |
ใใฎๅพใFlax, PyTorch, TensorFlowใฎใใกๅฐใชใใจใ1ใคใใคใณในใใผใซใใๅฟ ่ฆใใใใพใใ | |
[TensorFlowใคใณในใใผใซใใผใธ](https://www.tensorflow.org/install/)ใ[PyTorchใคใณในใใผใซใใผใธ](https://pytorch.org/get-started/locally/#start-locally)ใ[Flax](https://github.com/google/flax#quick-install)ใ[Jax](https://github.com/google/jax#installation)ใคใณในใใผใซใใผใธใงใใไฝฟใใฎใใฉใใใใฉใผใ ๅฅใฎใคใณในใใผใซใณใใณใใๅ็ งใใฆใใ ใใใ | |
ใใใใฎใใใฏใจใณใใฎใใใใใใคใณในใใผใซใใใฆใใๅ ดๅใ๐คTransformersใฏไปฅไธใฎใใใซpipใไฝฟ็จใใฆใคใณในใใผใซใใใใจใใงใใพใ: | |
```bash | |
pip install transformers | |
``` | |
ใใใตใณใใซใ่ฉฆใใใใใพใใฏใณใผใใฎๆๅ ็ซฏใๅฟ ่ฆใงใๆฐใใใชใชใผในใๅพ ใฆใชใๅ ดๅใฏใ[ใฉใคใใฉใชใใฝใผในใใใคใณในใใผใซ](https://huggingface.co/docs/transformers/installation#installing-from-source)ใใๅฟ ่ฆใใใใพใใ | |
### condaใซใฆ | |
Transformersใใผใธใงใณ4.0.0ใใใcondaใใฃใณใใซใๆญ่ผใใพใใ: `huggingface`ใ | |
๐คTransformersใฏไปฅไธใฎใใใซcondaใไฝฟใฃใฆ่จญ็ฝฎใใใใจใใงใใพใ: | |
```shell script | |
conda install -c huggingface transformers | |
``` | |
FlaxใPyTorchใTensorFlowใcondaใงใคใณในใใผใซใใๆนๆณใฏใใใใใใฎใคใณในใใผใซใใผใธใซๅพใฃใฆใใ ใใใ | |
> **_ๆณจๆ:_** Windowsใงใฏใใญใฃใใทใฅใฎๆฉๆตใๅใใใใใซใใใใญใใใผใขใผใใๆๅนใซใใใใไฟใใใใใจใใใใพใใใใฎใใใชๅ ดๅใฏใ[ใใฎissue](https://github.com/huggingface/huggingface_hub/issues/1062)ใงใ็ฅใใใใ ใใใ | |
## ใขใใซใขใผใญใใฏใใฃ | |
๐คTransformersใๆไพใใ **[ๅ จใขใใซใใงใใฏใใคใณใ](https://huggingface.co/models)** ใฏใ[ใฆใผใถใผ](https://huggingface.co/users)ใ[็ต็น](https://huggingface.co/organizations)ใซใใฃใฆ็ดๆฅใขใใใญใผใใใใhuggingface.co [model hub](https://huggingface.co)ใใใทใผใ ใฌในใซ็ตฑๅใใใฆใใพใใ | |
็พๅจใฎใใงใใฏใใคใณใๆฐ: ![](https://img.shields.io/endpoint?url=https://huggingface.co/api/shields/models&color=brightgreen) | |
๐คTransformersใฏ็พๅจใไปฅไธใฎใขใผใญใใฏใใฃใๆไพใใฆใใพใ๏ผใใใใใฎใใคใฌใใซใช่ฆ็ดใฏ[ใใกใ](https://huggingface.co/docs/transformers/model_summary)ใๅ็ งใใฆใใ ใใ๏ผ: | |
1. **[ALBERT](https://huggingface.co/docs/transformers/model_doc/albert)** (Google Research and the Toyota Technological Institute at Chicago ใใ) Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, Radu Soricut ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [ALBERT: A Lite BERT for Self-supervised Learning of Language Representations](https://arxiv.org/abs/1909.11942) | |
1. **[ALIGN](https://huggingface.co/docs/transformers/model_doc/align)** (Google Research ใใ) Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc V. Le, Yunhsuan Sung, Zhen Li, Tom Duerig. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision](https://arxiv.org/abs/2102.05918) | |
1. **[AltCLIP](https://huggingface.co/docs/transformers/model_doc/altclip)** (BAAI ใใ) Chen, Zhongzhi and Liu, Guang and Zhang, Bo-Wen and Ye, Fulong and Yang, Qinghong and Wu, Ledell ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [AltCLIP: Altering the Language Encoder in CLIP for Extended Language Capabilities](https://arxiv.org/abs/2211.06679) | |
1. **[Audio Spectrogram Transformer](https://huggingface.co/docs/transformers/model_doc/audio-spectrogram-transformer)** (MIT ใใ) Yuan Gong, Yu-An Chung, James Glass ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [AST: Audio Spectrogram Transformer](https://arxiv.org/abs/2104.01778) | |
1. **[Autoformer](https://huggingface.co/docs/transformers/model_doc/autoformer)** (from Tsinghua University) released with the paper [Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting](https://arxiv.org/abs/2106.13008) by Haixu Wu, Jiehui Xu, Jianmin Wang, Mingsheng Long. | |
1. **[Bark](https://huggingface.co/docs/transformers/model_doc/bark)** (from Suno) released in the repository [suno-ai/bark](https://github.com/suno-ai/bark) by Suno AI team. | |
1. **[BART](https://huggingface.co/docs/transformers/model_doc/bart)** (Facebook ใใ) Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Ves Stoyanov and Luke Zettlemoyer ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension](https://arxiv.org/abs/1910.13461) | |
1. **[BARThez](https://huggingface.co/docs/transformers/model_doc/barthez)** (รcole polytechnique ใใ) Moussa Kamal Eddine, Antoine J.-P. Tixier, Michalis Vazirgiannis ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [BARThez: a Skilled Pretrained French Sequence-to-Sequence Model](https://arxiv.org/abs/2010.12321) | |
1. **[BARTpho](https://huggingface.co/docs/transformers/model_doc/bartpho)** (VinAI Research ใใ) Nguyen Luong Tran, Duong Minh Le and Dat Quoc Nguyen ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [BARTpho: Pre-trained Sequence-to-Sequence Models for Vietnamese](https://arxiv.org/abs/2109.09701) | |
1. **[BEiT](https://huggingface.co/docs/transformers/model_doc/beit)** (Microsoft ใใ) Hangbo Bao, Li Dong, Furu Wei ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [BEiT: BERT Pre-Training of Image Transformers](https://arxiv.org/abs/2106.08254) | |
1. **[BERT](https://huggingface.co/docs/transformers/model_doc/bert)** (Google ใใ) Jacob Devlin, Ming-Wei Chang, Kenton Lee and Kristina Toutanova ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding](https://arxiv.org/abs/1810.04805) | |
1. **[BERT For Sequence Generation](https://huggingface.co/docs/transformers/model_doc/bert-generation)** (Google ใใ) Sascha Rothe, Shashi Narayan, Aliaksei Severyn ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Leveraging Pre-trained Checkpoints for Sequence Generation Tasks](https://arxiv.org/abs/1907.12461) | |
1. **[BERTweet](https://huggingface.co/docs/transformers/model_doc/bertweet)** (VinAI Research ใใ) Dat Quoc Nguyen, Thanh Vu and Anh Tuan Nguyen ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [BERTweet: A pre-trained language model for English Tweets](https://aclanthology.org/2020.emnlp-demos.2/) | |
1. **[BigBird-Pegasus](https://huggingface.co/docs/transformers/model_doc/bigbird_pegasus)** (Google Research ใใ) Manzil Zaheer, Guru Guruganesh, Avinava Dubey, Joshua Ainslie, Chris Alberti, Santiago Ontanon, Philip Pham, Anirudh Ravula, Qifan Wang, Li Yang, Amr Ahmed ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Big Bird: Transformers for Longer Sequences](https://arxiv.org/abs/2007.14062) | |
1. **[BigBird-RoBERTa](https://huggingface.co/docs/transformers/model_doc/big_bird)** (Google Research ใใ) Manzil Zaheer, Guru Guruganesh, Avinava Dubey, Joshua Ainslie, Chris Alberti, Santiago Ontanon, Philip Pham, Anirudh Ravula, Qifan Wang, Li Yang, Amr Ahmed ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Big Bird: Transformers for Longer Sequences](https://arxiv.org/abs/2007.14062) | |
1. **[BioGpt](https://huggingface.co/docs/transformers/model_doc/biogpt)** (Microsoft Research AI4Science ใใ) Renqian Luo, Liai Sun, Yingce Xia, Tao Qin, Sheng Zhang, Hoifung Poon and Tie-Yan Liu ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [BioGPT: generative pre-trained transformer for biomedical text generation and mining](https://academic.oup.com/bib/advance-article/doi/10.1093/bib/bbac409/6713511?guestAccessKey=a66d9b5d-4f83-4017-bb52-405815c907b9) | |
1. **[BiT](https://huggingface.co/docs/transformers/model_doc/bit)** (Google AI ใใ) Alexander Kolesnikov, Lucas Beyer, Xiaohua Zhai, Joan Puigcerver, Jessica Yung, Sylvain Gelly, Neil ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Big Transfer (BiT)](https://arxiv.org/abs/1912.11370)Houlsby. | |
1. **[Blenderbot](https://huggingface.co/docs/transformers/model_doc/blenderbot)** (Facebook ใใ) Stephen Roller, Emily Dinan, Naman Goyal, Da Ju, Mary Williamson, Yinhan Liu, Jing Xu, Myle Ott, Kurt Shuster, Eric M. Smith, Y-Lan Boureau, Jason Weston ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Recipes for building an open-domain chatbot](https://arxiv.org/abs/2004.13637) | |
1. **[BlenderbotSmall](https://huggingface.co/docs/transformers/model_doc/blenderbot-small)** (Facebook ใใ) Stephen Roller, Emily Dinan, Naman Goyal, Da Ju, Mary Williamson, Yinhan Liu, Jing Xu, Myle Ott, Kurt Shuster, Eric M. Smith, Y-Lan Boureau, Jason Weston ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Recipes for building an open-domain chatbot](https://arxiv.org/abs/2004.13637) | |
1. **[BLIP](https://huggingface.co/docs/transformers/model_doc/blip)** (Salesforce ใใ) Junnan Li, Dongxu Li, Caiming Xiong, Steven Hoi ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation](https://arxiv.org/abs/2201.12086) | |
1. **[BLIP-2](https://huggingface.co/docs/transformers/model_doc/blip-2)** (Salesforce ใใ) Junnan Li, Dongxu Li, Silvio Savarese, Steven Hoi. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models](https://arxiv.org/abs/2301.12597) | |
1. **[BLOOM](https://huggingface.co/docs/transformers/model_doc/bloom)** (BigScience workshop ใใ) [BigScience Workshop](https://bigscience.huggingface.co/) ใใๅ ฌ้ใใใพใใ. | |
1. **[BORT](https://huggingface.co/docs/transformers/model_doc/bort)** (Alexa ใใ) Adrian de Wynter and Daniel J. Perry ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Optimal Subarchitecture Extraction For BERT](https://arxiv.org/abs/2010.10499) | |
1. **[BridgeTower](https://huggingface.co/docs/transformers/model_doc/bridgetower)** (Harbin Institute of Technology/Microsoft Research Asia/Intel Labs ใใ) released with the paper [BridgeTower: Building Bridges Between Encoders in Vision-Language Representation Learning](https://arxiv.org/abs/2206.08657) by Xiao Xu, Chenfei Wu, Shachar Rosenman, Vasudev Lal, Wanxiang Che, Nan Duan. | |
1. **[ByT5](https://huggingface.co/docs/transformers/model_doc/byt5)** (Google Research ใใ) Linting Xue, Aditya Barua, Noah Constant, Rami Al-Rfou, Sharan Narang, Mihir Kale, Adam Roberts, Colin Raffel ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [ByT5: Towards a token-free future with pre-trained byte-to-byte models](https://arxiv.org/abs/2105.13626) | |
1. **[CamemBERT](https://huggingface.co/docs/transformers/model_doc/camembert)** (Inria/Facebook/Sorbonne ใใ) Louis Martin*, Benjamin Muller*, Pedro Javier Ortiz Suรกrez*, Yoann Dupont, Laurent Romary, รric Villemonte de la Clergerie, Djamรฉ Seddah and Benoรฎt Sagot ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [CamemBERT: a Tasty French Language Model](https://arxiv.org/abs/1911.03894) | |
1. **[CANINE](https://huggingface.co/docs/transformers/model_doc/canine)** (Google Research ใใ) Jonathan H. Clark, Dan Garrette, Iulia Turc, John Wieting ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representation](https://arxiv.org/abs/2103.06874) | |
1. **[Chinese-CLIP](https://huggingface.co/docs/transformers/model_doc/chinese_clip)** (OFA-Sys ใใ) An Yang, Junshu Pan, Junyang Lin, Rui Men, Yichang Zhang, Jingren Zhou, Chang Zhou ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Chinese CLIP: Contrastive Vision-Language Pretraining in Chinese](https://arxiv.org/abs/2211.01335) | |
1. **[CLAP](https://huggingface.co/docs/transformers/model_doc/clap)** (LAION-AI ใใ) Yusong Wu, Ke Chen, Tianyu Zhang, Yuchen Hui, Taylor Berg-Kirkpatrick, Shlomo Dubnov. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Large-scale Contrastive Language-Audio Pretraining with Feature Fusion and Keyword-to-Caption Augmentation](https://arxiv.org/abs/2211.06687) | |
1. **[CLIP](https://huggingface.co/docs/transformers/model_doc/clip)** (OpenAI ใใ) Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, Ilya Sutskever ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Learning Transferable Visual Models From Natural Language Supervision](https://arxiv.org/abs/2103.00020) | |
1. **[CLIPSeg](https://huggingface.co/docs/transformers/model_doc/clipseg)** (University of Gรถttingen ใใ) Timo Lรผddecke and Alexander Ecker ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Image Segmentation Using Text and Image Prompts](https://arxiv.org/abs/2112.10003) | |
1. **[CodeGen](https://huggingface.co/docs/transformers/model_doc/codegen)** (Salesforce ใใ) Erik Nijkamp, Bo Pang, Hiroaki Hayashi, Lifu Tu, Huan Wang, Yingbo Zhou, Silvio Savarese, Caiming Xiong ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [A Conversational Paradigm for Program Synthesis](https://arxiv.org/abs/2203.13474) | |
1. **[CodeLlama](https://huggingface.co/docs/transformers/model_doc/llama_code)** (MetaAI ใใ) Baptiste Roziรจre, Jonas Gehring, Fabian Gloeckle, Sten Sootla, Itai Gat, Xiaoqing Ellen Tan, Yossi Adi, Jingyu Liu, Tal Remez, Jรฉrรฉmy Rapin, Artyom Kozhevnikov, Ivan Evtimov, Joanna Bitton, Manish Bhatt, Cristian Canton Ferrer, Aaron Grattafiori, Wenhan Xiong, Alexandre Dรฉfossez, Jade Copet, Faisal Azhar, Hugo Touvron, Louis Martin, Nicolas Usunier, Thomas Scialom, Gabriel Synnaeve. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Code Llama: Open Foundation Models for Code](https://ai.meta.com/research/publications/code-llama-open-foundation-models-for-code/) | |
1. **[Conditional DETR](https://huggingface.co/docs/transformers/model_doc/conditional_detr)** (Microsoft Research Asia ใใ) Depu Meng, Xiaokang Chen, Zejia Fan, Gang Zeng, Houqiang Li, Yuhui Yuan, Lei Sun, Jingdong Wang ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Conditional DETR for Fast Training Convergence](https://arxiv.org/abs/2108.06152) | |
1. **[ConvBERT](https://huggingface.co/docs/transformers/model_doc/convbert)** (YituTech ใใ) 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) | |
1. **[ConvNeXT](https://huggingface.co/docs/transformers/model_doc/convnext)** (Facebook AI ใใ) Zhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer, Trevor Darrell, Saining Xie ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [A ConvNet for the 2020s](https://arxiv.org/abs/2201.03545) | |
1. **[ConvNeXTV2](https://huggingface.co/docs/transformers/model_doc/convnextv2)** (from Facebook AI) released with the paper [ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoders](https://arxiv.org/abs/2301.00808) by Sanghyun Woo, Shoubhik Debnath, Ronghang Hu, Xinlei Chen, Zhuang Liu, In So Kweon, Saining Xie. | |
1. **[CPM](https://huggingface.co/docs/transformers/model_doc/cpm)** (Tsinghua University ใใ) Zhengyan Zhang, Xu Han, Hao Zhou, Pei Ke, Yuxian Gu, Deming Ye, Yujia Qin, Yusheng Su, Haozhe Ji, Jian Guan, Fanchao Qi, Xiaozhi Wang, Yanan Zheng, Guoyang Zeng, Huanqi Cao, Shengqi Chen, Daixuan Li, Zhenbo Sun, Zhiyuan Liu, Minlie Huang, Wentao Han, Jie Tang, Juanzi Li, Xiaoyan Zhu, Maosong Sun ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [CPM: A Large-scale Generative Chinese Pre-trained Language Model](https://arxiv.org/abs/2012.00413) | |
1. **[CPM-Ant](https://huggingface.co/docs/transformers/model_doc/cpmant)** (OpenBMB ใใ) [OpenBMB](https://www.openbmb.org/) ใใๅ ฌ้ใใใพใใ. | |
1. **[CTRL](https://huggingface.co/docs/transformers/model_doc/ctrl)** (Salesforce ใใ) Nitish Shirish Keskar*, Bryan McCann*, Lav R. Varshney, Caiming Xiong and Richard Socher ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [CTRL: A Conditional Transformer Language Model for Controllable Generation](https://arxiv.org/abs/1909.05858) | |
1. **[CvT](https://huggingface.co/docs/transformers/model_doc/cvt)** (Microsoft ใใ) Haiping Wu, Bin Xiao, Noel Codella, Mengchen Liu, Xiyang Dai, Lu Yuan, Lei Zhang ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [CvT: Introducing Convolutions to Vision Transformers](https://arxiv.org/abs/2103.15808) | |
1. **[Data2Vec](https://huggingface.co/docs/transformers/model_doc/data2vec)** (Facebook ใใ) Alexei Baevski, Wei-Ning Hsu, Qiantong Xu, Arun Babu, Jiatao Gu, Michael Auli ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Data2Vec: A General Framework for Self-supervised Learning in Speech, Vision and Language](https://arxiv.org/abs/2202.03555) | |
1. **[DeBERTa](https://huggingface.co/docs/transformers/model_doc/deberta)** (Microsoft ใใ) Pengcheng He, Xiaodong Liu, Jianfeng Gao, Weizhu Chen ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [DeBERTa: Decoding-enhanced BERT with Disentangled Attention](https://arxiv.org/abs/2006.03654) | |
1. **[DeBERTa-v2](https://huggingface.co/docs/transformers/model_doc/deberta-v2)** (Microsoft ใใ) Pengcheng He, Xiaodong Liu, Jianfeng Gao, Weizhu Chen ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [DeBERTa: Decoding-enhanced BERT with Disentangled Attention](https://arxiv.org/abs/2006.03654) | |
1. **[Decision Transformer](https://huggingface.co/docs/transformers/model_doc/decision_transformer)** (Berkeley/Facebook/Google ใใ) Lili Chen, Kevin Lu, Aravind Rajeswaran, Kimin Lee, Aditya Grover, Michael Laskin, Pieter Abbeel, Aravind Srinivas, Igor Mordatch ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Decision Transformer: Reinforcement Learning via Sequence Modeling](https://arxiv.org/abs/2106.01345) | |
1. **[Deformable DETR](https://huggingface.co/docs/transformers/model_doc/deformable_detr)** (SenseTime Research ใใ) Xizhou Zhu, Weijie Su, Lewei Lu, Bin Li, Xiaogang Wang, Jifeng Dai ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Deformable DETR: Deformable Transformers for End-to-End Object Detection](https://arxiv.org/abs/2010.04159) | |
1. **[DeiT](https://huggingface.co/docs/transformers/model_doc/deit)** (Facebook ใใ) Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, Hervรฉ Jรฉgou ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Training data-efficient image transformers & distillation through attention](https://arxiv.org/abs/2012.12877) | |
1. **[DePlot](https://huggingface.co/docs/transformers/model_doc/deplot)** (Google AI ใใ) Fangyu Liu, Julian Martin Eisenschlos, Francesco Piccinno, Syrine Krichene, Chenxi Pang, Kenton Lee, Mandar Joshi, Wenhu Chen, Nigel Collier, Yasemin Altun. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [DePlot: One-shot visual language reasoning by plot-to-table translation](https://arxiv.org/abs/2212.10505) | |
1. **[DETA](https://huggingface.co/docs/transformers/model_doc/deta)** (The University of Texas at Austin ใใ) Jeffrey Ouyang-Zhang, Jang Hyun Cho, Xingyi Zhou, Philipp Krรคhenbรผhl. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [NMS Strikes Back](https://arxiv.org/abs/2212.06137) | |
1. **[DETR](https://huggingface.co/docs/transformers/model_doc/detr)** (Facebook ใใ) Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, Sergey Zagoruyko ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [End-to-End Object Detection with Transformers](https://arxiv.org/abs/2005.12872) | |
1. **[DialoGPT](https://huggingface.co/docs/transformers/model_doc/dialogpt)** (Microsoft Research ใใ) Yizhe Zhang, Siqi Sun, Michel Galley, Yen-Chun Chen, Chris Brockett, Xiang Gao, Jianfeng Gao, Jingjing Liu, Bill Dolan ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generation](https://arxiv.org/abs/1911.00536) | |
1. **[DiNAT](https://huggingface.co/docs/transformers/model_doc/dinat)** (SHI Labs ใใ) Ali Hassani and Humphrey Shi ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Dilated Neighborhood Attention Transformer](https://arxiv.org/abs/2209.15001) | |
1. **[DINOv2](https://huggingface.co/docs/transformers/model_doc/dinov2)** (Meta AI ใใ) Maxime Oquab, Timothรฉe Darcet, Thรฉo Moutakanni, Huy Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaaeldin El-Nouby, Mahmoud Assran, Nicolas Ballas, Wojciech Galuba, Russell Howes, Po-Yao Huang, Shang-Wen Li, Ishan Misra, Michael Rabbat, Vasu Sharma, Gabriel Synnaeve, Hu Xu, Hervรฉ Jegou, Julien Mairal, Patrick Labatut, Armand Joulin, Piotr Bojanowski. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [DINOv2: Learning Robust Visual Features without Supervision](https://arxiv.org/abs/2304.07193) | |
1. **[DistilBERT](https://huggingface.co/docs/transformers/model_doc/distilbert)** (HuggingFace ใใ), Victor Sanh, Lysandre Debut and Thomas Wolf. ๅใๆๆณใง GPT2, RoBERTa ใจ Multilingual BERT ใฎๅง็ธฎใ่กใใพใใ.ๅง็ธฎใใใใขใใซใฏใใใใ [DistilGPT2](https://github.com/huggingface/transformers/tree/main/examples/research_projects/distillation)ใ[DistilRoBERTa](https://github.com/huggingface/transformers/tree/main/examples/research_projects/distillation)ใ[DistilmBERT](https://github.com/huggingface/transformers/tree/main/examples/research_projects/distillation) ใจๅไปใใใใพใใ. ๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter](https://arxiv.org/abs/1910.01108) | |
1. **[DiT](https://huggingface.co/docs/transformers/model_doc/dit)** (Microsoft Research ใใ) Junlong Li, Yiheng Xu, Tengchao Lv, Lei Cui, Cha Zhang, Furu Wei ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [DiT: Self-supervised Pre-training for Document Image Transformer](https://arxiv.org/abs/2203.02378) | |
1. **[Donut](https://huggingface.co/docs/transformers/model_doc/donut)** (NAVER ใใ), Geewook Kim, Teakgyu Hong, Moonbin Yim, Jeongyeon Nam, Jinyoung Park, Jinyeong Yim, Wonseok Hwang, Sangdoo Yun, Dongyoon Han, Seunghyun Park ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [OCR-free Document Understanding Transformer](https://arxiv.org/abs/2111.15664) | |
1. **[DPR](https://huggingface.co/docs/transformers/model_doc/dpr)** (Facebook ใใ) Vladimir Karpukhin, Barlas Oฤuz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Dense Passage Retrieval for Open-Domain Question Answering](https://arxiv.org/abs/2004.04906) | |
1. **[DPT](https://huggingface.co/docs/transformers/master/model_doc/dpt)** (Intel Labs ใใ) Renรฉ Ranftl, Alexey Bochkovskiy, Vladlen Koltun ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Vision Transformers for Dense Prediction](https://arxiv.org/abs/2103.13413) | |
1. **[EfficientFormer](https://huggingface.co/docs/transformers/model_doc/efficientformer)** (Snap Research ใใ) Yanyu Li, Geng Yuan, Yang Wen, Ju Hu, Georgios Evangelidis, Sergey Tulyakov, Yanzhi Wang, Jian Ren. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [EfficientFormer: Vision Transformers at MobileNetSpeed](https://arxiv.org/abs/2206.01191) | |
1. **[EfficientNet](https://huggingface.co/docs/transformers/model_doc/efficientnet)** (from Google Brain) released with the paper [EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks](https://arxiv.org/abs/1905.11946) by Mingxing Tan, Quoc V. Le. | |
1. **[ELECTRA](https://huggingface.co/docs/transformers/model_doc/electra)** (Google Research/Stanford University ใใ) Kevin Clark, Minh-Thang Luong, Quoc V. Le, Christopher D. Manning ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [ELECTRA: Pre-training text encoders as discriminators rather than generators](https://arxiv.org/abs/2003.10555) | |
1. **[EnCodec](https://huggingface.co/docs/transformers/model_doc/encodec)** (Meta AI ใใ) Alexandre Dรฉfossez, Jade Copet, Gabriel Synnaeve, Yossi Adi. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [High Fidelity Neural Audio Compression](https://arxiv.org/abs/2210.13438) | |
1. **[EncoderDecoder](https://huggingface.co/docs/transformers/model_doc/encoder-decoder)** (Google Research ใใ) Sascha Rothe, Shashi Narayan, Aliaksei Severyn ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Leveraging Pre-trained Checkpoints for Sequence Generation Tasks](https://arxiv.org/abs/1907.12461) | |
1. **[ERNIE](https://huggingface.co/docs/transformers/model_doc/ernie)** (Baidu ใใ) Yu Sun, Shuohuan Wang, Yukun Li, Shikun Feng, Xuyi Chen, Han Zhang, Xin Tian, Danxiang Zhu, Hao Tian, Hua Wu ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [ERNIE: Enhanced Representation through Knowledge Integration](https://arxiv.org/abs/1904.09223) | |
1. **[ErnieM](https://huggingface.co/docs/transformers/model_doc/ernie_m)** (Baidu ใใ) Xuan Ouyang, Shuohuan Wang, Chao Pang, Yu Sun, Hao Tian, Hua Wu, Haifeng Wang. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [ERNIE-M: Enhanced Multilingual Representation by Aligning Cross-lingual Semantics with Monolingual Corpora](https://arxiv.org/abs/2012.15674) | |
1. **[ESM](https://huggingface.co/docs/transformers/model_doc/esm)** (Meta AI ใใ) ใฏใใฉใณในใใฉใผใใผใใญใใคใณ่จ่ชใขใใซใงใ. **ESM-1b** ใฏ Alexander Rives, Joshua Meier, Tom Sercu, Siddharth Goyal, Zeming Lin, Jason Liu, Demi Guo, Myle Ott, C. Lawrence Zitnick, Jerry Ma, and Rob Fergus ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Biological structure and function emerge from scaling unsupervised learning to 250 million protein sequences](https://www.pnas.org/content/118/15/e2016239118). **ESM-1v** ใฏ Joshua Meier, Roshan Rao, Robert Verkuil, Jason Liu, Tom Sercu and Alexander Rivesใใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Language models enable zero-shot prediction of the effects of mutations on protein function](https://doi.org/10.1101/2021.07.09.450648). **ESM-2** ใจใ**ESMFold** ใฏ Zeming Lin, Halil Akin, Roshan Rao, Brian Hie, Zhongkai Zhu, Wenting Lu, Allan dos Santos Costa, Maryam Fazel-Zarandi, Tom Sercu, Sal Candido, Alexander Rives ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Language models of protein sequences at the scale of evolution enable accurate structure prediction](https://doi.org/10.1101/2022.07.20.500902) | |
1. **[Falcon](https://huggingface.co/docs/transformers/model_doc/falcon)** (from Technology Innovation Institute) by Almazrouei, Ebtesam and Alobeidli, Hamza and Alshamsi, Abdulaziz and Cappelli, Alessandro and Cojocaru, Ruxandra and Debbah, Merouane and Goffinet, Etienne and Heslow, Daniel and Launay, Julien and Malartic, Quentin and Noune, Badreddine and Pannier, Baptiste and Penedo, Guilherme. | |
1. **[FLAN-T5](https://huggingface.co/docs/transformers/model_doc/flan-t5)** (Google AI ใใ) Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Eric Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, Albert Webson, Shixiang Shane Gu, Zhuyun Dai, Mirac Suzgun, Xinyun Chen, Aakanksha Chowdhery, Sharan Narang, Gaurav Mishra, Adams Yu, Vincent Zhao, Yanping Huang, Andrew Dai, Hongkun Yu, Slav Petrov, Ed H. Chi, Jeff Dean, Jacob Devlin, Adam Roberts, Denny Zhou, Quoc V ใใๅ ฌ้ใใใใฌใใธใใชใผ [google-research/t5x](https://github.com/google-research/t5x/blob/main/docs/models.md#flan-t5-checkpoints) Le, and Jason Wei | |
1. **[FLAN-UL2](https://huggingface.co/docs/transformers/model_doc/flan-ul2)** (from Google AI) released in the repository [google-research/t5x](https://github.com/google-research/t5x/blob/main/docs/models.md#flan-ul2-checkpoints) by Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Eric Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, Albert Webson, Shixiang Shane Gu, Zhuyun Dai, Mirac Suzgun, Xinyun Chen, Aakanksha Chowdhery, Sharan Narang, Gaurav Mishra, Adams Yu, Vincent Zhao, Yanping Huang, Andrew Dai, Hongkun Yu, Slav Petrov, Ed H. Chi, Jeff Dean, Jacob Devlin, Adam Roberts, Denny Zhou, Quoc V. Le, and Jason Wei | |
1. **[FlauBERT](https://huggingface.co/docs/transformers/model_doc/flaubert)** (CNRS ใใ) Hang Le, Loรฏc Vial, Jibril Frej, Vincent Segonne, Maximin Coavoux, Benjamin Lecouteux, Alexandre Allauzen, Benoรฎt Crabbรฉ, Laurent Besacier, Didier Schwab ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [FlauBERT: Unsupervised Language Model Pre-training for French](https://arxiv.org/abs/1912.05372) | |
1. **[FLAVA](https://huggingface.co/docs/transformers/model_doc/flava)** (Facebook AI ใใ) Amanpreet Singh, Ronghang Hu, Vedanuj Goswami, Guillaume Couairon, Wojciech Galuba, Marcus Rohrbach, and Douwe Kiela ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [FLAVA: A Foundational Language And Vision Alignment Model](https://arxiv.org/abs/2112.04482) | |
1. **[FNet](https://huggingface.co/docs/transformers/model_doc/fnet)** (Google Research ใใ) James Lee-Thorp, Joshua Ainslie, Ilya Eckstein, Santiago Ontanon ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [FNet: Mixing Tokens with Fourier Transforms](https://arxiv.org/abs/2105.03824) | |
1. **[FocalNet](https://huggingface.co/docs/transformers/model_doc/focalnet)** (Microsoft Research ใใ) Jianwei Yang, Chunyuan Li, Xiyang Dai, Lu Yuan, Jianfeng Gao. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Focal Modulation Networks](https://arxiv.org/abs/2203.11926) | |
1. **[Funnel Transformer](https://huggingface.co/docs/transformers/model_doc/funnel)** (CMU/Google Brain ใใ) Zihang Dai, Guokun Lai, Yiming Yang, Quoc V. Le ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Funnel-Transformer: Filtering out Sequential Redundancy for Efficient Language Processing](https://arxiv.org/abs/2006.03236) | |
1. **[GIT](https://huggingface.co/docs/transformers/model_doc/git)** (Microsoft Research ใใ) Jianfeng Wang, Zhengyuan Yang, Xiaowei Hu, Linjie Li, Kevin Lin, Zhe Gan, Zicheng Liu, Ce Liu, Lijuan Wang. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [GIT: A Generative Image-to-text Transformer for Vision and Language](https://arxiv.org/abs/2205.14100) | |
1. **[GLPN](https://huggingface.co/docs/transformers/model_doc/glpn)** (KAIST ใใ) Doyeon Kim, Woonghyun Ga, Pyungwhan Ahn, Donggyu Joo, Sehwan Chun, Junmo Kim ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Global-Local Path Networks for Monocular Depth Estimation with Vertical CutDepth](https://arxiv.org/abs/2201.07436) | |
1. **[GPT](https://huggingface.co/docs/transformers/model_doc/openai-gpt)** (OpenAI ใใ) Alec Radford, Karthik Narasimhan, Tim Salimans and Ilya Sutskever ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Improving Language Understanding by Generative Pre-Training](https://blog.openai.com/language-unsupervised/) | |
1. **[GPT Neo](https://huggingface.co/docs/transformers/model_doc/gpt_neo)** (EleutherAI ใใ) Sid Black, Stella Biderman, Leo Gao, Phil Wang and Connor Leahy ใใๅ ฌ้ใใใใฌใใธใใชใผ : [EleutherAI/gpt-neo](https://github.com/EleutherAI/gpt-neo) | |
1. **[GPT NeoX](https://huggingface.co/docs/transformers/model_doc/gpt_neox)** (EleutherAI ใใ) Sid Black, Stella Biderman, Eric Hallahan, Quentin Anthony, Leo Gao, Laurence Golding, Horace He, Connor Leahy, Kyle McDonell, Jason Phang, Michael Pieler, USVSN Sai Prashanth, Shivanshu Purohit, Laria Reynolds, Jonathan Tow, Ben Wang, Samuel Weinbach ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [GPT-NeoX-20B: An Open-Source Autoregressive Language Model](https://arxiv.org/abs/2204.06745) | |
1. **[GPT NeoX Japanese](https://huggingface.co/docs/transformers/model_doc/gpt_neox_japanese)** (ABEJA ใใ) Shinya Otani, Takayoshi Makabe, Anuj Arora, and Kyo Hattori ใใใชใชใผใน. | |
1. **[GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2)** (OpenAI ใใ) Alec Radford*, Jeffrey Wu*, Rewon Child, David Luan, Dario Amodei** and Ilya Sutskever** ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Language Models are Unsupervised Multitask Learners](https://blog.openai.com/better-language-models/) | |
1. **[GPT-J](https://huggingface.co/docs/transformers/model_doc/gptj)** (EleutherAI ใใ) Ben Wang and Aran Komatsuzaki ใใๅ ฌ้ใใใใฌใใธใใชใผ [kingoflolz/mesh-transformer-jax](https://github.com/kingoflolz/mesh-transformer-jax/) | |
1. **[GPT-Sw3](https://huggingface.co/docs/transformers/model_doc/gpt-sw3)** (AI-Sweden ใใ) Ariel Ekgren, Amaru Cuba Gyllensten, Evangelia Gogoulou, Alice Heiman, Severine Verlinden, Joey รhman, Fredrik Carlsson, Magnus Sahlgren ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Lessons Learned from GPT-SW3: Building the First Large-Scale Generative Language Model for Swedish](http://www.lrec-conf.org/proceedings/lrec2022/pdf/2022.lrec-1.376.pdf) | |
1. **[GPTBigCode](https://huggingface.co/docs/transformers/model_doc/gpt_bigcode)** (BigCode ใใ) Loubna Ben Allal, Raymond Li, Denis Kocetkov, Chenghao Mou, Christopher Akiki, Carlos Munoz Ferrandis, Niklas Muennighoff, Mayank Mishra, Alex Gu, Manan Dey, Logesh Kumar Umapathi, Carolyn Jane Anderson, Yangtian Zi, Joel Lamy Poirier, Hailey Schoelkopf, Sergey Troshin, Dmitry Abulkhanov, Manuel Romero, Michael Lappert, Francesco De Toni, Bernardo Garcรญa del Rรญo, Qian Liu, Shamik Bose, Urvashi Bhattacharyya, Terry Yue Zhuo, Ian Yu, Paulo Villegas, Marco Zocca, Sourab Mangrulkar, David Lansky, Huu Nguyen, Danish Contractor, Luis Villa, Jia Li, Dzmitry Bahdanau, Yacine Jernite, Sean Hughes, Daniel Fried, Arjun Guha, Harm de Vries, Leandro von Werra. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [SantaCoder: don't reach for the stars!](https://arxiv.org/abs/2301.03988) | |
1. **[GPTSAN-japanese](https://huggingface.co/docs/transformers/model_doc/gptsan-japanese)** [tanreinama/GPTSAN](https://github.com/tanreinama/GPTSAN/blob/main/report/model.md) ๅๆฌไฟไน(tanreinama)ใใใชใชใผในใใใพใใ. | |
1. **[Graphormer](https://huggingface.co/docs/transformers/model_doc/graphormer)** (Microsoft ใใ) Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng, Guolin Ke, Di He, Yanming Shen, Tie-Yan Liu ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Do Transformers Really Perform Bad for Graph Representation?](https://arxiv.org/abs/2106.05234). | |
1. **[GroupViT](https://huggingface.co/docs/transformers/model_doc/groupvit)** (UCSD, NVIDIA ใใ) Jiarui Xu, Shalini De Mello, Sifei Liu, Wonmin Byeon, Thomas Breuel, Jan Kautz, Xiaolong Wang ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [GroupViT: Semantic Segmentation Emerges from Text Supervision](https://arxiv.org/abs/2202.11094) | |
1. **[HerBERT](https://huggingface.co/docs/transformers/model_doc/herbert)** (Allegro.pl, AGH University of Science and Technology ใใ) Piotr Rybak, Robert Mroczkowski, Janusz Tracz, Ireneusz Gawlik. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [KLEJ: Comprehensive Benchmark for Polish Language Understanding](https://www.aclweb.org/anthology/2020.acl-main.111.pdf) | |
1. **[Hubert](https://huggingface.co/docs/transformers/model_doc/hubert)** (Facebook ใใ) Wei-Ning Hsu, Benjamin Bolte, Yao-Hung Hubert Tsai, Kushal Lakhotia, Ruslan Salakhutdinov, Abdelrahman Mohamed ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Units](https://arxiv.org/abs/2106.07447) | |
1. **[I-BERT](https://huggingface.co/docs/transformers/model_doc/ibert)** (Berkeley ใใ) Sehoon Kim, Amir Gholami, Zhewei Yao, Michael W. Mahoney, Kurt Keutzer ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [I-BERT: Integer-only BERT Quantization](https://arxiv.org/abs/2101.01321) | |
1. **[IDEFICS](https://huggingface.co/docs/transformers/model_doc/idefics)** (from HuggingFace) released with the paper [OBELICS: An Open Web-Scale Filtered Dataset of Interleaved Image-Text Documents](https://huggingface.co/papers/2306.16527) by Hugo Laurenรงon, Lucile Saulnier, Lรฉo Tronchon, Stas Bekman, Amanpreet Singh, Anton Lozhkov, Thomas Wang, Siddharth Karamcheti, Alexander M. Rush, Douwe Kiela, Matthieu Cord, Victor Sanh. | |
1. **[ImageGPT](https://huggingface.co/docs/transformers/model_doc/imagegpt)** (OpenAI ใใ) Mark Chen, Alec Radford, Rewon Child, Jeffrey Wu, Heewoo Jun, David Luan, Ilya Sutskever ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Generative Pretraining from Pixels](https://openai.com/blog/image-gpt/) | |
1. **[Informer](https://huggingface.co/docs/transformers/model_doc/informer)** (from Beihang University, UC Berkeley, Rutgers University, SEDD Company) released with the paper [Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting](https://arxiv.org/abs/2012.07436) by Haoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang, Jianxin Li, Hui Xiong, and Wancai Zhang. | |
1. **[InstructBLIP](https://huggingface.co/docs/transformers/model_doc/instructblip)** (Salesforce ใใ) Wenliang Dai, Junnan Li, Dongxu Li, Anthony Meng Huat Tiong, Junqi Zhao, Weisheng Wang, Boyang Li, Pascale Fung, Steven Hoi. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning](https://arxiv.org/abs/2305.06500) | |
1. **[Jukebox](https://huggingface.co/docs/transformers/model_doc/jukebox)** (OpenAI ใใ) Prafulla Dhariwal, Heewoo Jun, Christine Payne, Jong Wook Kim, Alec Radford, Ilya Sutskever ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Jukebox: A Generative Model for Music](https://arxiv.org/pdf/2005.00341.pdf) | |
1. **[LayoutLM](https://huggingface.co/docs/transformers/model_doc/layoutlm)** (Microsoft Research Asia ใใ) Yiheng Xu, Minghao Li, Lei Cui, Shaohan Huang, Furu Wei, Ming Zhou ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [LayoutLM: Pre-training of Text and Layout for Document Image Understanding](https://arxiv.org/abs/1912.13318) | |
1. **[LayoutLMv2](https://huggingface.co/docs/transformers/model_doc/layoutlmv2)** (Microsoft Research Asia ใใ) Yang Xu, Yiheng Xu, Tengchao Lv, Lei Cui, Furu Wei, Guoxin Wang, Yijuan Lu, Dinei Florencio, Cha Zhang, Wanxiang Che, Min Zhang, Lidong Zhou ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [LayoutLMv2: Multi-modal Pre-training for Visually-Rich Document Understanding](https://arxiv.org/abs/2012.14740) | |
1. **[LayoutLMv3](https://huggingface.co/docs/transformers/model_doc/layoutlmv3)** (Microsoft Research Asia ใใ) Yupan Huang, Tengchao Lv, Lei Cui, Yutong Lu, Furu Wei ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [LayoutLMv3: Pre-training for Document AI with Unified Text and Image Masking](https://arxiv.org/abs/2204.08387) | |
1. **[LayoutXLM](https://huggingface.co/docs/transformers/model_doc/layoutxlm)** (Microsoft Research Asia ใใ) Yiheng Xu, Tengchao Lv, Lei Cui, Guoxin Wang, Yijuan Lu, Dinei Florencio, Cha Zhang, Furu Wei ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [LayoutXLM: Multimodal Pre-training for Multilingual Visually-rich Document Understanding](https://arxiv.org/abs/2104.08836) | |
1. **[LED](https://huggingface.co/docs/transformers/model_doc/led)** (AllenAI ใใ) Iz Beltagy, Matthew E. Peters, Arman Cohan ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Longformer: The Long-Document Transformer](https://arxiv.org/abs/2004.05150) | |
1. **[LeViT](https://huggingface.co/docs/transformers/model_doc/levit)** (Meta AI ใใ) Ben Graham, Alaaeldin El-Nouby, Hugo Touvron, Pierre Stock, Armand Joulin, Hervรฉ Jรฉgou, Matthijs Douze ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [LeViT: A Vision Transformer in ConvNet's Clothing for Faster Inference](https://arxiv.org/abs/2104.01136) | |
1. **[LiLT](https://huggingface.co/docs/transformers/model_doc/lilt)** (South China University of Technology ใใ) Jiapeng Wang, Lianwen Jin, Kai Ding ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [LiLT: A Simple yet Effective Language-Independent Layout Transformer for Structured Document Understanding](https://arxiv.org/abs/2202.13669) | |
1. **[LLaMA](https://huggingface.co/docs/transformers/model_doc/llama)** (The FAIR team of Meta AI ใใ) Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothรฉe Lacroix, Baptiste Roziรจre, Naman Goyal, Eric Hambro, Faisal Azhar, Aurelien Rodriguez, Armand Joulin, Edouard Grave, Guillaume Lample. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [LLaMA: Open and Efficient Foundation Language Models](https://arxiv.org/abs/2302.13971) | |
1. **[Llama2](https://huggingface.co/docs/transformers/model_doc/llama2)** (The FAIR team of Meta AI ใใ) Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez Madian Khabsa, Isabel Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushka rMishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing EllenTan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aurelien Rodriguez, Robert Stojnic, Sergey Edunov, Thomas Scialom.. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Llama2: Open Foundation and Fine-Tuned Chat Models](https://ai.meta.com/research/publications/llama-2-open-foundation-and-fine-tuned-chat-models/XXX) | |
1. **[Longformer](https://huggingface.co/docs/transformers/model_doc/longformer)** (AllenAI ใใ) Iz Beltagy, Matthew E. Peters, Arman Cohan ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Longformer: The Long-Document Transformer](https://arxiv.org/abs/2004.05150) | |
1. **[LongT5](https://huggingface.co/docs/transformers/model_doc/longt5)** (Google AI ใใ) Mandy Guo, Joshua Ainslie, David Uthus, Santiago Ontanon, Jianmo Ni, Yun-Hsuan Sung, Yinfei Yang ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [LongT5: Efficient Text-To-Text Transformer for Long Sequences](https://arxiv.org/abs/2112.07916) | |
1. **[LUKE](https://huggingface.co/docs/transformers/model_doc/luke)** (Studio Ousia ใใ) Ikuya Yamada, Akari Asai, Hiroyuki Shindo, Hideaki Takeda, Yuji Matsumoto ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attention](https://arxiv.org/abs/2010.01057) | |
1. **[LXMERT](https://huggingface.co/docs/transformers/model_doc/lxmert)** (UNC Chapel Hill ใใ) Hao Tan and Mohit Bansal ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [LXMERT: Learning Cross-Modality Encoder Representations from Transformers for Open-Domain Question Answering](https://arxiv.org/abs/1908.07490) | |
1. **[M-CTC-T](https://huggingface.co/docs/transformers/model_doc/mctct)** (Facebook ใใ) Loren Lugosch, Tatiana Likhomanenko, Gabriel Synnaeve, and Ronan Collobert ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Pseudo-Labeling For Massively Multilingual Speech Recognition](https://arxiv.org/abs/2111.00161) | |
1. **[M2M100](https://huggingface.co/docs/transformers/model_doc/m2m_100)** (Facebook ใใ) Angela Fan, Shruti Bhosale, Holger Schwenk, Zhiyi Ma, Ahmed El-Kishky, Siddharth Goyal, Mandeep Baines, Onur Celebi, Guillaume Wenzek, Vishrav Chaudhary, Naman Goyal, Tom Birch, Vitaliy Liptchinsky, Sergey Edunov, Edouard Grave, Michael Auli, Armand Joulin ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Beyond English-Centric Multilingual Machine Translation](https://arxiv.org/abs/2010.11125) | |
1. **[MarianMT](https://huggingface.co/docs/transformers/model_doc/marian)** Jรถrg Tiedemann ใใ. [OPUS](http://opus.nlpl.eu/) ใไฝฟใใชใใๅญฆ็ฟใใใ "Machine translation" (ใใทใณใใฉใณในใฌใผใทใงใณ) ใขใใซ. [Marian Framework](https://marian-nmt.github.io/) ใฏMicrosoft Translator Teamใใ็พๅจ้็บไธญใงใ. | |
1. **[MarkupLM](https://huggingface.co/docs/transformers/model_doc/markuplm)** (Microsoft Research Asia ใใ) Junlong Li, Yiheng Xu, Lei Cui, Furu Wei ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [MarkupLM: Pre-training of Text and Markup Language for Visually-rich Document Understanding](https://arxiv.org/abs/2110.08518) | |
1. **[Mask2Former](https://huggingface.co/docs/transformers/model_doc/mask2former)** (FAIR and UIUC ใใ) Bowen Cheng, Ishan Misra, Alexander G. Schwing, Alexander Kirillov, Rohit Girdhar. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Masked-attention Mask Transformer for Universal Image Segmentation](https://arxiv.org/abs/2112.01527) | |
1. **[MaskFormer](https://huggingface.co/docs/transformers/model_doc/maskformer)** (Meta and UIUC ใใ) Bowen Cheng, Alexander G. Schwing, Alexander Kirillov ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Per-Pixel Classification is Not All You Need for Semantic Segmentation](https://arxiv.org/abs/2107.06278) | |
1. **[MatCha](https://huggingface.co/docs/transformers/model_doc/matcha)** (Google AI ใใ) Fangyu Liu, Francesco Piccinno, Syrine Krichene, Chenxi Pang, Kenton Lee, Mandar Joshi, Yasemin Altun, Nigel Collier, Julian Martin Eisenschlos. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [MatCha: Enhancing Visual Language Pretraining with Math Reasoning and Chart Derendering](https://arxiv.org/abs/2212.09662) | |
1. **[mBART](https://huggingface.co/docs/transformers/model_doc/mbart)** (Facebook ใใ) Yinhan Liu, Jiatao Gu, Naman Goyal, Xian Li, Sergey Edunov, Marjan Ghazvininejad, Mike Lewis, Luke Zettlemoyer ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Multilingual Denoising Pre-training for Neural Machine Translation](https://arxiv.org/abs/2001.08210) | |
1. **[mBART-50](https://huggingface.co/docs/transformers/model_doc/mbart)** (Facebook ใใ) Yuqing Tang, Chau Tran, Xian Li, Peng-Jen Chen, Naman Goyal, Vishrav Chaudhary, Jiatao Gu, Angela Fan ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Multilingual Translation with Extensible Multilingual Pretraining and Finetuning](https://arxiv.org/abs/2008.00401) | |
1. **[MEGA](https://huggingface.co/docs/transformers/model_doc/mega)** (Facebook ใใ) Xuezhe Ma, Chunting Zhou, Xiang Kong, Junxian He, Liangke Gui, Graham Neubig, Jonathan May, and Luke Zettlemoyer. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Mega: Moving Average Equipped Gated Attention](https://arxiv.org/abs/2209.10655) | |
1. **[Megatron-BERT](https://huggingface.co/docs/transformers/model_doc/megatron-bert)** (NVIDIA ใใ) Mohammad Shoeybi, Mostofa Patwary, Raul Puri, Patrick LeGresley, Jared Casper and Bryan Catanzaro ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism](https://arxiv.org/abs/1909.08053) | |
1. **[Megatron-GPT2](https://huggingface.co/docs/transformers/model_doc/megatron_gpt2)** (NVIDIA ใใ) Mohammad Shoeybi, Mostofa Patwary, Raul Puri, Patrick LeGresley, Jared Casper and Bryan Catanzaro ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism](https://arxiv.org/abs/1909.08053) | |
1. **[MGP-STR](https://huggingface.co/docs/transformers/model_doc/mgp-str)** (Alibaba Research ใใ) Peng Wang, Cheng Da, and Cong Yao. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Multi-Granularity Prediction for Scene Text Recognition](https://arxiv.org/abs/2209.03592) | |
1. **[mLUKE](https://huggingface.co/docs/transformers/model_doc/mluke)** (Studio Ousia ใใ) Ryokan Ri, Ikuya Yamada, and Yoshimasa Tsuruoka ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [mLUKE: The Power of Entity Representations in Multilingual Pretrained Language Models](https://arxiv.org/abs/2110.08151) | |
1. **[MMS](https://huggingface.co/docs/transformers/model_doc/mms)** (Facebook ใใ) Vineel Pratap, Andros Tjandra, Bowen Shi, Paden Tomasello, Arun Babu, Sayani Kundu, Ali Elkahky, Zhaoheng Ni, Apoorv Vyas, Maryam Fazel-Zarandi, Alexei Baevski, Yossi Adi, Xiaohui Zhang, Wei-Ning Hsu, Alexis Conneau, Michael Auli. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Scaling Speech Technology to 1,000+ Languages](https://arxiv.org/abs/2305.13516) | |
1. **[MobileBERT](https://huggingface.co/docs/transformers/model_doc/mobilebert)** (CMU/Google Brain ใใ) Zhiqing Sun, Hongkun Yu, Xiaodan Song, Renjie Liu, Yiming Yang, and Denny Zhou ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices](https://arxiv.org/abs/2004.02984) | |
1. **[MobileNetV1](https://huggingface.co/docs/transformers/model_doc/mobilenet_v1)** (Google Inc. ใใ) Andrew G. Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andreetto, Hartwig Adam ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications](https://arxiv.org/abs/1704.04861) | |
1. **[MobileNetV2](https://huggingface.co/docs/transformers/model_doc/mobilenet_v2)** (Google Inc. ใใ) Mark Sandler, Andrew Howard, Menglong Zhu, Andrey Zhmoginov, Liang-Chieh Chen ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [MobileNetV2: Inverted Residuals and Linear Bottlenecks](https://arxiv.org/abs/1801.04381) | |
1. **[MobileViT](https://huggingface.co/docs/transformers/model_doc/mobilevit)** (Apple ใใ) Sachin Mehta and Mohammad Rastegari ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer](https://arxiv.org/abs/2110.02178) | |
1. **[MobileViTV2](https://huggingface.co/docs/transformers/model_doc/mobilevitv2)** (Apple ใใ) Sachin Mehta and Mohammad Rastegari. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Separable Self-attention for Mobile Vision Transformers](https://arxiv.org/abs/2206.02680) | |
1. **[MPNet](https://huggingface.co/docs/transformers/model_doc/mpnet)** (Microsoft Research ใใ) Kaitao Song, Xu Tan, Tao Qin, Jianfeng Lu, Tie-Yan Liu ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [MPNet: Masked and Permuted Pre-training for Language Understanding](https://arxiv.org/abs/2004.09297) | |
1. **[MPT](https://huggingface.co/docs/transformers/model_doc/mpt)** (MosaiML ใใ) the MosaicML NLP Team. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [llm-foundry](https://github.com/mosaicml/llm-foundry/) | |
1. **[MRA](https://huggingface.co/docs/transformers/model_doc/mra)** (the University of Wisconsin - Madison ใใ) Zhanpeng Zeng, Sourav Pal, Jeffery Kline, Glenn M Fung, Vikas Singh. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Multi Resolution Analysis (MRA)](https://arxiv.org/abs/2207.10284) | |
1. **[MT5](https://huggingface.co/docs/transformers/model_doc/mt5)** (Google AI ใใ) Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, Colin Raffel ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [mT5: A massively multilingual pre-trained text-to-text transformer](https://arxiv.org/abs/2010.11934) | |
1. **[MusicGen](https://huggingface.co/docs/transformers/model_doc/musicgen)** (from Meta) released with the paper [Simple and Controllable Music Generation](https://arxiv.org/abs/2306.05284) by Jade Copet, Felix Kreuk, Itai Gat, Tal Remez, David Kant, Gabriel Synnaeve, Yossi Adi and Alexandre Dรฉfossez. | |
1. **[MVP](https://huggingface.co/docs/transformers/model_doc/mvp)** (RUC AI Box ใใ) Tianyi Tang, Junyi Li, Wayne Xin Zhao and Ji-Rong Wen ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [MVP: Multi-task Supervised Pre-training for Natural Language Generation](https://arxiv.org/abs/2206.12131) | |
1. **[NAT](https://huggingface.co/docs/transformers/model_doc/nat)** (SHI Labs ใใ) Ali Hassani, Steven Walton, Jiachen Li, Shen Li, and Humphrey Shi ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Neighborhood Attention Transformer](https://arxiv.org/abs/2204.07143) | |
1. **[Nezha](https://huggingface.co/docs/transformers/model_doc/nezha)** (Huawei Noahโs Ark Lab ใใ) Junqiu Wei, Xiaozhe Ren, Xiaoguang Li, Wenyong Huang, Yi Liao, Yasheng Wang, Jiashu Lin, Xin Jiang, Xiao Chen and Qun Liu ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [NEZHA: Neural Contextualized Representation for Chinese Language Understanding](https://arxiv.org/abs/1909.00204) | |
1. **[NLLB](https://huggingface.co/docs/transformers/model_doc/nllb)** (Meta ใใ) the NLLB team ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [No Language Left Behind: Scaling Human-Centered Machine Translation](https://arxiv.org/abs/2207.04672) | |
1. **[NLLB-MOE](https://huggingface.co/docs/transformers/model_doc/nllb-moe)** (Meta ใใ) the NLLB team. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [No Language Left Behind: Scaling Human-Centered Machine Translation](https://arxiv.org/abs/2207.04672) | |
1. **[Nystrรถmformer](https://huggingface.co/docs/transformers/model_doc/nystromformer)** (the University of Wisconsin - Madison ใใ) Yunyang Xiong, Zhanpeng Zeng, Rudrasis Chakraborty, Mingxing Tan, Glenn Fung, Yin Li, Vikas Singh ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Nystrรถmformer: A Nystrรถm-Based Algorithm for Approximating Self-Attention](https://arxiv.org/abs/2102.03902) | |
1. **[OneFormer](https://huggingface.co/docs/transformers/model_doc/oneformer)** (SHI Labs ใใ) Jitesh Jain, Jiachen Li, MangTik Chiu, Ali Hassani, Nikita Orlov, Humphrey Shi ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [OneFormer: One Transformer to Rule Universal Image Segmentation](https://arxiv.org/abs/2211.06220) | |
1. **[OpenLlama](https://huggingface.co/docs/transformers/model_doc/open-llama)** (from [s-JoL](https://huggingface.co/s-JoL)) released in [Open-Llama](https://github.com/s-JoL/Open-Llama). | |
1. **[OPT](https://huggingface.co/docs/transformers/master/model_doc/opt)** (Meta AI ใใ) Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen et al ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [OPT: Open Pre-trained Transformer Language Models](https://arxiv.org/abs/2205.01068) | |
1. **[OWL-ViT](https://huggingface.co/docs/transformers/model_doc/owlvit)** (Google AI ใใ) Matthias Minderer, Alexey Gritsenko, Austin Stone, Maxim Neumann, Dirk Weissenborn, Alexey Dosovitskiy, Aravindh Mahendran, Anurag Arnab, Mostafa Dehghani, Zhuoran Shen, Xiao Wang, Xiaohua Zhai, Thomas Kipf, and Neil Houlsby ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Simple Open-Vocabulary Object Detection with Vision Transformers](https://arxiv.org/abs/2205.06230) | |
1. **[Pegasus](https://huggingface.co/docs/transformers/model_doc/pegasus)** (Google ใใ) Jingqing Zhang, Yao Zhao, Mohammad Saleh and Peter J. Liu ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarization](https://arxiv.org/abs/1912.08777) | |
1. **[PEGASUS-X](https://huggingface.co/docs/transformers/model_doc/pegasus_x)** (Google ใใ) Jason Phang, Yao Zhao, and Peter J. Liu ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Investigating Efficiently Extending Transformers for Long Input Summarization](https://arxiv.org/abs/2208.04347) | |
1. **[Perceiver IO](https://huggingface.co/docs/transformers/model_doc/perceiver)** (Deepmind ใใ) Andrew Jaegle, Sebastian Borgeaud, Jean-Baptiste Alayrac, Carl Doersch, Catalin Ionescu, David Ding, Skanda Koppula, Daniel Zoran, Andrew Brock, Evan Shelhamer, Olivier Hรฉnaff, Matthew M. Botvinick, Andrew Zisserman, Oriol Vinyals, Joรฃo Carreira ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Perceiver IO: A General Architecture for Structured Inputs & Outputs](https://arxiv.org/abs/2107.14795) | |
1. **[Persimmon](https://huggingface.co/docs/transformers/model_doc/persimmon)** (ADEPT ใใ) Erich Elsen, Augustus Odena, Maxwell Nye, Saฤnak Taลฤฑrlar, Tri Dao, Curtis Hawthorne, Deepak Moparthi, Arushi Somani. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [blog post](https://www.adept.ai/blog/persimmon-8b) | |
1. **[PhoBERT](https://huggingface.co/docs/transformers/model_doc/phobert)** (VinAI Research ใใ) Dat Quoc Nguyen and Anh Tuan Nguyen ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [PhoBERT: Pre-trained language models for Vietnamese](https://www.aclweb.org/anthology/2020.findings-emnlp.92/) | |
1. **[Pix2Struct](https://huggingface.co/docs/transformers/model_doc/pix2struct)** (Google ใใ) Kenton Lee, Mandar Joshi, Iulia Turc, Hexiang Hu, Fangyu Liu, Julian Eisenschlos, Urvashi Khandelwal, Peter Shaw, Ming-Wei Chang, Kristina Toutanova. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understanding](https://arxiv.org/abs/2210.03347) | |
1. **[PLBart](https://huggingface.co/docs/transformers/model_doc/plbart)** (UCLA NLP ใใ) Wasi Uddin Ahmad, Saikat Chakraborty, Baishakhi Ray, Kai-Wei Chang ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Unified Pre-training for Program Understanding and Generation](https://arxiv.org/abs/2103.06333) | |
1. **[PoolFormer](https://huggingface.co/docs/transformers/model_doc/poolformer)** (Sea AI Labs ใใ) Yu, Weihao and Luo, Mi and Zhou, Pan and Si, Chenyang and Zhou, Yichen and Wang, Xinchao and Feng, Jiashi and Yan, Shuicheng ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [MetaFormer is Actually What You Need for Vision](https://arxiv.org/abs/2111.11418) | |
1. **[Pop2Piano](https://huggingface.co/docs/transformers/model_doc/pop2piano)** released with the paper [Pop2Piano : Pop Audio-based Piano Cover Generation](https://arxiv.org/abs/2211.00895) by Jongho Choi, Kyogu Lee. | |
1. **[ProphetNet](https://huggingface.co/docs/transformers/model_doc/prophetnet)** (Microsoft Research ใใ) Yu Yan, Weizhen Qi, Yeyun Gong, Dayiheng Liu, Nan Duan, Jiusheng Chen, Ruofei Zhang and Ming Zhou ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [ProphetNet: Predicting Future N-gram for Sequence-to-Sequence Pre-training](https://arxiv.org/abs/2001.04063) | |
1. **[PVT](https://huggingface.co/docs/transformers/model_doc/pvt)** (Nanjing University, The University of Hong Kong etc. ใใ) Wenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan, Kaitao Song, Ding Liang, Tong Lu, Ping Luo, Ling Shao. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions](https://arxiv.org/pdf/2102.12122.pdf) | |
1. **[QDQBert](https://huggingface.co/docs/transformers/model_doc/qdqbert)** (NVIDIA ใใ) Hao Wu, Patrick Judd, Xiaojie Zhang, Mikhail Isaev and Paulius Micikevicius ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluation](https://arxiv.org/abs/2004.09602) | |
1. **[RAG](https://huggingface.co/docs/transformers/model_doc/rag)** (Facebook ใใ) Patrick Lewis, Ethan Perez, Aleksandara Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Kรผttler, Mike Lewis, Wen-tau Yih, Tim Rocktรคschel, Sebastian Riedel, Douwe Kiela ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks](https://arxiv.org/abs/2005.11401) | |
1. **[REALM](https://huggingface.co/docs/transformers/model_doc/realm.html)** (Google Research ใใ) Kelvin Guu, Kenton Lee, Zora Tung, Panupong Pasupat and Ming-Wei Chang ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [REALM: Retrieval-Augmented Language Model Pre-Training](https://arxiv.org/abs/2002.08909) | |
1. **[Reformer](https://huggingface.co/docs/transformers/model_doc/reformer)** (Google Research ใใ) Nikita Kitaev, ลukasz Kaiser, Anselm Levskaya ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Reformer: The Efficient Transformer](https://arxiv.org/abs/2001.04451) | |
1. **[RegNet](https://huggingface.co/docs/transformers/model_doc/regnet)** (META Platforms ใใ) Ilija Radosavovic, Raj Prateek Kosaraju, Ross Girshick, Kaiming He, Piotr Dollรกr ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Designing Network Design Space](https://arxiv.org/abs/2003.13678) | |
1. **[RemBERT](https://huggingface.co/docs/transformers/model_doc/rembert)** (Google Research ใใ) Hyung Won Chung, Thibault Fรฉvry, Henry Tsai, M. Johnson, Sebastian Ruder ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Rethinking embedding coupling in pre-trained language models](https://arxiv.org/abs/2010.12821) | |
1. **[ResNet](https://huggingface.co/docs/transformers/model_doc/resnet)** (Microsoft Research ใใ) Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Deep Residual Learning for Image Recognition](https://arxiv.org/abs/1512.03385) | |
1. **[RoBERTa](https://huggingface.co/docs/transformers/model_doc/roberta)** (Facebook ใใ), Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, Veselin Stoyanov ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [RoBERTa: A Robustly Optimized BERT Pretraining Approach](https://arxiv.org/abs/1907.11692) | |
1. **[RoBERTa-PreLayerNorm](https://huggingface.co/docs/transformers/model_doc/roberta-prelayernorm)** (Facebook ใใ) Myle Ott, Sergey Edunov, Alexei Baevski, Angela Fan, Sam Gross, Nathan Ng, David Grangier, Michael Auli ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [fairseq: A Fast, Extensible Toolkit for Sequence Modeling](https://arxiv.org/abs/1904.01038) | |
1. **[RoCBert](https://huggingface.co/docs/transformers/model_doc/roc_bert)** (WeChatAI ใใ) HuiSu, WeiweiShi, XiaoyuShen, XiaoZhou, TuoJi, JiaruiFang, JieZhou ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [RoCBert: Robust Chinese Bert with Multimodal Contrastive Pretraining](https://aclanthology.org/2022.acl-long.65.pdf) | |
1. **[RoFormer](https://huggingface.co/docs/transformers/model_doc/roformer)** (ZhuiyiTechnology ใใ), Jianlin Su and Yu Lu and Shengfeng Pan and Bo Wen and Yunfeng Liu ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [RoFormer: Enhanced Transformer with Rotary Position Embedding](https://arxiv.org/abs/2104.09864) | |
1. **[RWKV](https://huggingface.co/docs/transformers/model_doc/rwkv)** (Bo Peng ใใ) Bo Peng. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [this repo](https://github.com/BlinkDL/RWKV-LM) | |
1. **[SegFormer](https://huggingface.co/docs/transformers/model_doc/segformer)** (NVIDIA ใใ) Enze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar, Jose M. Alvarez, Ping Luo ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers](https://arxiv.org/abs/2105.15203) | |
1. **[Segment Anything](https://huggingface.co/docs/transformers/model_doc/sam)** (Meta AI ใใ) Alexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao, Chloe Rolland, Laura Gustafson, Tete Xiao, Spencer Whitehead, Alex Berg, Wan-Yen Lo, Piotr Dollar, Ross Girshick. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Segment Anything](https://arxiv.org/pdf/2304.02643v1.pdf) | |
1. **[SEW](https://huggingface.co/docs/transformers/model_doc/sew)** (ASAPP ใใ) Felix Wu, Kwangyoun Kim, Jing Pan, Kyu Han, Kilian Q. Weinberger, Yoav Artzi ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Performance-Efficiency Trade-offs in Unsupervised Pre-training for Speech Recognition](https://arxiv.org/abs/2109.06870) | |
1. **[SEW-D](https://huggingface.co/docs/transformers/model_doc/sew_d)** (ASAPP ใใ) Felix Wu, Kwangyoun Kim, Jing Pan, Kyu Han, Kilian Q. Weinberger, Yoav Artzi ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Performance-Efficiency Trade-offs in Unsupervised Pre-training for Speech Recognition](https://arxiv.org/abs/2109.06870) | |
1. **[SpeechT5](https://huggingface.co/docs/transformers/model_doc/speecht5)** (Microsoft Research ใใ) Junyi Ao, Rui Wang, Long Zhou, Chengyi Wang, Shuo Ren, Yu Wu, Shujie Liu, Tom Ko, Qing Li, Yu Zhang, Zhihua Wei, Yao Qian, Jinyu Li, Furu Wei. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [SpeechT5: Unified-Modal Encoder-Decoder Pre-Training for Spoken Language Processing](https://arxiv.org/abs/2110.07205) | |
1. **[SpeechToTextTransformer](https://huggingface.co/docs/transformers/model_doc/speech_to_text)** (Facebook ใใ), Changhan Wang, Yun Tang, Xutai Ma, Anne Wu, Dmytro Okhonko, Juan Pino ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [fairseq S2T: Fast Speech-to-Text Modeling with fairseq](https://arxiv.org/abs/2010.05171) | |
1. **[SpeechToTextTransformer2](https://huggingface.co/docs/transformers/model_doc/speech_to_text_2)** (Facebook ใใ), Changhan Wang, Anne Wu, Juan Pino, Alexei Baevski, Michael Auli, Alexis Conneau ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Large-Scale Self- and Semi-Supervised Learning for Speech Translation](https://arxiv.org/abs/2104.06678) | |
1. **[Splinter](https://huggingface.co/docs/transformers/model_doc/splinter)** (Tel Aviv University ใใ), Ori Ram, Yuval Kirstain, Jonathan Berant, Amir Globerson, Omer Levy ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Few-Shot Question Answering by Pretraining Span Selection](https://arxiv.org/abs/2101.00438) | |
1. **[SqueezeBERT](https://huggingface.co/docs/transformers/model_doc/squeezebert)** (Berkeley ใใ) Forrest N. Iandola, Albert E. Shaw, Ravi Krishna, and Kurt W. Keutzer ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [SqueezeBERT: What can computer vision teach NLP about efficient neural networks?](https://arxiv.org/abs/2006.11316) | |
1. **[SwiftFormer](https://huggingface.co/docs/transformers/model_doc/swiftformer)** (MBZUAI ใใ) Abdelrahman Shaker, Muhammad Maaz, Hanoona Rasheed, Salman Khan, Ming-Hsuan Yang, Fahad Shahbaz Khan. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [SwiftFormer: Efficient Additive Attention for Transformer-based Real-time Mobile Vision Applications](https://arxiv.org/abs/2303.15446) | |
1. **[Swin Transformer](https://huggingface.co/docs/transformers/model_doc/swin)** (Microsoft ใใ) Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, Baining Guo ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Swin Transformer: Hierarchical Vision Transformer using Shifted Windows](https://arxiv.org/abs/2103.14030) | |
1. **[Swin Transformer V2](https://huggingface.co/docs/transformers/model_doc/swinv2)** (Microsoft ใใ) Ze Liu, Han Hu, Yutong Lin, Zhuliang Yao, Zhenda Xie, Yixuan Wei, Jia Ning, Yue Cao, Zheng Zhang, Li Dong, Furu Wei, Baining Guo ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Swin Transformer V2: Scaling Up Capacity and Resolution](https://arxiv.org/abs/2111.09883) | |
1. **[Swin2SR](https://huggingface.co/docs/transformers/model_doc/swin2sr)** (University of Wรผrzburg ใใ) Marcos V. Conde, Ui-Jin Choi, Maxime Burchi, Radu Timofte ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Swin2SR: SwinV2 Transformer for Compressed Image Super-Resolution and Restoration](https://arxiv.org/abs/2209.11345) | |
1. **[SwitchTransformers](https://huggingface.co/docs/transformers/model_doc/switch_transformers)** (Google ใใ) William Fedus, Barret Zoph, Noam Shazeer ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity](https://arxiv.org/abs/2101.03961) | |
1. **[T5](https://huggingface.co/docs/transformers/model_doc/t5)** (Google AI ใใ) Colin Raffel and Noam Shazeer and Adam Roberts and Katherine Lee and Sharan Narang and Michael Matena and Yanqi Zhou and Wei Li and Peter J. Liu ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer](https://arxiv.org/abs/1910.10683) | |
1. **[T5v1.1](https://huggingface.co/docs/transformers/model_doc/t5v1.1)** (Google AI ใใ) Colin Raffel and Noam Shazeer and Adam Roberts and Katherine Lee and Sharan Narang and Michael Matena and Yanqi Zhou and Wei Li and Peter J. Liu ใใๅ ฌ้ใใใใฌใใธใใชใผ [google-research/text-to-text-transfer-transformer](https://github.com/google-research/text-to-text-transfer-transformer/blob/main/released_checkpoints.md#t511) | |
1. **[Table Transformer](https://huggingface.co/docs/transformers/model_doc/table-transformer)** (Microsoft Research ใใ) Brandon Smock, Rohith Pesala, Robin Abraham ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [PubTables-1M: Towards Comprehensive Table Extraction From Unstructured Documents](https://arxiv.org/abs/2110.00061) | |
1. **[TAPAS](https://huggingface.co/docs/transformers/model_doc/tapas)** (Google AI ใใ) Jonathan Herzig, Paweล Krzysztof Nowak, Thomas Mรผller, Francesco Piccinno and Julian Martin Eisenschlos ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [TAPAS: Weakly Supervised Table Parsing via Pre-training](https://arxiv.org/abs/2004.02349) | |
1. **[TAPEX](https://huggingface.co/docs/transformers/model_doc/tapex)** (Microsoft Research ใใ) Qian Liu, Bei Chen, Jiaqi Guo, Morteza Ziyadi, Zeqi Lin, Weizhu Chen, Jian-Guang Lou ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [TAPEX: Table Pre-training via Learning a Neural SQL Executor](https://arxiv.org/abs/2107.07653) | |
1. **[Time Series Transformer](https://huggingface.co/docs/transformers/model_doc/time_series_transformer)** (HuggingFace ใใ). | |
1. **[TimeSformer](https://huggingface.co/docs/transformers/model_doc/timesformer)** (Facebook ใใ) Gedas Bertasius, Heng Wang, Lorenzo Torresani ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Is Space-Time Attention All You Need for Video Understanding?](https://arxiv.org/abs/2102.05095) | |
1. **[Trajectory Transformer](https://huggingface.co/docs/transformers/model_doc/trajectory_transformers)** (the University of California at Berkeley ใใ) Michael Janner, Qiyang Li, Sergey Levine ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Offline Reinforcement Learning as One Big Sequence Modeling Problem](https://arxiv.org/abs/2106.02039) | |
1. **[Transformer-XL](https://huggingface.co/docs/transformers/model_doc/transfo-xl)** (Google/CMU ใใ) Zihang Dai*, Zhilin Yang*, Yiming Yang, Jaime Carbonell, Quoc V. Le, Ruslan Salakhutdinov ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context](https://arxiv.org/abs/1901.02860) | |
1. **[TrOCR](https://huggingface.co/docs/transformers/model_doc/trocr)** (Microsoft ใใ), Minghao Li, Tengchao Lv, Lei Cui, Yijuan Lu, Dinei Florencio, Cha Zhang, Zhoujun Li, Furu Wei ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [TrOCR: Transformer-based Optical Character Recognition with Pre-trained Models](https://arxiv.org/abs/2109.10282) | |
1. **[TVLT](https://huggingface.co/docs/transformers/model_doc/tvlt)** (from UNC Chapel Hill ใใ), Zineng Tang, Jaemin Cho, Yixin Nie, Mohit Bansal ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [TVLT: Textless Vision-Language Transformer](https://arxiv.org/abs/2209.14156) | |
1. **[UL2](https://huggingface.co/docs/transformers/model_doc/ul2)** (Google Research ใใ) Yi Tay, Mostafa Dehghani, Vinh Q ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Unifying Language Learning Paradigms](https://arxiv.org/abs/2205.05131v1) Tran, Xavier Garcia, Dara Bahri, Tal Schuster, Huaixiu Steven Zheng, Neil Houlsby, Donald Metzler | |
1. **[UMT5](https://huggingface.co/docs/transformers/model_doc/umt5)** (Google Research ใใ) Hyung Won Chung, Xavier Garcia, Adam Roberts, Yi Tay, Orhan Firat, Sharan Narang, Noah Constant. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [UniMax: Fairer and More Effective Language Sampling for Large-Scale Multilingual Pretraining](https://openreview.net/forum?id=kXwdL1cWOAi) | |
1. **[UniSpeech](https://huggingface.co/docs/transformers/model_doc/unispeech)** (Microsoft Research ใใ) Chengyi Wang, Yu Wu, Yao Qian, Kenichi Kumatani, Shujie Liu, Furu Wei, Michael Zeng, Xuedong Huang ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [UniSpeech: Unified Speech Representation Learning with Labeled and Unlabeled Data](https://arxiv.org/abs/2101.07597) | |
1. **[UniSpeechSat](https://huggingface.co/docs/transformers/model_doc/unispeech-sat)** (Microsoft Research ใใ) Sanyuan Chen, Yu Wu, Chengyi Wang, Zhengyang Chen, Zhuo Chen, Shujie Liu, Jian Wu, Yao Qian, Furu Wei, Jinyu Li, Xiangzhan Yu ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [UNISPEECH-SAT: UNIVERSAL SPEECH REPRESENTATION LEARNING WITH SPEAKER AWARE PRE-TRAINING](https://arxiv.org/abs/2110.05752) | |
1. **[UPerNet](https://huggingface.co/docs/transformers/model_doc/upernet)** (Peking University ใใ) Tete Xiao, Yingcheng Liu, Bolei Zhou, Yuning Jiang, Jian Sun. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Unified Perceptual Parsing for Scene Understanding](https://arxiv.org/abs/1807.10221) | |
1. **[VAN](https://huggingface.co/docs/transformers/model_doc/van)** (Tsinghua University and Nankai University ใใ) Meng-Hao Guo, Cheng-Ze Lu, Zheng-Ning Liu, Ming-Ming Cheng, Shi-Min Hu ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Visual Attention Network](https://arxiv.org/abs/2202.09741) | |
1. **[VideoMAE](https://huggingface.co/docs/transformers/model_doc/videomae)** (Multimedia Computing Group, Nanjing University ใใ) Zhan Tong, Yibing Song, Jue Wang, Limin Wang ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-Training](https://arxiv.org/abs/2203.12602) | |
1. **[ViLT](https://huggingface.co/docs/transformers/model_doc/vilt)** (NAVER AI Lab/Kakao Enterprise/Kakao Brain ใใ) Wonjae Kim, Bokyung Son, Ildoo Kim ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [ViLT: Vision-and-Language Transformer Without Convolution or Region Supervision](https://arxiv.org/abs/2102.03334) | |
1. **[Vision Transformer (ViT)](https://huggingface.co/docs/transformers/model_doc/vit)** (Google AI ใใ) Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, Neil Houlsby ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale](https://arxiv.org/abs/2010.11929) | |
1. **[VisualBERT](https://huggingface.co/docs/transformers/model_doc/visual_bert)** (UCLA NLP ใใ) Liunian Harold Li, Mark Yatskar, Da Yin, Cho-Jui Hsieh, Kai-Wei Chang ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [VisualBERT: A Simple and Performant Baseline for Vision and Language](https://arxiv.org/pdf/1908.03557) | |
1. **[ViT Hybrid](https://huggingface.co/docs/transformers/model_doc/vit_hybrid)** (Google AI ใใ) Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, Neil Houlsby ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale](https://arxiv.org/abs/2010.11929) | |
1. **[VitDet](https://huggingface.co/docs/transformers/model_doc/vitdet)** (Meta AI ใใ) Yanghao Li, Hanzi Mao, Ross Girshick, Kaiming He. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Exploring Plain Vision Transformer Backbones for Object Detection](https://arxiv.org/abs/2203.16527) | |
1. **[ViTMAE](https://huggingface.co/docs/transformers/model_doc/vit_mae)** (Meta AI ใใ) Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Dollรกr, Ross Girshick ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Masked Autoencoders Are Scalable Vision Learners](https://arxiv.org/abs/2111.06377) | |
1. **[ViTMSN](https://huggingface.co/docs/transformers/model_doc/vit_msn)** (Meta AI ใใ) Mahmoud Assran, Mathilde Caron, Ishan Misra, Piotr Bojanowski, Florian Bordes, Pascal Vincent, Armand Joulin, Michael Rabbat, Nicolas Ballas ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Masked Siamese Networks for Label-Efficient Learning](https://arxiv.org/abs/2204.07141) | |
1. **[VITS](https://huggingface.co/docs/transformers/model_doc/vits)** (Kakao Enterprise ใใ) Jaehyeon Kim, Jungil Kong, Juhee Son. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech](https://arxiv.org/abs/2106.06103) | |
1. **[ViViT](https://huggingface.co/docs/transformers/model_doc/vivit)** (from Google Research) released with the paper [ViViT: A Video Vision Transformer](https://arxiv.org/abs/2103.15691) by Anurag Arnab, Mostafa Dehghani, Georg Heigold, Chen Sun, Mario Luฤiฤ, Cordelia Schmid. | |
1. **[Wav2Vec2](https://huggingface.co/docs/transformers/model_doc/wav2vec2)** (Facebook AI ใใ) Alexei Baevski, Henry Zhou, Abdelrahman Mohamed, Michael Auli ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations](https://arxiv.org/abs/2006.11477) | |
1. **[Wav2Vec2-Conformer](https://huggingface.co/docs/transformers/model_doc/wav2vec2-conformer)** (Facebook AI ใใ) Changhan Wang, Yun Tang, Xutai Ma, Anne Wu, Sravya Popuri, Dmytro Okhonko, Juan Pino ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [FAIRSEQ S2T: Fast Speech-to-Text Modeling with FAIRSEQ](https://arxiv.org/abs/2010.05171) | |
1. **[Wav2Vec2Phoneme](https://huggingface.co/docs/transformers/model_doc/wav2vec2_phoneme)** (Facebook AI ใใ) Qiantong Xu, Alexei Baevski, Michael Auli ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Simple and Effective Zero-shot Cross-lingual Phoneme Recognition](https://arxiv.org/abs/2109.11680) | |
1. **[WavLM](https://huggingface.co/docs/transformers/model_doc/wavlm)** (Microsoft Research ใใ) Sanyuan Chen, Chengyi Wang, Zhengyang Chen, Yu Wu, Shujie Liu, Zhuo Chen, Jinyu Li, Naoyuki Kanda, Takuya Yoshioka, Xiong Xiao, Jian Wu, Long Zhou, Shuo Ren, Yanmin Qian, Yao Qian, Jian Wu, Michael Zeng, Furu Wei ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [WavLM: Large-Scale Self-Supervised Pre-Training for Full Stack Speech Processing](https://arxiv.org/abs/2110.13900) | |
1. **[Whisper](https://huggingface.co/docs/transformers/model_doc/whisper)** (OpenAI ใใ) Alec Radford, Jong Wook Kim, Tao Xu, Greg Brockman, Christine McLeavey, Ilya Sutskever ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Robust Speech Recognition via Large-Scale Weak Supervision](https://cdn.openai.com/papers/whisper.pdf) | |
1. **[X-CLIP](https://huggingface.co/docs/transformers/model_doc/xclip)** (Microsoft Research ใใ) Bolin Ni, Houwen Peng, Minghao Chen, Songyang Zhang, Gaofeng Meng, Jianlong Fu, Shiming Xiang, Haibin Ling ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Expanding Language-Image Pretrained Models for General Video Recognition](https://arxiv.org/abs/2208.02816) | |
1. **[X-MOD](https://huggingface.co/docs/transformers/model_doc/xmod)** (Meta AI ใใ) Jonas Pfeiffer, Naman Goyal, Xi Lin, Xian Li, James Cross, Sebastian Riedel, Mikel Artetxe. ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ [Lifting the Curse of Multilinguality by Pre-training Modular Transformers](http://dx.doi.org/10.18653/v1/2022.naacl-main.255) | |
1. **[XGLM](https://huggingface.co/docs/transformers/model_doc/xglm)** (From Facebook AI) Xi Victoria Lin, Todor Mihaylov, Mikel Artetxe, Tianlu Wang, Shuohui Chen, Daniel Simig, Myle Ott, Naman Goyal, Shruti Bhosale, Jingfei Du, Ramakanth Pasunuru, Sam Shleifer, Punit Singh Koura, Vishrav Chaudhary, Brian O'Horo, Jeff Wang, Luke Zettlemoyer, Zornitsa Kozareva, Mona Diab, Veselin Stoyanov, Xian Li ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Few-shot Learning with Multilingual Language Models](https://arxiv.org/abs/2112.10668) | |
1. **[XLM](https://huggingface.co/docs/transformers/model_doc/xlm)** (Facebook ใใ) Guillaume Lample and Alexis Conneau ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Cross-lingual Language Model Pretraining](https://arxiv.org/abs/1901.07291) | |
1. **[XLM-ProphetNet](https://huggingface.co/docs/transformers/model_doc/xlm-prophetnet)** (Microsoft Research ใใ) Yu Yan, Weizhen Qi, Yeyun Gong, Dayiheng Liu, Nan Duan, Jiusheng Chen, Ruofei Zhang and Ming Zhou ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [ProphetNet: Predicting Future N-gram for Sequence-to-Sequence Pre-training](https://arxiv.org/abs/2001.04063) | |
1. **[XLM-RoBERTa](https://huggingface.co/docs/transformers/model_doc/xlm-roberta)** (Facebook AI ใใ), Alexis Conneau*, Kartikay Khandelwal*, Naman Goyal, Vishrav Chaudhary, Guillaume Wenzek, Francisco Guzmรกn, Edouard Grave, Myle Ott, Luke Zettlemoyer and Veselin Stoyanov ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Unsupervised Cross-lingual Representation Learning at Scale](https://arxiv.org/abs/1911.02116) | |
1. **[XLM-RoBERTa-XL](https://huggingface.co/docs/transformers/model_doc/xlm-roberta-xl)** (Facebook AI ใใ), Naman Goyal, Jingfei Du, Myle Ott, Giri Anantharaman, Alexis Conneau ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Larger-Scale Transformers for Multilingual Masked Language Modeling](https://arxiv.org/abs/2105.00572) | |
1. **[XLM-V](https://huggingface.co/docs/transformers/model_doc/xlm-v)** (Meta AI ใใ) Davis Liang, Hila Gonen, Yuning Mao, Rui Hou, Naman Goyal, Marjan Ghazvininejad, Luke Zettlemoyer, Madian Khabsa ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [XLM-V: Overcoming the Vocabulary Bottleneck in Multilingual Masked Language Models](https://arxiv.org/abs/2301.10472) | |
1. **[XLNet](https://huggingface.co/docs/transformers/model_doc/xlnet)** (Google/CMU ใใ) Zhilin Yang*, Zihang Dai*, Yiming Yang, Jaime Carbonell, Ruslan Salakhutdinov, Quoc V. Le ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [โXLNet: Generalized Autoregressive Pretraining for Language Understanding](https://arxiv.org/abs/1906.08237) | |
1. **[XLS-R](https://huggingface.co/docs/transformers/model_doc/xls_r)** (Facebook AI ใใ) Arun Babu, Changhan Wang, Andros Tjandra, Kushal Lakhotia, Qiantong Xu, Naman Goyal, Kritika Singh, Patrick von Platen, Yatharth Saraf, Juan Pino, Alexei Baevski, Alexis Conneau, Michael Auli ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [XLS-R: Self-supervised Cross-lingual Speech Representation Learning at Scale](https://arxiv.org/abs/2111.09296) | |
1. **[XLSR-Wav2Vec2](https://huggingface.co/docs/transformers/model_doc/xlsr_wav2vec2)** (Facebook AI ใใ) Alexis Conneau, Alexei Baevski, Ronan Collobert, Abdelrahman Mohamed, Michael Auli ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [Unsupervised Cross-Lingual Representation Learning For Speech Recognition](https://arxiv.org/abs/2006.13979) | |
1. **[YOLOS](https://huggingface.co/docs/transformers/model_doc/yolos)** (Huazhong University of Science & Technology ใใ) Yuxin Fang, Bencheng Liao, Xinggang Wang, Jiemin Fang, Jiyang Qi, Rui Wu, Jianwei Niu, Wenyu Liu ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [You Only Look at One Sequence: Rethinking Transformer in Vision through Object Detection](https://arxiv.org/abs/2106.00666) | |
1. **[YOSO](https://huggingface.co/docs/transformers/model_doc/yoso)** (the University of Wisconsin - Madison ใใ) Zhanpeng Zeng, Yunyang Xiong, Sathya N. Ravi, Shailesh Acharya, Glenn Fung, Vikas Singh ใใๅ ฌ้ใใใ็ ็ฉถ่ซๆ: [You Only Sample (Almost) Once: Linear Cost Self-Attention Via Bernoulli Sampling](https://arxiv.org/abs/2111.09714) | |
1. ๆฐใใใขใใซใๆ็จฟใใใใงใใ๏ผๆฐใใใขใใซใ่ฟฝๅ ใใใใใฎใฌใคใใจใใฆใ**่ฉณ็ดฐใชใฌใคใใจใใณใใฌใผใ**ใ่ฟฝๅ ใใใพใใใใใใใฏใชใใธใใชใฎ[`templates`](./templates)ใใฉใซใใซใใใพใใPRใๅงใใๅใซใๅฟ ใ[ใณใณใใชใใฅใผใทใงใณใฌใคใ](./CONTRIBUTING.md)ใ็ขบ่ชใใใกใณใใใซ้ฃ็ตกใใใใใใฃใผใใใใฏใๅ้ใใใใใซissueใ้ใใฆใใ ใใใ | |
ๅใขใใซใFlaxใPyTorchใTensorFlowใงๅฎ่ฃ ใใใฆใใใใ๐คTokenizersใฉใคใใฉใชใซๆฏใใใใ้ข้ฃใใผใฏใใคใถใๆใฃใฆใใใใฏใ[ใใฎ่กจ](https://huggingface.co/docs/transformers/index#supported-frameworks)ใๅ็ งใใฆใใ ใใใ | |
ใใใใฎๅฎ่ฃ ใฏใใใคใใฎใใผใฟใปใใใงใในใใใใฆใใ(ใตใณใใซในใฏใชใใใๅ็ ง)ใใชใชใธใใซใฎๅฎ่ฃ ใฎๆง่ฝใจไธ่ดใใใฏใใงใใใๆง่ฝใฎ่ฉณ็ดฐใฏ[documentation](https://github.com/huggingface/transformers/tree/main/examples)ใฎExamplesใปใฏใทใงใณใง่ฆใใใจใใงใใพใใ | |
## ใใใซ่ฉณใใ | |
| ใปใฏใทใงใณ | ๆฆ่ฆ | | |
|-|-| | |
| [ใใญใฅใกใณใ](https://huggingface.co/docs/transformers/) | ๅฎๅ จใชAPIใใญใฅใกใณใใจใใฅใผใใชใขใซ | | |
| [ใฟในใฏๆฆ่ฆ](https://huggingface.co/docs/transformers/task_summary) | ๐คTransformersใใตใใผใใใใฟในใฏ | | |
| [ๅๅฆ็ใใฅใผใใชใขใซ](https://huggingface.co/docs/transformers/preprocessing) | ใขใใซ็จใฎใใผใฟใๆบๅใใใใใซ`Tokenizer`ใฏใฉในใไฝฟ็จ | | |
| [ใใฌใผใใณใฐใจๅพฎ่ชฟๆด](https://huggingface.co/docs/transformers/training) | PyTorch/TensorFlowใฎๅญฆ็ฟใซใผใใจ`Trainer`APIใง๐คTransformersใๆไพใใใขใใซใไฝฟ็จ | | |
| [ใฏใคใใฏใใขใผ: ๅพฎ่ชฟๆด/ไฝฟ็จๆนๆณในใฏใชใใ](https://github.com/huggingface/transformers/tree/main/examples) | ๆงใ ใชใฟในใฏใงใขใใซใฎๅพฎ่ชฟๆดใ่กใใใใฎในใฏใชใใไพ | | |
| [ใขใใซใฎๅ ฑๆใจใขใใใญใผใ](https://huggingface.co/docs/transformers/model_sharing) | ๅพฎ่ชฟๆดใใใขใใซใใขใใใญใผใใใฆใณใใฅใใใฃใงๅ ฑๆใใ | | |
| [ใใคใฐใฌใผใทใงใณ](https://huggingface.co/docs/transformers/migration) | `pytorch-transformers`ใพใใฏ`pytorch-pretrained-bert`ใใ๐คTransformers ใซ็งป่กใใ | | |
## ๅผ็จ | |
๐ค ใใฉใณในใใฉใผใใผใฉใคใใฉใชใซๅผ็จใงใใ[่ซๆ](https://www.aclweb.org/anthology/2020.emnlp-demos.6/)ใๅบๆฅใพใใ: | |
```bibtex | |
@inproceedings{wolf-etal-2020-transformers, | |
title = "Transformers: State-of-the-Art Natural Language Processing", | |
author = "Thomas Wolf and Lysandre Debut and Victor Sanh and Julien Chaumond and Clement Delangue and Anthony Moi and Pierric Cistac and Tim Rault and Rรฉmi Louf and Morgan Funtowicz and Joe Davison and Sam Shleifer and Patrick von Platen and Clara Ma and Yacine Jernite and Julien Plu and Canwen Xu and Teven Le Scao and Sylvain Gugger and Mariama Drame and Quentin Lhoest and Alexander M. Rush", | |
booktitle = "Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations", | |
month = oct, | |
year = "2020", | |
address = "Online", | |
publisher = "Association for Computational Linguistics", | |
url = "https://www.aclweb.org/anthology/2020.emnlp-demos.6", | |
pages = "38--45" | |
} | |
``` | |