huggingface/new-model-addition-cwm
https://skillcdn.ai/gh/huggingface/new-model-addition-cwmConnect this address to your AI to use these skills. How to connect
- Unverified
- Default branch
main - Commit
5baf598 - License
Apache-2.0 - Searchwords
This repository is larger than the indexing limits, so some files are missing from the index.
Explore this repository
Searches the original text of skills and documents, and the translations of skills when you search in their language.
Folders
Documents
- _config.pydocs/source/ko/_config.py
- _toctree.ymldocs/source/ko/_toctree.yml
- 🤗 Accelerate를 활용한 분산 학습[[distributed-training-with-accelerate]]모델이 커지면서 병렬 처리는 제한된 하드웨어에서 더 큰 모델을 훈련하고 훈련 속도를 몇 배로 가속화하기 위한 전략으로 등장했습니다. Hugging Face에서는 사용자가 하나의 머신에 여러 개의 GPU를 사용하든 여러 머신에 여러 개의 GPU를 사용하든 모든 유형의 분산 설정에서 🤗 Transformers 모델을 쉽게 훈련할 수 있도록 돕기 위해 🤗…docs/source/ko/accelerate.md
- GPU 선택하기 [[gpu-selection]]분산 학습 과정에서 사용할 GPU의 개수와 순서를 정할 수 있습니다. 이 방법은 서로 다른 연산 성능을 가진 GPU가 있을 때 더 빠른 GPU를 우선적으로 사용하거나, 사용 가능한 GPU 중 일부만 선택하여 활용하고자 할 때 유용합니다. 이 선택 과정은 DistributedDataParallel과 DataParallel에서 모두 작동합니다. Acceler…docs/source/ko/accelerator_selection.md
- Hugging Face Transformers를 추가하는 방법은 무엇인가요? [[how-to-add-a-model-to-transformers]]Hugging Face Transformers 라이브러리는 커뮤니티 기여자들 덕분에 새로운 모델을 제공할 수 있는 경우가 많습니다. 하지만 이는 도전적인 프로젝트이며 Hugging Face Transformers 라이브러리와 구현할 모델에 대한 깊은 이해가 필요합니다. Hugging Face에서는 더 많은 커뮤니티 멤버가 모델을 적극적으로 추가할 수 있도…docs/source/ko/add_new_model.md
- 어떻게 사용자 정의 파이프라인을 생성하나요? [[how-to-create-a-custom-pipeline]]이 가이드에서는 사용자 정의 파이프라인을 어떻게 생성하고 허브에 공유하거나 🤗 Transformers 라이브러리에 추가하는 방법을 살펴보겠습니다.docs/source/ko/add_new_pipeline.md
- 캐싱[[caching]]누군가와 대화를 나누고 있는데, 상대방이 이전에 했던 말을 기억하지 못하고 당신이 대답할 때마다 처음부터 다시 시작해야 한다고 상상해 보세요. 이는 느리고 비효율적이겠죠?docs/source/ko/cache_explanation.md
- 채팅 모델을 위한 템플릿[[templates-for-chat-models]]요즘 LLM의 가장 흔한 활용 사례 중 하나는 채팅입니다. 채팅은 일반적인 언어 모델처럼 단일 문자열을 이어가는 대신 여러 개의 메시지로 구성된 대화를 이어갑니다. 이 대화에는 "사용자"나 "어시스턴트"와 같은 역할과 메시지 텍스트가 포함됩니다.docs/source/ko/chat_templating.md
- 커뮤니티 [[community]]이 페이지는 커뮤니티에서 개발한 🤗 Transformers 리소스를 재구성한 페이지입니다.docs/source/ko/community.md
- 🤗 Transformers에 기여하기 [[contribute-to-transformers]]누구나 🤗 Transformers에 기여할 수 있으며, 우리는 모든 사람의 기여를 소중히 생각합니다. 코드 기여는 커뮤니티를 돕는 유일한 방법이 아닙니다. 질문에 답하거나 다른 사람을 도와 문서를 개선하는 것도 매우 가치가 있습니다.docs/source/ko/contributing.md
- Transformers로 채팅하기[[chatting-with-transformers]]이 글을 보고 있다면 채팅 모델에 대해 어느 정도 알고 계실 것입니다. 채팅 모델이란 메세지를 주고받을 수 있는 대화형 인공지능입니다. 대표적으로 ChatGPT가 있고, 이와 비슷하거나 더 뛰어난 오픈소스 채팅 모델이 많이 존재합니다. 이러한 모델들은 무료 다운로드할 수 있으며, 로컬에서 실행할 수 있습니다. 크고 무거운 모델은 고성능 하드웨어와 메모리가…docs/source/ko/conversations.md
- 사용자 정의 모델 공유하기[[sharing-custom-models]]🤗 Transformers 라이브러리는 쉽게 확장할 수 있도록 설계되었습니다. 모든 모델은 추상화 없이 저장소의 지정된 하위 폴더에 완전히 코딩되어 있으므로, 손쉽게 모델링 파일을 복사하고 필요에 따라 조정할 수 있습니다.docs/source/ko/custom_models.md
- 디버깅 [[debugging]]DistributedDataParallel 및 다중 GPU를 사용하여 훈련하거나 추론할 때, 프로세스 및/또는 노드 간의 상호 통신 문제가 발생하는 경우, 다음 스크립트를 사용하여 네트워크 문제를 진단할 수 있습니다.docs/source/ko/debugging.md
- DeepSpeed[[deepspeed]]DeepSpeed는 분산 학습 메모리를 효율적이고 빠르게 만드는 PyTorch 최적화 라이브러리입니다. 그 핵심은 대규모 모델을 규모에 맞게 훈련할 수 있는 Zero Redundancy Optimizer(ZeRO)입니다. ZeRO는 여러 단계로 작동합니다:docs/source/ko/deepspeed.md
- ExecuTorch [[executorch]]ExecuTorch 는 웨어러블, 임베디드 장치, 마이크로컨트롤러를 포함한 모바일 및 엣지 장치에서 온디바이스 추론 기능을 가능하게 하는 종합 솔루션입니다. PyTorch 생태계에 속해있으며, 이식성, 생산성, 성능에 중점을 둔 PyTorch 모델 배포를 지원합니다.docs/source/ko/executorch.md
- 🤗 Tokenizers 라이브러리의 토크나이저 사용하기[[use-tokenizers-from-tokenizers]][PreTrainedTokenizerFast]는 🤗 Tokenizers 라이브러리에 기반합니다. 🤗 Tokenizers 라이브러리의 토크나이저는 🤗 Transformers로 매우 간단하게 불러올 수 있습니다.docs/source/ko/fast_tokenizers.md
- 완전 분할 데이터 병렬 처리(FSDP) [[fully-sharded-data-parallel]]Fully Sharded Data Parallel (FSDP)은 모델의 매개변수, 그레이디언트 및 옵티마이저 상태를 사용 가능한 GPU(작업자 또는 랭크라고도 함) 수에 따라 분할하는 데이터 병렬 처리 방식입니다. DistributedDataParallel (DDP)와 달리, FSDP는 각 GPU에 모델을 복제하기 때문에 메모리 사용량을 줄입니다. 이는…docs/source/ko/fsdp.md
- Text generation strategies[[text-generation-strategies]]텍스트 생성은 개방형 텍스트 작성, 요약, 번역 등 다양한 자연어 처리(NLP) 작업에 필수적입니다. 이는 또한 음성-텍스트 변환, 시각-텍스트 변환과 같이 텍스트를 출력으로 하는 여러 혼합 모달리티 응용 프로그램에서도 중요한 역할을 합니다. 텍스트 생성을 가능하게 하는 몇몇 모델로는 GPT2, XLNet, OpenAI GPT, CTRL, Transfor…docs/source/ko/generation_strategies.md
- GGUF와 Transformers의 상호작용 [[gguf-and-interaction-with-transformers]]GGUF 파일 형식은 GGML과 그에 의존하는 다른 라이브러리, 예를 들어 매우 인기 있는 llama.cpp이나 whisper.cpp에서 추론을 위한 모델을 저장하는데 사용됩니다.docs/source/ko/gguf.md
- 용어집(Glossary)이 용어집은 전반적인 머신러닝 및 🤗 Transformers 관련 용어를 정의하여 문서를 더 잘 이해하는 데 도움을 줍니다.docs/source/ko/glossary.md
- 모델 구성 요소 맞춤 설정하기[[customizing-model-components]]모델을 완전히 새로 작성하는 대신 구성 요소를 수정하여 모델을 맞춤 설정하는 방법이 있습니다. 이 방법으로 모델을 특정 사용 사례에 맞게 모델을 조정할 수 있습니다. 예를 들어, 새로운 레이어를 추가하거나 아키텍처의 어텐션 메커니즘을 최적화할 수 있습니다. 이러한 맞춤 설정은 트랜스포머 모델에 직접 적용되므로, [Trainer], [PreTrainedMo…docs/source/ko/how_to_hack_models.md
- Trainer API를 사용한 하이퍼파라미터 탐색 [[hyperparameter-search-using-trainer-api]]🤗 Transformers에서는 🤗 Transformers 모델을 학습시키는데 최적화된 [Trainer] 클래스를 제공하기 때문에, 사용자는 직접 훈련 루프를 작성할 필요 없이 더욱 간편하게 학습을 시킬 수 있습니다. 또한, [Trainer]는 하이퍼파라미터 탐색을 위한 API를 제공합니다. 이 문서에서 이 API를 활용하는 방법을 예시와 함께 보여드…docs/source/ko/hpo_train.md
- 이미지 프로세서(Image processor) [[image-processors]]이미지 프로세서는 이미지를 픽셀 값, 즉 이미지의 색상과 크기를 나타내는 텐서로 변환합니다. 이 픽셀 값은 비전 모델의 입력으로 사용됩니다. 이때 사전 학습된 모델이 새로운 이미지를 올바르게 인식하려면 입력되는 이미지의 형식이 학습 당시 사용했던 데이터와 똑같아야 합니다. 이미지 프로세서는 다음과 같은 작업을 통해 이미지 형식을 통일시켜주는 역할을 합니다.docs/source/ko/image_processors.md
- 열심히 번역 중입니다. 조금 이따 만나요!docs/source/ko/in_translation.md
- 🤗 TransformersPyTorch, TensorFlow, JAX를 위한 최첨단 머신러닝docs/source/ko/index.md
- 설치방법[[installation]]🤗 Transformers를 사용 중인 딥러닝 라이브러리에 맞춰 설치하고, 캐시를 구성하거나 선택적으로 오프라인에서도 실행할 수 있도록 🤗 Transformers를 설정하는 방법을 배우겠습니다.docs/source/ko/installation.md
- LLM 추론 최적화 [[llm-inference-optimization]]대규모 언어 모델(LLM)은 채팅 및 코드 완성 모델과 같은 텍스트 생성 응용 프로그램을 한 단계 끌어올리며, 높은 수준의 이해력과 유창함을 보여주는 텍스트를 생성합니다. 그러나 LLM을 강력하게 만드는 요소인 그들의 크기는 동시에 추론 과정에서 도전 과제가 되기도 합니다.docs/source/ko/llm_optims.md
- 대규모 언어 모델로 생성하기 [[generation-with-llms]][[open-in-colab]]docs/source/ko/llm_tutorial.md
- 대규모 언어 모델의 속도 및 메모리 최적화 [[optimizing-llms-for-speed-and-memory]][[open-in-colab]]docs/source/ko/llm_tutorial_optimization.md
- 모델 학습 해부하기 [[model-training-anatomy]]모델 훈련 속도와 메모리 활용의 효율성을 향상시키기 위해 적용할 수 있는 성능 최적화 기술을 이해하려면 GPU가 훈련 중에 어떻게 활용되는지, 그리고 수행되는 연산에 따라 연산 강도가 어떻게 변하는지에 익숙해져야 합니다.docs/source/ko/model_memory_anatomy.md
- 모델 공유하기[[share-a-model]]지난 두 튜토리얼에서 분산 설정을 위해 PyTorch, Keras 및 🤗 Accelerate를 사용하여 모델을 미세 조정하는 방법을 보았습니다. 다음 단계는 모델을 커뮤니티와 공유하는 것입니다! Hugging Face는 인공지능의 민주화를 위해 모두에게 지식과 자원을 공개적으로 공유해야 한다고 믿습니다. 다른 사람들이 시간과 자원을 절약할 수 있도록 커…docs/source/ko/model_sharing.md
- 모델 로드하기[[loading-models]]Transformers는 한 줄의 코드로 사용할 수 있는 많은 사전 훈련된 모델을 제공합니다. 모델 클래스와 [~PreTrainedModel.from_pretrained] 메소드가 필요합니다.docs/source/ko/models.md
- 모듈식 트랜스포머 [[modular-transformers]]transformers는 opinionated(자기 의견이 강한) 프레임워크이며, 우리의 철학은 다음의 개념 가이드에 정의되어 있습니다.docs/source/ko/modular_transformers.md
- 옵티마이저[[optimizers]]Transformers는 AdamW 및 AdaFactor와 같은 두 가지 기본 옵티마이저를 제공합니다. 또한, 보다 특화된 옵티마이저와의 통합도 지원합니다. 원하는 옵티마이저를 제공하는 라이브러리를 설치한 후, [TrainingArguments]의 optim 파라미터에 해당 옵티마이저명을 지정하시면 됩니다.docs/source/ko/optimizers.md
- 패딩과 잘라내기[[padding-and-truncation]]배치 입력은 길이가 다른 경우가 많아서 고정 크기 텐서로 변환할 수 없습니다. 패딩과 잘라내기는 다양한 길이의 배치에서 직사각형 텐서를 생성할 수 있도록 이 문제를 해결하는 전략입니다. 패딩은 특수한 패딩 토큰을 추가하여 짧은 시퀀스가 배치에서 가장 긴 시퀀스 또는 모델에서 허용하는 최대 길이와 동일한 길이를 갖도록 합니다. 잘라내기는 긴 시퀀스를 잘라내…docs/source/ko/pad_truncation.md
- 🤗 PEFT로 어댑터 가져오기 [[load-adapters-with-peft]][[open-in-colab]]docs/source/ko/peft.md
- 훈련용 사용자 맞춤형 하드웨어 [[custom-hardware-for-training]]모델 훈련과 추론에 사용하는 하드웨어는 성능에 큰 영향을 미칠 수 있습니다. GPU에 대해 자세히 알아보려면, Tim Dettmer의 훌륭한 블로그 포스트를 확인해보세요. 블로그 포스트 링크 (영어로 작성됨).docs/source/ko/perf_hardware.md
- CPU에서 효율적인 추론하기 [[efficient-inference-on-cpu]]이 가이드는 CPU에서 대규모 모델을 효율적으로 추론하는 방법에 중점을 두고 있습니다.docs/source/ko/perf_infer_cpu.md
- 분산 추론[[distributed-inference]]모델이 단일 GPU에 올라가지 않는 경우, 텐서 병렬 처리를 사용한 분산 추론이 도움이 될 수 있습니다. 텐서 병렬화는 모델을 여러 가속기(CUDA GPU, Intel XPU 등)에 분할하여 행렬 곱셈과 같은 계산을 병렬화합니다. 이를 통해 더 큰 모델을 메모리에 올릴 수 있으며, 각 가속기가 텐서의 일부를 처리하므로 추론 속도가 향상됩니다.docs/source/ko/perf_infer_gpu_multi.md
- 단일 GPU에서 효율적인 추론 [[efficient-inference-on-a-single-gpu]]이 가이드 외에도, 단일 GPU에서의 훈련 가이드와 CPU에서의 추론 가이드에서도 관련 정보를 찾을 수 있습니다.docs/source/ko/perf_infer_gpu_one.md
- CPU에서 효율적인 훈련 [[efficient-training-on-cpu]]이 가이드는 CPU에서 대규모 모델을 효율적으로 훈련하는 데 초점을 맞춥니다.docs/source/ko/perf_train_cpu.md
- 다중 CPU에서 효율적으로 훈련하기 [[efficient-training-on-multiple-cpus]]하나의 CPU에서 훈련하는 것이 너무 느릴 때는 다중 CPU를 사용할 수 있습니다. 이 가이드는 PyTorch 기반의 DDP를 사용하여 분산 CPU 훈련을 효율적으로 수행하는 방법에 대해 설명합니다.docs/source/ko/perf_train_cpu_many.md
- 다중 GPU에서 효율적인 훈련 [[efficient-training-on-multiple-gpus]]단일 GPU에서의 훈련이 너무 느리거나 모델 가중치가 단일 GPU의 메모리에 맞지 않는 경우, 다중-GPU 설정을 사용합니다. 단일 GPU에서 다중 GPU로 전환하기 위해서는 작업을 분산해야 합니다. 데이터, 텐서 또는 파이프라인과 같은 병렬화 기법을 사용하여 작업을 병렬로 처리할 수 있습니다. 그러나 이러한 설정을 모두에게 적용할 수 있는 완벽한 해결책…docs/source/ko/perf_train_gpu_many.md
- GPU[[gpu]]GPU는 높은 메모리 대역폭과 병렬 처리 능력 덕분에 딥러닝 모델 학습에 널리 사용됩니다. GPU 사양과 모델 크기에 따라 수십억 개 매개변수를 가진 모델도 학습할 수 있습니다. 핵심은 GPU 메모리 활용도(데이터 처리량/학습 시간)와 학습 속도 사이에서 최적의 균형을 찾는 것입니다.docs/source/ko/perf_train_gpu_one.md
- Apple 실리콘에서 Pytorch 학습 [[PyTorch training on Apple silicon]]이전에는 Mac에서 모델을 학습할 때 CPU만 사용할 수 있었습니다. 그러나 이제 PyTorch v1.12의 출시로 Apple의 실리콘 GPU를 사용하여 훨씬 더 빠른 성능으로 모델을 학습할 수 있게 되었습니다. 이는 Pytorch에서 Apple의 Metal Performance Shaders (MPS)를 백엔드로 통합하면서 가능해졌습니다. MPS 백엔드…docs/source/ko/perf_train_special.md
Skipped (50)
These manifests were not served. Fix them and push: the next commit is indexed again.
docs/source/ar/attention.mdlink_missing2 links name no file of the repository (model_doc/reformer, model_doc/longformer)docs/source/ar/autoclass_tutorial.mdlink_missing2 links name no file of the repository (model_doc/layoutlmv2, model_doc/auto)docs/source/ar/community.mdlink_missinga link names no file of the repository (glossary)docs/source/ar/conversations.mdlink_missing2 links name no file of the repository (./quantization, ./llm_optims)docs/source/ar/create_a_model.mdlink_missing7 links name no file of the repository (model_doc/auto, main_classes/configuration, model_doc/distilbert, ...)docs/source/ar/custom_models.mdlink_missinga link names no file of the repository (model_sharing)docs/source/ar/fast_tokenizers.mdlink_missinga link names no file of the repository (main_classes/tokenizer)docs/source/ar/glossary.mdlink_missing7 links name no file of the repository (model_doc/dpt, perf_train_gpu_many#dataparallel-vs-distributeddataparallel, perf_train_gpu_many#from-naive-model-parallelism-to-pipeline-parallelism, ...)docs/source/ar/index.mdreference_limitMarkdown reference extraction exceeded its input or reference limit; some links were not inspecteddocs/source/ar/index.mdlink_missing200 links name no file of the repository (model_doc/albert, model_doc/align, model_doc/altclip, ...)docs/source/ar/llm_tutorial.mdlink_missing9 links name no file of the repository (tasks/language_modeling, pipeline_tutorial, main_classes/quantization, ...)docs/source/ar/llm_tutorial_optimization.mdlink_missinga link names no file of the repository (/main_classes/quantization)docs/source/ar/llm_tutorial_optimization.mdimage_missing2 images name no file of the repository (/blog/assets/163_optimize_llm/self_attn_tokens.png, /blog/assets/163_optimize_llm/alibi.png)docs/source/ar/model_memory_anatomy.mdlink_missinga link names no file of the repository (perf_train_gpu_one)docs/source/ar/model_sharing.mdlink_missing2 links name no file of the repository (installation, training)docs/source/ar/model_summary.mdlink_missing34 links name no file of the repository (model_doc/convnext, model_doc/vit, model_doc/swin, ...)docs/source/ar/modular_transformers.mdlink_missinga link names no file of the repository (./philosophy)docs/source/ar/peft.mdlink_missing2 links name no file of the repository (./quantization#bitsandbytes-integration, training)docs/source/ar/perplexity.mdlink_missing2 links name no file of the repository (model_summary, model_doc/gpt2)docs/source/ar/philosophy.mdlink_missing6 links name no file of the repository (main_classes/configuration, main_classes/model, main_classes/tokenizer, ...)docs/source/ar/pipeline_tutorial.mdlink_missing3 links name no file of the repository (training, ./pipeline_webserver, ./main_classes/pipelines#pipeline-chunk-batching)docs/source/ar/pipeline_webserver.mdlink_missing2 links name no file of the repository (pipeline_tutorial#using-pipelines-on-a-dataset, ./main_classes/pipelines#pipeline-batching)docs/source/ar/preprocessing.mdlink_missing15 links name no file of the repository (./main_classes/tokenizer, ./main_classes/feature_extractor, ./main_classes/image_processor, ...)docs/source/ar/quicktour.mdlink_missing11 links name no file of the repository (./model_doc/auto, ./main_classes/pipelines, ./training, ...)docs/source/ar/run_scripts.mdlink_missinga link names no file of the repository (./notebooks)docs/source/ar/serialization.mdlink_missinga link names no file of the repository (tflite)docs/source/ar/task_summary.mdlink_missing2 links name no file of the repository (glossary#convolution, glossary#token)docs/source/ar/tasks/language_modeling.mdlink_missing2 links name no file of the repository (../training#train-with-pytorch-trainer, ../generation_strategies)docs/source/ar/tasks/masked_language_modeling.mdlink_missinga link names no file of the repository (../training#train-with-pytorch-trainer)docs/source/ar/tasks/multiple_choice.mdlink_missinga link names no file of the repository (../training#train-with-pytorch-trainer)docs/source/ar/tasks/question_answering.mdlink_missinga link names no file of the repository (../training#train-with-pytorch-trainer)docs/source/ar/tasks/sequence_classification.mdlink_missinga link names no file of the repository (../training#train-with-pytorch-trainer)docs/source/ar/tasks/summarization.mdlink_missing2 links name no file of the repository (../training#train-with-pytorch-trainer, ../main_classes/text_generation)docs/source/ar/tasks/translation.mdlink_missing2 links name no file of the repository (../training#train-with-pytorch-trainer, ../main_classes/text_generation)docs/source/ar/tasks_explained.mdlink_missing30 links name no file of the repository (task_summary, model_doc/wav2vec2, model_doc/vit, ...)docs/source/ar/tokenizer_summary.mdlink_missing15 links name no file of the repository (preprocessing, model_doc/transfo-xl, model_doc/gpt2, ...)docs/source/ar/torchscript.mdlink_missinga link names no file of the repository (torchscript#using-torchscript-in-python)docs/source/ar/trainer.mdlink_missing4 links name no file of the repository (./main_classes/trainer, callbacks, ./main_classes/logging, ...)docs/source/ar/training.mdlink_missinga link names no file of the repository (notebooks)docs/source/ar/troubleshooting.mdlink_missing5 links name no file of the repository (migration, installation#offline-mode, main_classes/trainer#transformers.TrainingArguments.per_device_train_batch_size, ...)docs/source/de/add_new_model.mdlink_missing5 links name no file of the repository (Philosophie, pr_checks#check-copies, model_summary, ...)docs/source/de/autoclass_tutorial.mdlink_missing2 links name no file of the repository (model_doc/layoutlmv2, model_doc/auto)docs/source/de/contributing.mdlink_missinga link names no file of the repository (src/transformers/testing_utils.py)docs/source/de/index.mdlink_missing141 links name no file of the repository (model_doc/albert, model_doc/align, model_doc/bart, ...)docs/source/de/llm_tutorial.mdlink_missing6 links name no file of the repository (tasks/language_modeling, pipeline_tutorial, main_classes/quantization, ...)docs/source/de/model_sharing.mdlink_missing2 links name no file of the repository (installation, training)docs/source/de/peft.mdlink_missing2 links name no file of the repository (./quantization#bitsandbytes-integration, Training)docs/source/de/preprocessing.mdlink_missing7 links name no file of the repository (main_classes/tokenizer, glossary#input-ids, glossary#attention-mask, ...)docs/source/de/quicktour.mdlink_missing10 links name no file of the repository (./model_doc/auto, ./main_classes/pipelines, ./training, ...)docs/source/de/run_scripts.mdlink_missinga link names no file of the repository (./notebooks)