Huggingface.js documentation
인터페이스: CopyProgressEvent
@huggingface/inference
Inference Client 사용API 참조
클래스
HfInferenceInferenceClientInferenceClientEndpointInferenceClientErrorInferenceClientHubApiErrorInferenceClientInputErrorInferenceClientProviderApiErrorInferenceClientProviderOutputErrorInferenceClientRoutingError
인터페이스
AudioToAudioOutputAudioToAudioOutputElemBaseArgsBodyParamsHeaderParamsInferenceProviderMappingEntry로거옵션TextGenerationInputTextGenerationOutputTextGenerationStreamBestOfSequenceTextGenerationStreamDetailsTextGenerationStreamOutputTextGenerationStreamPrefillTokenTextGenerationStreamTokenUrlParams
모듈
@huggingface/hub
Hub와 상호작용하기API 참고
클래스
인터페이스
AuthInfoCachedFileInfoCachedRepoInfoCachedRevisionInfoCommitCopyFileCommitDataCommitDeletedEntryCommitEditFileCommitEditFileParamsCommitFileCommitInfoCommitOutputCopyDestinationCopyFilesEntryCopyProgressEventCopySource자격 증명DatasetEntryFileDownloadInfoOutputHFCacheInfoJobVolumeLfsPathInfoListFileEntryMlxQuantizationConfigModelConfigModelDerivedFieldsModelEntryOAuthResultParallelDownloadOptionsPathInfoQuantizationConfigRangeEditCacheEntryRepoIdSafetensorsIndexJsonSafetensorsShardFileInfoSecurityFileStatusSpaceEntrySpaceResourceConfigSpaceResourceRequirementSpaceRuntimeTensorInfoUserInfoWhoAmIAppWhoAmIOrgWhoAmIUserXetFileInfoXetReadToken
@huggingface/mcp-client
@huggingface/tiny-agents
@huggingface/space-header
@huggingface/gguf
@huggingface/lerobot
@huggingface/usd-web-viewer
인터페이스: CopyProgressEvent
copyFileIter / copyFilesIter / copyFolderIter에서 생성되는 진행 이벤트입니다.
현재 fileDownloaded만 발생됩니다: 서버 측에서 복사할 수 없는 소스 파일(서버 측에서 복사할 수 있는 작은 git 저장 파일)마다 하나의 이벤트가 발생합니다. Xet 기반 파일은 서버 측에서 복사되며 이벤트를 생성하지 않습니다.
속성
다운로드됨
• 다운로드됨: number
현재까지 다운로드된 파일 수(이 파일을 포함).
정의 위치
packages/hub/src/lib/copy-files.ts:27
이벤트
• event: "fileDownloaded"
정의 위치
packages/hub/src/lib/copy-files.ts:23
path
• path: string
방금 다운로드된 파일의 소스 경로입니다.
정의 위치
packages/hub/src/lib/copy-files.ts:25
합계
• 총계: number
다운로드될 파일의 총 개수입니다.
정의 위치
packages/hub/src/lib/copy-files.ts:29
Update on GitHub