feat: nmt draft

This commit is contained in:
HyeokJun SHIN 2024-11-09 23:04:58 +09:00 committed by GitHub
parent a06a0d1263
commit 119a4e639f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 62 additions and 2 deletions

View File

@ -274,8 +274,8 @@
title: 에이전트와 도구
- local: model_doc/auto
title: 자동 클래스
- local: in_translation
title: (번역중) Backbones
- local: main_classes/backbones
title: 백본
- local: main_classes/callback
title: 콜백
- local: main_classes/configuration

View File

@ -0,0 +1,60 @@
<!--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.
-->
# 백본(Backbone) [[backbone]]
백본은 객체 탐지와 이미지 분류와 같은 고급 컴퓨터 비전 작업을 위한 특징 추출에 사용되는 모델입니다. Transformers 라이브러리는 사전 학습된 모델 가중치로부터 Transformers 백본을 초기화하기 위한 [`AutoBackbone`] 클래스와 두 가지 유틸리티 클래스를 제공합니다:
* [`~utils.BackboneMixin`]은 Transformers나 [timm](https://hf.co/docs/timm/index)에서 백본을 초기화할 수 있게 해주며, 출력 특징과 인덱스를 반환하는 기능을 포함합니다.
* [`~utils.BackboneConfigMixin`]은 백본 설정의 출력 특징과 인덱스를 설정합니다.
[timm](https://hf.co/docs/timm/index) 모델은 [`TimmBackbone`] 및 [`TimmBackboneConfig`] 클래스를 사용하여 로드됩니다.
다음 모델에 대해 백본을 지원합니다:
* [BEiT](../model_doc/beit)
* [BiT](../model_doc/bit)
* [ConvNext](../model_doc/convnext)
* [ConvNextV2](../model_doc/convnextv2)
* [DiNAT](../model_doc/dinat)
* [DINOV2](../model_doc/dinov2)
* [FocalNet](../model_doc/focalnet)
* [MaskFormer](../model_doc/maskformer)
* [NAT](../model_doc/nat)
* [ResNet](../model_doc/resnet)
* [Swin Transformer](../model_doc/swin)
* [Swin Transformer v2](../model_doc/swinv2)
* [ViTDet](../model_doc/vitdet)
## AutoBackbone
[[autodoc]] AutoBackbone
## BackboneMixin
[[autodoc]] utils.BackboneMixin
## BackboneConfigMixin
[[autodoc]] utils.BackboneConfigMixin
## TimmBackbone
[[autodoc]] models.timm_backbone.TimmBackbone
## TimmBackboneConfig
[[autodoc]] models.timm_backbone.TimmBackboneConfig