-
Notifications
You must be signed in to change notification settings - Fork 571
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
🌐 [i18n-KO] Translated package_reference/inference_types.md
to Korean
#2171
Merged
Wauplin
merged 9 commits into
huggingface:main
from
fabxoe:ko-package_reference/inference_types.md
Apr 19, 2024
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
0c0f081
docs: ko: package_reference/inference_types.md
fabxoe 9a78a22
fix: manual draft
fabxoe e753fe1
feat: manual draft
fabxoe ef7fc04
fix: manual edits
fabxoe 6940e96
Merge branch 'huggingface:main' into ko-package_reference/inference_t…
fabxoe 5ea11d6
Merge branch 'main' into ko-package_reference/inference_types.md
fabxoe 5d237f7
fix: resolve suggestions
fabxoe 941a6ec
Merge branch 'main' into ko-package_reference/inference_types.md
fabxoe 9fd08b9
Merge branch 'main' into ko-package_reference/inference_types.md
Wauplin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,345 @@ | ||
|
||
<!--⚠️ 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. | ||
--> | ||
<!--⚠️ Note that this file is auto-generated by `utils/generate_inference_types.py`. Do not modify it manually.--> | ||
|
||
|
||
# 추론 타입[[inference-types]] | ||
|
||
이 페이지에는 Hugging Face Hub에서 지원하는 타입(예: 데이터 클래스)이 나열되어 있습니다. | ||
각 작업은 JSON 스키마를 사용하여 지정되며, 이러한 스키마에 의해서 타입이 생성됩니다. 이때 Python 요구 사항으로 인해 일부 사용자 정의가 있을 수 있습니다. | ||
|
||
각 작업의 JSON 스키마를 확인하려면 [@huggingface.js/tasks](https://github.com/huggingface/huggingface.js/tree/main/packages/tasks/src/tasks)를 확인하세요. | ||
|
||
라이브러리에서 이 부분은 아직 개발 중이며, 향후 릴리즈에서 개선될 예정입니다. | ||
|
||
|
||
|
||
## audio_classification[[huggingface_hub.AudioClassificationInput]] | ||
|
||
[[autodoc]] huggingface_hub.AudioClassificationInput | ||
|
||
[[autodoc]] huggingface_hub.AudioClassificationOutputElement | ||
|
||
[[autodoc]] huggingface_hub.AudioClassificationParameters | ||
|
||
|
||
|
||
## audio_to_audio[[huggingface_hub.AudioToAudioInput]] | ||
|
||
[[autodoc]] huggingface_hub.AudioToAudioInput | ||
|
||
[[autodoc]] huggingface_hub.AudioToAudioOutputElement | ||
|
||
|
||
|
||
## automatic_speech_recognition[[huggingface_hub.AutomaticSpeechRecognitionGenerationParameters]] | ||
|
||
[[autodoc]] huggingface_hub.AutomaticSpeechRecognitionGenerationParameters | ||
|
||
[[autodoc]] huggingface_hub.AutomaticSpeechRecognitionInput | ||
|
||
[[autodoc]] huggingface_hub.AutomaticSpeechRecognitionOutput | ||
|
||
[[autodoc]] huggingface_hub.AutomaticSpeechRecognitionOutputChunk | ||
|
||
[[autodoc]] huggingface_hub.AutomaticSpeechRecognitionParameters | ||
|
||
|
||
|
||
## chat_completion[[huggingface_hub.ChatCompletionInput]] | ||
|
||
[[autodoc]] huggingface_hub.ChatCompletionInput | ||
|
||
[[autodoc]] huggingface_hub.ChatCompletionInputMessage | ||
|
||
[[autodoc]] huggingface_hub.ChatCompletionOutput | ||
|
||
[[autodoc]] huggingface_hub.ChatCompletionOutputChoice | ||
|
||
[[autodoc]] huggingface_hub.ChatCompletionOutputChoiceMessage | ||
|
||
[[autodoc]] huggingface_hub.ChatCompletionStreamOutput | ||
|
||
[[autodoc]] huggingface_hub.ChatCompletionStreamOutputChoice | ||
|
||
[[autodoc]] huggingface_hub.ChatCompletionStreamOutputDelta | ||
|
||
|
||
|
||
## depth_estimation[[huggingface_hub.DepthEstimationInput]] | ||
|
||
[[autodoc]] huggingface_hub.DepthEstimationInput | ||
|
||
[[autodoc]] huggingface_hub.DepthEstimationOutput | ||
|
||
|
||
|
||
## document_question_answering[[huggingface_hub.DocumentQuestionAnsweringInput]] | ||
|
||
[[autodoc]] huggingface_hub.DocumentQuestionAnsweringInput | ||
|
||
[[autodoc]] huggingface_hub.DocumentQuestionAnsweringInputData | ||
|
||
[[autodoc]] huggingface_hub.DocumentQuestionAnsweringOutputElement | ||
|
||
[[autodoc]] huggingface_hub.DocumentQuestionAnsweringParameters | ||
|
||
|
||
|
||
## feature_extraction[[huggingface_hub.FeatureExtractionInput]] | ||
|
||
[[autodoc]] huggingface_hub.FeatureExtractionInput | ||
|
||
|
||
|
||
## fill_mask[[huggingface_hub.FillMaskInput]] | ||
|
||
[[autodoc]] huggingface_hub.FillMaskInput | ||
|
||
[[autodoc]] huggingface_hub.FillMaskOutputElement | ||
|
||
[[autodoc]] huggingface_hub.FillMaskParameters | ||
|
||
|
||
|
||
## image_classification[[huggingface_hub.ImageClassificationInput]] | ||
|
||
[[autodoc]] huggingface_hub.ImageClassificationInput | ||
|
||
[[autodoc]] huggingface_hub.ImageClassificationOutputElement | ||
|
||
[[autodoc]] huggingface_hub.ImageClassificationParameters | ||
|
||
|
||
|
||
## image_segmentation[[huggingface_hub.ImageSegmentationInput]] | ||
|
||
[[autodoc]] huggingface_hub.ImageSegmentationInput | ||
|
||
[[autodoc]] huggingface_hub.ImageSegmentationOutputElement | ||
|
||
[[autodoc]] huggingface_hub.ImageSegmentationParameters | ||
|
||
|
||
|
||
## image_to_image[[huggingface_hub.ImageToImageInput]] | ||
|
||
[[autodoc]] huggingface_hub.ImageToImageInput | ||
|
||
[[autodoc]] huggingface_hub.ImageToImageOutput | ||
|
||
[[autodoc]] huggingface_hub.ImageToImageParameters | ||
|
||
[[autodoc]] huggingface_hub.ImageToImageTargetSize | ||
|
||
|
||
|
||
## image_to_text[[huggingface_hub.ImageToTextGenerationParameters]] | ||
|
||
[[autodoc]] huggingface_hub.ImageToTextGenerationParameters | ||
|
||
[[autodoc]] huggingface_hub.ImageToTextInput | ||
|
||
[[autodoc]] huggingface_hub.ImageToTextOutput | ||
|
||
[[autodoc]] huggingface_hub.ImageToTextParameters | ||
|
||
|
||
|
||
## object_detection[[huggingface_hub.ObjectDetectionBoundingBox]] | ||
|
||
[[autodoc]] huggingface_hub.ObjectDetectionBoundingBox | ||
|
||
[[autodoc]] huggingface_hub.ObjectDetectionInput | ||
|
||
[[autodoc]] huggingface_hub.ObjectDetectionOutputElement | ||
|
||
[[autodoc]] huggingface_hub.ObjectDetectionParameters | ||
|
||
|
||
|
||
## question_answering[[huggingface_hub.QuestionAnsweringInput]] | ||
|
||
[[autodoc]] huggingface_hub.QuestionAnsweringInput | ||
|
||
[[autodoc]] huggingface_hub.QuestionAnsweringInputData | ||
|
||
[[autodoc]] huggingface_hub.QuestionAnsweringOutputElement | ||
|
||
[[autodoc]] huggingface_hub.QuestionAnsweringParameters | ||
|
||
|
||
|
||
## sentence_similarity[[huggingface_hub.SentenceSimilarityInput]] | ||
|
||
[[autodoc]] huggingface_hub.SentenceSimilarityInput | ||
|
||
[[autodoc]] huggingface_hub.SentenceSimilarityInputData | ||
|
||
|
||
|
||
## summarization[[huggingface_hub.SummarizationGenerationParameters]] | ||
|
||
[[autodoc]] huggingface_hub.SummarizationGenerationParameters | ||
|
||
[[autodoc]] huggingface_hub.SummarizationInput | ||
|
||
[[autodoc]] huggingface_hub.SummarizationOutput | ||
|
||
|
||
|
||
## table_question_answering[[huggingface_hub.TableQuestionAnsweringInput]] | ||
|
||
[[autodoc]] huggingface_hub.TableQuestionAnsweringInput | ||
|
||
[[autodoc]] huggingface_hub.TableQuestionAnsweringInputData | ||
|
||
[[autodoc]] huggingface_hub.TableQuestionAnsweringOutputElement | ||
|
||
|
||
|
||
## text2text_generation[[huggingface_hub.Text2TextGenerationInput]] | ||
|
||
[[autodoc]] huggingface_hub.Text2TextGenerationInput | ||
|
||
[[autodoc]] huggingface_hub.Text2TextGenerationOutput | ||
|
||
[[autodoc]] huggingface_hub.Text2TextGenerationParameters | ||
|
||
|
||
|
||
## text_classification[[huggingface_hub.TextClassificationInput]] | ||
|
||
[[autodoc]] huggingface_hub.TextClassificationInput | ||
|
||
[[autodoc]] huggingface_hub.TextClassificationOutputElement | ||
|
||
[[autodoc]] huggingface_hub.TextClassificationParameters | ||
|
||
|
||
|
||
## text_generation[[huggingface_hub.TextGenerationInput]] | ||
|
||
[[autodoc]] huggingface_hub.TextGenerationInput | ||
|
||
[[autodoc]] huggingface_hub.TextGenerationOutput | ||
|
||
[[autodoc]] huggingface_hub.TextGenerationOutputDetails | ||
|
||
[[autodoc]] huggingface_hub.TextGenerationOutputSequenceDetails | ||
|
||
[[autodoc]] huggingface_hub.TextGenerationOutputToken | ||
|
||
[[autodoc]] huggingface_hub.TextGenerationParameters | ||
|
||
[[autodoc]] huggingface_hub.TextGenerationPrefillToken | ||
|
||
[[autodoc]] huggingface_hub.TextGenerationStreamDetails | ||
|
||
[[autodoc]] huggingface_hub.TextGenerationStreamOutput | ||
|
||
|
||
|
||
## text_to_audio[[huggingface_hub.TextToAudioGenerationParameters]] | ||
|
||
[[autodoc]] huggingface_hub.TextToAudioGenerationParameters | ||
|
||
[[autodoc]] huggingface_hub.TextToAudioInput | ||
|
||
[[autodoc]] huggingface_hub.TextToAudioOutput | ||
|
||
[[autodoc]] huggingface_hub.TextToAudioParameters | ||
|
||
|
||
|
||
## text_to_image[[huggingface_hub.TextToImageInput]] | ||
|
||
[[autodoc]] huggingface_hub.TextToImageInput | ||
|
||
[[autodoc]] huggingface_hub.TextToImageOutput | ||
|
||
[[autodoc]] huggingface_hub.TextToImageParameters | ||
|
||
[[autodoc]] huggingface_hub.TextToImageTargetSize | ||
|
||
|
||
|
||
## token_classification[[huggingface_hub.TokenClassificationInput]] | ||
|
||
[[autodoc]] huggingface_hub.TokenClassificationInput | ||
|
||
[[autodoc]] huggingface_hub.TokenClassificationOutputElement | ||
|
||
[[autodoc]] huggingface_hub.TokenClassificationParameters | ||
|
||
|
||
|
||
## translation[[huggingface_hub.TranslationGenerationParameters]] | ||
|
||
[[autodoc]] huggingface_hub.TranslationGenerationParameters | ||
|
||
[[autodoc]] huggingface_hub.TranslationInput | ||
|
||
[[autodoc]] huggingface_hub.TranslationOutput | ||
|
||
|
||
|
||
## video_classification[[huggingface_hub.VideoClassificationInput]] | ||
|
||
[[autodoc]] huggingface_hub.VideoClassificationInput | ||
|
||
[[autodoc]] huggingface_hub.VideoClassificationOutputElement | ||
|
||
[[autodoc]] huggingface_hub.VideoClassificationParameters | ||
|
||
|
||
|
||
## visual_question_answering[[huggingface_hub.VisualQuestionAnsweringInput]] | ||
|
||
[[autodoc]] huggingface_hub.VisualQuestionAnsweringInput | ||
|
||
[[autodoc]] huggingface_hub.VisualQuestionAnsweringInputData | ||
|
||
[[autodoc]] huggingface_hub.VisualQuestionAnsweringOutputElement | ||
|
||
[[autodoc]] huggingface_hub.VisualQuestionAnsweringParameters | ||
|
||
|
||
|
||
## zero_shot_classification[[huggingface_hub.ZeroShotClassificationInput]] | ||
|
||
[[autodoc]] huggingface_hub.ZeroShotClassificationInput | ||
|
||
[[autodoc]] huggingface_hub.ZeroShotClassificationInputData | ||
|
||
[[autodoc]] huggingface_hub.ZeroShotClassificationOutputElement | ||
|
||
[[autodoc]] huggingface_hub.ZeroShotClassificationParameters | ||
|
||
|
||
|
||
## zero_shot_image_classification[[huggingface_hub.ZeroShotImageClassificationInput]] | ||
|
||
[[autodoc]] huggingface_hub.ZeroShotImageClassificationInput | ||
|
||
[[autodoc]] huggingface_hub.ZeroShotImageClassificationInputData | ||
|
||
[[autodoc]] huggingface_hub.ZeroShotImageClassificationOutputElement | ||
|
||
[[autodoc]] huggingface_hub.ZeroShotImageClassificationParameters | ||
|
||
|
||
|
||
## zero_shot_object_detection[[huggingface_hub.ZeroShotObjectDetectionBoundingBox]] | ||
|
||
[[autodoc]] huggingface_hub.ZeroShotObjectDetectionBoundingBox | ||
|
||
[[autodoc]] huggingface_hub.ZeroShotObjectDetectionInput | ||
|
||
[[autodoc]] huggingface_hub.ZeroShotObjectDetectionInputData | ||
|
||
[[autodoc]] huggingface_hub.ZeroShotObjectDetectionOutputElement | ||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Hi, @Wauplin !
Should we translate the task name (ex.
audio_classification
) in the heading or leave it as is?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.
Good question. I think you can either keep them in English since these are "constrained" tags. Or have both the Korean + English versions in the same title like
audio-classification (오디오 분류) [[huggingface_hub.AudioClassificationInput]]
(disclaimer: translated with google translate).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.
@fabxoe님은 둘 중에 어떤 방법으로 하는 게 좋다고 생각하시나요?
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.
@jungnerd 님,
결국에는 제 생각에는 그대로 두는것도 나쁘지 않아보입니다.
해당 부분의 원래 의도는 네이밍을 공유하는 비슷한 기능의 클래스들을 나열해 두고 네이밍의 공통 부분을 표현하기 위해서 대략 snake style로 작성된 것으로 보입니다.
class huggingface_hub.DocumentQuestionAnsweringInput
class huggingface_hub.DocumentQuestionAnsweringInputData
class huggingface_hub.DocumentQuestionAnsweringOutputElement
이 클래스들의 타입명은 'document_question_answering' 로 단순한데 이대로 가독성이 좋습니다.
이것을 한글로 번역할 때 의미를 전달하고자 하는 의도였다면 '문서 질문 답변' 처럼 그대로 단순 번역이 되어 이해에 추가적인 도움이 되지는 않을 것 같습니다.
시각적인 의도라면 영어와 한글을 병기시 우측의 toctree의 메뉴의 너비도 커지지 않을까 합니다.
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.
@Wauplin After your suggestion, we've been thinking about it and we think it's better to leave the task name untranslated. Thank you for the idea!
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.
Works for me as well. Thanks for iterating on it!