Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/source/ko/_toctree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -739,11 +739,13 @@
title: (๋ฒˆ์—ญ์ค‘) ๊ฐ•ํ™”ํ•™์Šต ๋ชจ๋ธ
- isExpanded: false
sections:
- local: model_doc/autoformer
title: Autoformer
- local: in_translation
title: (๋ฒˆ์—ญ์ค‘) Informer
- local: in_translation
title: (๋ฒˆ์—ญ์ค‘) Time Series Transformer
title: (๋ฒˆ์—ญ์ค‘) ์‹œ๊ณ„์—ด ๋ชจ๋ธ
title: ์‹œ๊ณ„์—ด ๋ชจ๋ธ
- isExpanded: false
sections:
- local: in_translation
Expand Down
50 changes: 50 additions & 0 deletions docs/source/ko/model_doc/autoformer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!--Copyright 2023 The HuggingFace Team. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.

โš ๏ธ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be
rendered properly in your Markdown viewer.

-->

# Autoformer[[autoformer]]

## ๊ฐœ์š”[[overview]]

The Autoformer ๋ชจ๋ธ์€ Haixu Wu, Jiehui Xu, Jianmin Wang, Mingsheng Long๊ฐ€ ์ œ์•ˆํ•œ [์˜คํ† ํฌ๋จธ: ์žฅ๊ธฐ ์‹œ๊ณ„์—ด ์˜ˆ์ธก์„ ์œ„ํ•œ ์ž๊ธฐ์ƒ๊ด€ ๋ถ„ํ•ด ํŠธ๋žœ์Šคํฌ๋จธ](https://arxiv.org/abs/2106.13008) ๋ผ๋Š” ๋…ผ๋ฌธ์—์„œ ์†Œ๊ฐœ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

์ด ๋ชจ๋ธ์€ ํŠธ๋žœ์Šคํฌ๋จธ๋ฅผ ์‹ฌ์ธต ๋ถ„ํ•ด ์•„ํ‚คํ…์ฒ˜๋กœ ํ™•์žฅํ•˜์—ฌ, ์˜ˆ์ธก ๊ณผ์ •์—์„œ ์ถ”์„ธ์™€ ๊ณ„์ ˆ์„ฑ ์š”์†Œ๋ฅผ ์ ์ง„์ ์œผ๋กœ ๋ถ„ํ•ดํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

ํ•ด๋‹น ๋…ผ๋ฌธ์˜ ์ดˆ๋ก์ž…๋‹ˆ๋‹ค:

*์˜ˆ์ธก ์‹œ๊ฐ„์„ ์—ฐ์žฅํ•˜๋Š” ๊ฒƒ์€ ๊ทนํ•œ ๊ธฐ์ƒ ์กฐ๊ธฐ ๊ฒฝ๋ณด ๋ฐ ์žฅ๊ธฐ ์—๋„ˆ์ง€ ์†Œ๋น„ ๊ณ„ํš๊ณผ ๊ฐ™์€ ์‹ค์ œ ์‘์šฉ ํ”„๋กœ๊ทธ๋žจ์— ์ค‘์š”ํ•œ ์š”๊ตฌ ์‚ฌํ•ญ์ž…๋‹ˆ๋‹ค. ๋ณธ ๋…ผ๋ฌธ์€ ์‹œ๊ณ„์—ด์˜ ์žฅ๊ธฐ ์˜ˆ์ธก ๋ฌธ์ œ๋ฅผ ์—ฐ๊ตฌํ•ฉ๋‹ˆ๋‹ค. ๊ธฐ์กด์˜ ํŠธ๋žœ์Šคํฌ๋จธ ๊ธฐ๋ฐ˜ ๋ชจ๋ธ๋“ค์€ ์žฅ๊ฑฐ๋ฆฌ ์ข…์†์„ฑ์„ ๋ฐœ๊ฒฌํ•˜๊ธฐ ์œ„ํ•ด ๋‹ค์–‘ํ•œ ์…€ํ”„ ์–ดํ…์…˜ ๋ฉ”์ปค๋‹ˆ์ฆ˜์„ ์ฑ„ํƒํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋Ÿฌ๋‚˜ ์žฅ๊ธฐ ๋ฏธ๋ž˜์˜ ๋ณต์žกํ•œ ์‹œ๊ฐ„์  ํŒจํ„ด์œผ๋กœ ์ธํ•ด ๋ชจ๋ธ์ด ์‹ ๋ขฐํ•  ์ˆ˜ ์žˆ๋Š” ์ข…์†์„ฑ์„ ์ฐพ๊ธฐ ์–ด๋ ต์Šต๋‹ˆ๋‹ค. ๋˜ํ•œ, ํŠธ๋žœ์Šคํฌ๋จธ๋Š” ๊ธด ์‹œ๊ณ„์—ด์˜ ํšจ์œจ์„ฑ์„ ์œ„ํ•ด ์ ๋ณ„ ์…€ํ”„ ์–ดํ…์…˜์˜ ํฌ์†Œ ๋ฒ„์ „์„ ์ฑ„ํƒํ•ด์•ผ ํ•˜๋ฏ€๋กœ ์ •๋ณด ํ™œ์šฉ์˜ ๋ณ‘๋ชฉ ํ˜„์ƒ์ด ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค. ์šฐ๋ฆฌ๋Š” ํŠธ๋žœ์Šคํฌ๋จธ๋ฅผ ๋„˜์–ด์„œ ์ž๊ธฐ์ƒ๊ด€ ๋ฉ”์ปค๋‹ˆ์ฆ˜์„ ๊ฐ–์ถ˜ ์ƒˆ๋กœ์šด ๋ถ„ํ•ด ์•„ํ‚คํ…์ฒ˜์ธ Autoformer๋ฅผ ์„ค๊ณ„ํ–ˆ์Šต๋‹ˆ๋‹ค. ์šฐ๋ฆฌ๋Š” ์‹œ๊ณ„์—ด ๋ถ„ํ•ด์˜ ์ „์ฒ˜๋ฆฌ ๊ด€ํ–‰์„ ๊นจ๊ณ  ์ด๋ฅผ ์‹ฌ์ธต ๋ชจ๋ธ์˜ ๊ธฐ๋ณธ ๋‚ด๋ถ€ ๋ธ”๋ก์œผ๋กœ ํ˜์‹ ํ–ˆ์Šต๋‹ˆ๋‹ค. ์ด ์„ค๊ณ„๋Š” Autoformer์— ๋ณต์žกํ•œ ์‹œ๊ณ„์—ด์— ๋Œ€ํ•œ ์ ์ง„์  ๋ถ„ํ•ด ๋Šฅ๋ ฅ์„ ๋ถ€์—ฌํ•ฉ๋‹ˆ๋‹ค. ๋˜ํ•œ, ํ™•๋ฅ  ๊ณผ์ • ์ด๋ก ์—์„œ ์˜๊ฐ์„ ๋ฐ›์•„ ์‹œ๊ณ„์—ด์˜ ์ฃผ๊ธฐ์„ฑ์„ ๊ธฐ๋ฐ˜์œผ๋กœ ์ž๊ธฐ์ƒ๊ด€ ๋ฉ”์ปค๋‹ˆ์ฆ˜์„ ์„ค๊ณ„ํ–ˆ์œผ๋ฉฐ, ์ด๋Š” ํ•˜์œ„ ์‹œ๊ณ„์—ด ์ˆ˜์ค€์—์„œ ์ข…์†์„ฑ ๋ฐœ๊ฒฌ๊ณผ ํ‘œํ˜„ ์ง‘๊ณ„๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค. ์ž๊ธฐ์ƒ๊ด€์€ ํšจ์œจ์„ฑ๊ณผ ์ •ํ™•๋„ ๋ฉด์—์„œ ์…€ํ”„ ์–ดํ…์…˜๋ฅผ ๋Šฅ๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ์žฅ๊ธฐ ์˜ˆ์ธก์—์„œ Autoformer๋Š” ์—๋„ˆ์ง€, ๊ตํ†ต, ๊ฒฝ์ œ, ๋‚ ์”จ, ์งˆ๋ณ‘ ๋“ฑ 5๊ฐ€์ง€ ์‹ค์šฉ์  ์‘์šฉ ๋ถ„์•ผ๋ฅผ ํฌ๊ด„ํ•˜๋Š” 6๊ฐœ ๋ฒค์น˜๋งˆํฌ์—์„œ 38%์˜ ์ƒ๋Œ€์  ๊ฐœ์„ ์œผ๋กœ ์ตœ์ฒจ๋‹จ ์ •ํ™•๋„๋ฅผ ๋‹ฌ์„ฑํ–ˆ์Šต๋‹ˆ๋‹ค.*

์ด ๋ชจ๋ธ์€ [elisim](https://huggingface.co/elisim)๊ณผ [kashif](https://huggingface.co/kashif)์— ์˜ํ•ด ๊ธฐ์—ฌ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.
์›๋ณธ ์ฝ”๋“œ๋Š” [์ด๊ณณ](https://github.com/thuml/Autoformer)์—์„œ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

## ์ž๋ฃŒ[[resources]]

์‹œ์ž‘ํ•˜๋Š” ๋ฐ ๋„์›€์ด ๋˜๋Š” Hugging Face์™€ community ์ž๋ฃŒ ๋ชฉ๋ก(๐ŸŒŽ๋กœ ํ‘œ์‹œ๋จ) ์ž…๋‹ˆ๋‹ค. ์—ฌ๊ธฐ์— ํฌํ•จ๋  ์ž๋ฃŒ๋ฅผ ์ œ์ถœํ•˜๊ณ  ์‹ถ์œผ์‹œ๋‹ค๋ฉด PR(Pull Request)๋ฅผ ์—ด์–ด์ฃผ์„ธ์š”. ๋ฆฌ๋ทฐ ํ•ด๋“œ๋ฆฌ๊ฒ ์Šต๋‹ˆ๋‹ค! ์ž๋ฃŒ๋Š” ๊ธฐ์กด ์ž๋ฃŒ๋ฅผ ๋ณต์ œํ•˜๋Š” ๋Œ€์‹  ์ƒˆ๋กœ์šด ๋‚ด์šฉ์„ ๋‹ด๊ณ  ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

- HuggingFace ๋ธ”๋กœ๊ทธ์—์„œ Autoformer ํฌ์ŠคํŠธ๋ฅผ ํ™•์ธํ•˜์„ธ์š”: [๋„ค, ๊ทธ๋ ‡์Šต๋‹ˆ๋‹ค, ํŠธ๋žœ์Šคํฌ๋จธ๋Š” ์‹œ๊ณ„์—ด ์˜ˆ์ธก์— ํšจ๊ณผ์ ์ž…๋‹ˆ๋‹ค(+ Autoformer)](https://huggingface.co/blog/autoformer)

## AutoformerConfig[[transformers.AutoformerConfig]]

[[autodoc]] AutoformerConfig

## AutoformerModel[[transformers.AutoformerModel]]

[[autodoc]] AutoformerModel
- forward

## AutoformerForPrediction[[transformers.AutoformerForPrediction]]

[[autodoc]] AutoformerForPrediction
- forward