-
Notifications
You must be signed in to change notification settings - Fork 30.3k
🌐 [i18n-KO] Translated models.md
to Korean
#39518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cc @stevhliu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your translation! We can merge once a Korean reader has reviewed as well 🤗
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
긴 문서 번역 고생하셨습니다. 몇 가지 수정 제안드립니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
민주님 안녕하세요! 좋은 번역 해주셔서 정말 감사합니다.
용상님 제안 반영하면 될 것 같습니다 고생하셨습니다 🤗
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
번역하느라 고생 많으셨습니다!
일부 번역에 대해 리뷰를 작성했습니다. 참고 부탁드려요! 🤗
ea979d7
to
45a60df
Compare
docs/source/ko/models.md
Outdated
> [!TIP] | ||
> *아키텍처*는 모델의 골격을 의미하고 *체크포인트(checkpoint)*는 주어진 아키텍처에 대한 모델의 가중치를 의미합니다. 예를 들어, [BERT](./model_doc/bert)는 아키텍처이고 [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased)는 해당 아키텍처의 체크포인트(checkpoint)입니다. *모델*이라는 용어는 아키텍처 및 체크포인트(checkpoint)와 혼용하여 사용되는 것을 볼 수 있습니다. | ||
|
||
로드할 수 있는 모델에는 두 가지 일반적인 타입이 있습니다: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
로드할 수 있는 모델에는 두 가지 일반적인 타입이 있습니다: | |
불러올 수 있는 모델은 일반적으로 두 가지 타입이 있습니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
추가로 번역 수정했습니다.
docs/source/ko/models.md
Outdated
print(sorted(os.listdir(tmp_dir))) | ||
``` | ||
|
||
[`~PreTrainedModel.from_pretrained`]로 샤드된 체크포인트를 다시 로드합니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[`~PreTrainedModel.from_pretrained`]로 샤드된 체크포인트를 다시 로드합니다. | |
[`~PreTrainedModel.from_pretrained`]로 샤드된 체크포인트를 다시 불러옵니다. |
docs/source/ko/models.md
Outdated
new_model = AutoModel.from_pretrained(tmp_dir) | ||
``` | ||
|
||
샤드된 체크포인트는 [`~transformers.modeling_utils.load_sharded_checkpoint`]로도 직접 로드할 수 있습니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
샤드된 체크포인트는 [`~transformers.modeling_utils.load_sharded_checkpoint`]로도 직접 로드할 수 있습니다. | |
샤드된 체크포인트는 [`~transformers.modeling_utils.load_sharded_checkpoint`]로도 직접 불러올 수 있습니다. |
docs/source/ko/models.md
Outdated
> [!TIP] | ||
> 장치 할당에 대한 자세한 내용은 [장치 맵 설계하기](https://hf.co/docs/accelerate/v0.33.0/en/concept_guides/big_model_inference#designing-a-device-map)를 참조하세요. | ||
|
||
대형 모델 추론의 두 번째 기능은 가중치가 로드되고 모델 스켈레톤에 할당되는 방식과 관련이 있습니다. 모델 가중치는 사용 가능한 모든 디바이스에 분산되며, 가장 빠른 디바이스(보통 GPU)부터 시작해 나머지 가중치는 느린 디바이스(CPU 및 하드 디스크)로 순차적으로 할당됩니다.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
대형 모델 추론의 두 번째 기능은 가중치가 로드되고 모델 스켈레톤에 할당되는 방식과 관련이 있습니다. 모델 가중치는 사용 가능한 모든 디바이스에 분산되며, 가장 빠른 디바이스(보통 GPU)부터 시작해 나머지 가중치는 느린 디바이스(CPU 및 하드 디스크)로 순차적으로 할당됩니다.. | |
대형 모델 추론의 두 번째 기능은 불러온 가중치가 모델 스켈레톤에 할당되는 방식과 관련이 있습니다. 모델 가중치는 사용 가능한 모든 디바이스에 분산되며, 가장 빠른 디바이스(보통 GPU)부터 시작해 나머지 가중치는 느린 디바이스(CPU 및 하드 디스크)로 순차적으로 할당됩니다.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Judy-Choi |
Co-authored-by: Woojun Jung <[email protected]>
Co-authored-by: Woojun Jung <[email protected]>
Co-authored-by: YONGSANG <[email protected]> Co-authored-by: Woojun Jung <[email protected]>
Co-authored-by: YONGSANG <[email protected]>
Co-authored-by: YONGSANG <[email protected]>
Co-authored-by: YONGSANG <[email protected]>
@jungnerd 안녕하세요 멘토님! 다시 한 번 커밋했습니다. 확인해 주시면 감사하겠습니다! |
@Judy-Choi 민주님 안녕하세요! 반영해주신 것 확인했습니다. 감사합니다 ㅎㅎ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@harheem 꼼꼼하게 확인해 주셔서 감사합니다! ㅎㅎ
멘토님께서 제안해 주신 대로 사전훈련된 -> 사전 훈련된 으로 일괄적으로 띄어쓰기 적용하니 더 가독성이 좋아졌습니다. 감사합니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
정말 고생많으셨습니다 민주님 그리고 감사합니다 🤗
늦은 리뷰 죄송하며, merge가 눈앞이네요!
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Remember to also update the toctree
with the translation!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
local
should reflect the file name :)
Co-authored-by: Steven Liu <[email protected]>
build-doc |
What does this PR do?
Translated the
models.md
file of the documentation to Korean.Thank you in advance for your review.
Part of #20179
Before reviewing
[[lowercased-header]]
)Who can review? (Initial)
May you please review this PR?
@4N3MONE, @yijun-lee, @jungnerd , @harheem
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review? (Final)