| <!--Copyright 2020 The HuggingFace Team. All rights reserved. | |
| Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with | |
| the License. You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on | |
| an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the | |
| specific language governing permissions and limitations under the License. | |
| โ ๏ธ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be | |
| rendered properly in your Markdown viewer. | |
| --> | |
| # ๊ตฌ์ฑ[[configuration]] | |
| ๊ธฐ๋ณธ ํด๋์ค [`PretrainedConfig`]๋ ๋ก์ปฌ ํ์ผ์ด๋ ๋๋ ํ ๋ฆฌ, ๋๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์์ ์ ๊ณตํ๋ ์ฌ์ ํ์ต๋ ๋ชจ๋ธ ๊ตฌ์ฑ(HuggingFace์ AWS S3 ์ ์ฅ์์์ ๋ค์ด๋ก๋๋จ)์ผ๋ก๋ถํฐ ๊ตฌ์ฑ์ ๋ถ๋ฌ์ค๊ฑฐ๋ ์ ์ฅํ๋ ๊ณตํต ๋ฉ์๋๋ฅผ ๊ตฌํํฉ๋๋ค. ๊ฐ ํ์ ๊ตฌ์ฑ ํด๋์ค๋ ๋ชจ๋ธ๋ณ ํน์ฑ์ ๊ตฌํํฉ๋๋ค. | |
| ๋ชจ๋ ๊ตฌ์ฑ ํด๋์ค์ ์กด์ฌํ๋ ๊ณตํต ์์ฑ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค: `hidden_size`, `num_attention_heads`, `num_hidden_layers`. ํ ์คํธ ๋ชจ๋ธ์ ์ถ๊ฐ๋ก `vocab_size`๋ฅผ ๊ตฌํํฉ๋๋ค. | |
| ## PretrainedConfig[[transformers.PretrainedConfig]] | |
| [[autodoc]] PretrainedConfig | |
| - push_to_hub | |
| - all | |